R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

9
Usage guidelines
If no keyword is specified, the command displays all SNMP agent system information.
Examples
# Display SNMP agent system information.
<Sysname> display snmp-agent sys-info
The contact person for this managed node:
The physical location of this node:
SNMP version running in the system:
SNMPv3
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 5 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.