R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

140
Parameters
None
Description
Use the display snmp-agent trap queue command to display basic information of the trap queue,
including trap queue name, queue length and the number of traps in the queue currently.
Related commands: snmp-agent trap life and snmp-agent trap queue-size.
Examples
# Display the current configuration and usage of the trap queue.
<Sysname> display snmp-agent trap queue
Queue name: SNTP
Queue size: 100
Message number: 6
Table 39 Output description
Field Descri
p
tion
Queue name Trap queue name
Queue size Trap queue size
Message number Number of traps in the current trap queue
display snmp-agent trap-list
Syntax
display snmp-agent trap-list
View
Any view
Default level
1: Monitor level
Parameters
None
Description
Use the display snmp-agent trap-list command to display the modules that can generate traps and
whether their trap function is enabled or not. If a module comprises multiple sub-modules, then as long
as one sub-module has the trap function enabled, the whole module will be displayed as being enabled
with the trap function.
Related commands: snmp-agent trap enable.
Examples
# Display the modules that can generate traps and whether their trap function is enabled or not.
<Sysname> display snmp-agent trap-list
bgp trap enable
configuration trap enable
flash trap enable