123
display snmp-agent trap queue
Use
display
snmp-agent
trap
queue
to display basic information about the trap queue, including
the queue size, and number of traps in the queue.
Syntax
display
snmp-agent
trap
queue
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the trap queue configuration and usage status.
<Sysname> display snmp-agent trap queue
Queue size: 100
Message number: 6
Related commands
•
snmp-agent
trap
life
•
snmp-agent
trap
queue-size
display snmp-agent trap-list
Use
display
snmp-agent
trap-list
to display modules that can generate SNMP notifications and
their notification function status (
enable
or
disable
).
Syntax
display
snmp-agent
trap-list
Views
Any view
Usage guidelines
You can use the
snmp-agent trap enable
command to enable or disable the notification function of
a module. For a module that has sub-modules, the notification function status is
enable
if the trap
function of any of its sub-modules is enabled.
Examples
# Display the modules that can generate notification and their notification function status.
<Sysname> display snmp-agent trap-list
arp notification is disabled.
bgp notification is enabled.
configuration notification is enabled.
l3vpn notification is enabled.
mac-address notification is enabled.
mpls notification is enabled.
ospf notification is enabled.
radius notification is disabled.
spbm notification is enabled.