Displaying and maintaining snmp – H3C Technologies H3C SecBlade LB Cards User Manual
Page 69
60
Step Command
Remarks
4.
Extend the standard
linkUp/linkDown
traps.
snmp-agent trap if-mib link
extended
Optional.
By default, standard linkUp/linkDown traps
are used.
Extended linkUp/linkDown traps add interface
description and interface type to standard
linkUp/linkDown traps. If the NMS does not
support extended SNMP messages, use
standard linkUp/linkDown traps.
5.
Configure the trap
queue size.
snmp-agent trap queue-size
size
Optional.
The default trap queue size is 100.
When the trap queue is full, the oldest traps
are automatically deleted for new traps.
6.
Configure the trap
holding time.
snmp-agent trap life seconds
Optional.
The default setting is 120 seconds.
A trap is deleted when its holding time expires.
Displaying and maintaining SNMP
Task
Command
Remarks
Display SNMP agent system
information, including the contact,
physical location, and SNMP
version.
display snmp-agent sys-info [ contact | location |
version ]* [ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Display SNMP agent statistics.
display snmp-agent statistics [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Display the local engine ID.
display snmp-agent local-engineid [ | { begin |
exclude | include } regular-expression ]
Available in any
view.
Display SNMP group information.
display snmp-agent group [ group-name ] [ |
{ begin | exclude | include } regular-expression ]
Available in any
view.
Display basic information about
the trap queue.
display snmp-agent trap queue [ | { begin |
exclude | include } regular-expression ]
Available in any
view.
Display the modules that can send
traps and their trap status (enable
or disable).
display snmp-agent trap-list [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Display SNMPv3 user information.
display snmp-agent usm-user [ engineid engineid |
username user-name | group group-name ] * [ |
{ begin | exclude | include } regular-expression ]
Available in any
view.
Display SNMPv1 or SNMPv2c
community information.
display snmp-agent community [ read | write ] [ |
{ begin | exclude | include } regular-expression ]
Available in any
view.
Display MIB view information.
display snmp-agent mib-view [ exclude | include |
viewname view-name ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.