Displaying and maintaining SNMP
To do...
Display SNMP agent system
information, including the contact,
physical location, and SNMP
version
Display SNMP agent statistics
Display the local engine ID
Display SNMP group information
Display basic information about
the trap queue
Display the modules that can send
traps and their trap status (enable
or disable)
Display SNMPv3 user information
Display SNMPv1 or SNMPv2c
community information
Display MIB view information
SNMP configuration examples
SNMPv1/SNMPv2c configuration example
Network requirements
As shown in
(1.1.1.1/24), and the agent automatically sends traps to report events to the NMS.
Figure
25, the NMS (1.1.1.2/24) uses SNMPv1 or SNMPv2c to manage the SNMP agent
Use the command...
display snmp-agent sys-info [ contact |
location | version ]* [ | { begin |
exclude | include } regular-expression ]
display snmp-agent statistics [ | { begin
| exclude | include }
regular-expression ]
display snmp-agent local-engineid [ |
{ begin | exclude | include }
regular-expression ]
display snmp-agent group
[ group-name ] [ | { begin | exclude |
include } regular-expression ]
display snmp-agent trap queue [ |
{ begin | exclude | include }
regular-expression ]
display snmp-agent trap-list [ | { begin
| exclude | include }
regular-expression ]
display snmp-agent usm-user
[ engineid engineid | username
user-name | group group-name ] * [ |
{ begin | exclude | include }
regular-expression ]
display snmp-agent community [ read
| write ] [ | { begin | exclude |
include } regular-expression ]
display snmp-agent mib-view [ exclude
| include | viewname view-name ] [ |
{ begin | exclude | include }
regular-expression ]
67
Remarks
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view