HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 68
display snmp-agent trap-list
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 68 highlights
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 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. display snmp-agent trap queue Queue name: SNTP Queue size: 100 Message number: 6 Table 19 Command output Field Queue name Queue size Message number Description Trap queue name Trap queue size Number of traps in the current trap queue display snmp-agent trap-list Syntax View display snmp-agent trap-list [ | { begin | exclude | include } regular-expression ] Any view Default 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. Description Use display snmp-agent trap-list to display modules that can generate traps and their trap status (enable or disable). 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. 62