2: The following 16 bytes are for IPv6 address
3: The following 6 bytes are for MAC address
4: Texts, assigned by product providers, 27 octets at most
5: Hexadecimal number, assigned by product providers, 27 bytes at most
6-127: Reserved
128-255: Special Form assigned by product providers
25.2 SNMP Configuration
The configuration of the SNMP is completed in the global mode of network devices. It is
required to enter the global configuration mode first to make SNMP configuration.
25.2.1 Setting the Community String and
Access Authority
The community-based security scheme is adopted by SNMPv1/SNMPv2C. The SNMP only
receives the management operations from the same community-string. The SNMP packets
not matching the community string to the network equipment will be discarded instead of
responded. The community-string serves as the password between the NMS and Agent.
Configure the access list association to manage only the NMS of the specified IP
addresses.
Set the community operation authorities as ReadOnly or ReadWrite.
Specify the name of view used for view-based management. By default, no view is
configured, allow access to all MIB objects
Indicate the IP address of managers who can use this community string. If it is not
indicated, the IP address of managers using this community string will not be confined.
By default, the IP address of managers using this community string is not confined.
To configure the SNMP community string, run the following command in the global
configuration mode:
One or more commands can be used to specify multiple different community strings, so that
the network equipment can be managed by the NMS with different authority. To remove the
community name and its access authority, run the command no snmp-server community
in the global mode.