No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change snmp version

change snmp version

Function

The change snmp version command is used to set the switch status of SNMPv1, SNMPv2c, and SNMP Unique EngineID.

Format

change snmp version v1v2c_switch=?

change snmp version unique_engineid_switch=?

Parameters

Parameter

Description

Value

v1v2c_switch=?

Sets the protocol switch status.

The value can be "On" or "Off", where:

  • On: The switch is turned on.
  • Off: The switch is turned off.

Level

Administrator

Usage Guidelines

  • By default, SNMPv1, SNMPv2c, and SNMP Unique EngineID are in the "Off" status.
  • The default switch status of the SNMPv3 protocol is "On".
  • You are advised to use the SNMPv3 protocol to ensure data security.
  • To ensure compatibility, the system reserves the support for SNMPv1 and SNMPv2c.

Example

  • Set the switch status of protocols SNMPv1 and SNMPv2c to "Off".
    admin:/>change snmp version v1v2c_switch=Off 
    Command executed successfully.
  • Set the switch status of protocols SNMPv1 and SNMPv2c to "On".
    admin:/>change snmp version v1v2c_switch=On 
    CAUTION:You are about to enable SNMPv1 and SNMPv2c.But you are advised to use the secure SNMPv3 protocol only.  
    Do you wish to continue?(y/n)y 
    Command executed successfully.
  • Set the switch status of SNMP Unique EngineID to "Off".
    developer:/>change snmp version unique_engineid_switch=off 
    CAUTION:You are about to set the switch status of SNMP Unique EngineID to "Off". Check whether the NMS software allows all controllers to using different EngineIDs. After this operation, the SNMP service restarts. 
    Command executed successfully. 
  • Set the switch status of SNMP Unique EngineID to "On".
    developer:/>change snmp version unique_engineid_switch=on 
    CAUTION:You are about to set the switch status of SNMP Unique EngineID to "On". Check whether the NMS software allows all controllers to use the same EngineID.After this operation, the SNMP service restarts. 
    Do you wish to continue?(y/n)y 
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 321292

Downloads: 38

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next