Command Reference SNMP Commands
Global configuration mode.
The SNMP chassis ID is generally the serial number of the device to facilitate identification. The
SNMP chassis ID can be displayed through the show snmp command.
The following example specifies the SNMP chassis ID as 123456:
Ruijie(config)# snmp-server chassis-id 123456
Displays the SNMP configuration.
1.5 snmp-server community
Use this command to specify the SNMP community access string. Use the no form of this command
to remove the SNMP community access string.
snmp-server community [ 0 | 7 ] string [ view view-name ] [ [ ro | rw ] [ host ipaddr ] [ ipv6
ipv6-aclname ] [ aclnum ] [ aclname ]
no snmp-server community [ 0 | 7 ] string
Indicates that the community string is in plaintext.
Indicates that the community string is in ciphertext.
Community string, which is the communication password between
the NMS and the SNMP agent
Indicates that the NMS can only read the variables of the MIB.
Indicates that the NMS can read and write the variables of the MIB.
Access list number (1 to 199, and 1300 to 2699), which specifies the
IPV4 addresses that are permitted to access the MIB.
Access list name, which specifies the IPV4 addresses that are
permitted to access the MIB.
IPv6 access list name, which specifies the IPv6 addresses that are
permitted to access the MIB.
Specifies the IP address of the NMS to access the MIB.
All communities are read only by default.