Use the display logbuffer command to view the log of the get and set operations requested by the
NMS.
Displaying SNMP
After the above configuration, you can execute the display command in any view to view the running
status of SNMP, and to verify the configuration.
Table 1-6 Display SNMP
Operation
Display the SNMP information about
the current device
Display SNMP packet statistics
Display the engine ID of the current
device
Display group information about the
device
Display SNMP user information
Display Trap list information
Display the currently configured
community name
Display the currently configured MIB
view
SNMP Configuration Examples
SNMP Configuration Examples
Network requirements
An NMS and Switch A (SNMP agent) are connected through the Ethernet. The IP address of the
NMS is 10.10.10.1 and that of the VLAN interface on Switch A is 10.10.10.2.
Perform the following configuration on Switch A: setting the community name and access
permission, administrator ID, contact and switch location, and enabling the switch to sent trap
messages.
Thus, the NMS is able to access Switch A and receive the trap messages sent by Switch A.
Command
display snmp-agent sys-info
[ contact | location | version ]*
display snmp-agent statistics
display snmp-agent
{ local-engineid | remote-engineid }
display snmp-agent group
[ group-name ]
display snmp-agent usm-user
[ engineid engineid | username
user-name | group group-name ]
display snmp-agent trap-list
display snmp-agent community
[ read | write ]
display snmp-agent mib-view
[ exclude | include | viewname
view-name ]
1-6
Description
Available in any
view.
Need help?
Do you have a question about the 4210 9-Port and is the answer not in the manual?
Questions and answers