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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"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."
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 community

change snmp community

Function

The change snmp community command is used to change the SNMP read-only community string and the read-write community string. SNMPv1 and SNMPv2c use community strings for authentication purposes. Run this command if you need to change community strings for improved system security.

Format

change snmp community read_community=? write_community=?

Parameters

Parameter

Description

Value

read_community=? Read-only community string that is used for reading device information. The community consists of 4 to 32 characters. To obtain the security policy of the password, run "show snmp safe_strategy" command.

-

write_community=? Read-write community string that is used for reading or writing device information. The community consists of 4 to 32 characters. To obtain the security policy of the password,run "show snmp safe_strategy" command.

-

Level

Administrator

Usage Guidelines

To ensure system security, change the community strings when you log in to the system for the first time.

  • The default read-only community string is "storage_public", read-write community string is "storage_private".
  • The community are subject to the following conditions:
    • The community consists of 4 to 32 characters and is case sensitive. Its length can be changed running the "change snmp safe_strategy" command.
    • The community must comply the password complexity requirements:
      • When password complex is "Normal", the community must contain special characters and at least two types of the following characters: uppercase letters, lowercase letters, and digits.
      • when password complex is "High", the community must contain special characters, uppercase letters, lowercase letters, and digits.
      • when password complex is "Low", the community must contain any types of the following characters: special characters, uppercase letters, lowercase letters and digits.
    • The read-only community must be different from the read-write community.
NOTE:
  • To ensure compatibility, the system still supprts SNMPv1 and SNMPv2c. To ensure data security, it is strongly recommended to use SNMPv3.
  • You can use the "change snmp safe_strategy" command to change the policies of community.
  • The special characters including ` ~ ! @ # $ % ^ & * ( ) - _ = + \ | [ { } ] ; : ' " , < . > / ? and space.

Example

To change the SNMP read-only community string to "Storage@Public1" and the read-write community string to "Storage@Private1", run the following command.

admin:/>change snmp community read_community=*************** write_community=****************
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 237657

Downloads: 168

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