Got it

The 'change snmp community' command

Latest reply: Aug 30, 2019 02:01:34 443 1 1 0 1

The 'change snmp community' command

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 is subject to the following conditions:


1. the community consists of 4 to 32 characters and is case sensitive. Its length can be changed running the "change snmp safe_strategy" command;


2. the community must comply the password complexity requirements:


a) when the password complexity is 'Normal', the community must contain special characters and at least two types of the following characters: uppercase letters, lowercase letters, and digits;


b) when the password complexity is 'High', the community must contain special characters, uppercase letters, lowercase letters, and digits;


c) when the password complexity is 'Low', the community must contain any types of the following characters: special characters, uppercase letters, lowercase letters and digits.


3. the read-only community must be different from the read-write community.

icon-note.gif 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 the community.
  • The special characters include ` ~ ! @ # $ % ^ & * ( ) - _ = + \ | [ { } ] ; : ' " , < . > / ? 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.

Can this work also on SNMPv3?
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.