DES-7200 Configuration Guide Chapter 1 SNMP
Configuration
0: Reserved
1: The following 4 bytes indicate an IPv4 address.
2: The following 16 bytes indicate an IPv6 address.
3: The following 6 bytes indicate an MAC address
4: Texts of up to 27 bytes defined by manufacturers
5: A hexadecimal value of up to 27 bytes defined by manufacturers
6-127: Reserved
128-255: In the format specified by manufacturers.
1.2 SNMP Configuration
To configure SNMP, enter the global configuration mode.
1.2.1 Setting the Community
String and Access Authority
SNMPv1 and SNMPv2C adopt community string-based security scheme. The
SNMP Agent supports only the management operations from the management
workstations of the same community string. The SNMP messages without
matching the community string will be discarded. The community string serves
as the password between the NMS and the SNMP Agent.
z Configure an ACL rule to allow the NMS of the specified IP address to
manage devices.
z Set the community’s operation right: ReadOnly or ReadWrite.
z Specify a view for view-based management. By default, no view is
configured. That is, the management workstation is allowed to access to all
MIB objects
z Indicate the IP address of the NMS who can use this community string. If it
is not indicated, any NMS can use this community string. By default, any
NMS can use this community string.
To configure the SNMP community string, run the following command in the
global configuration mode:
Command Function
DES-7200(config)# snmp-server
community string [view view-name] [ro |
rw] [host host-ip] [ipv6
ipv6-aclname][aclnum | aclname]
Set the community string and
its right.
One or more coummnity strings can be specified for the NMS of different rights.
To remove the community name and its right, run the no snmp-server
community command in the global configuration mode.
1-6