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 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.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.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 supports 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-07-12

Document ID: EDOC1000138382

Views: 312867

Downloads: 38

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