R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
164
Description
Use display snmp-agent trap queue to display basic information about 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 41 Command output
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 [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display snmp-agent trap-list 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 is 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