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

10
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 ]
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.
Usage guidelines
You can use the snmp-agent trap enable command to enable or disable the trap function of a module.
For a module that has multiple sub-modules, the trap status is enable if the trap function of any of its
sub-modules is enabled.
Examples
# Display the modules that can generate traps and their trap status.
<Sysname> display snmp-agent trap-list
acfp trap enable
bfd trap enable
bgp trap enable
configuration trap enable
flash trap enable
fr trap enable
isdn trap enable
mpls trap enable
ospf trap enable
standard trap enable
system trap enable
vrrp trap enable
wlan trap enable
voice trap disable
Enable traps: 14; Disable traps: 1