105
display snmp-agent trap queue
Use
display snmp-agent trap queue
to display basic information about the trap queue, including the trap
queue name, queue length, and number of traps in the queue.
Syntax
display snmp-agent trap queue
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration 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.
Examples
# Display the trap queue configuration and usage status.
<Sysname> display snmp-agent trap queue
Queue name: SNTP
Queue size: 100
Message number: 6
Table 26
Command output
Field Description
Queue name
Trap queue name.
Queue size
Trap queue size.
Message number
Number of traps in the current trap queue.
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 traps and their trap status (
enable
or
disable
).
Syntax
display snmp-agent trap-list
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Содержание SR6600 SPE-FWM
Страница 8: ...vi Index 254 ...