Snmp-Agent Trap Queue-Size - HP 6125XLG Command Reference Manual

Blade switch network management and monitoring
Table of Contents

Advertisement

Predefined user roles
network-admin
Parameters
seconds: Sets a lifetime in seconds, in the range of 1 to 2592000.
Usage guidelines
When congestion occurs, the SNMP agent buffers notifications in a queue. The notification lifetime sets
how long a notification can stay in the queue. A trap is deleted when its lifetime expires.
Examples
# Set the SNMP notification lifetime to 60 seconds.
<Sysname> system-view
[Sysname] snmp-agent trap life 60
Related commands
snmp-agent target-host
snmp-agent trap enable

snmp-agent trap queue-size

snmp-agent trap queue-size
Use snmp-agent trap queue-size to set the SNMP notification queue size.
Use undo snmp-agent trap queue-size to restore the default queue size.
Syntax
snmp-agent trap queue-size size
undo snmp-agent trap queue-size
Default
The SNMP notification queue can store up to 100 notifications.
Views
System view
Predefined user roles
network-admin
Parameters
size: Sets the maximum number of notifications that the SNMP notification queue can hold. The value
range is 1 to 1000.
Usage guidelines
When congestion occurs, the SNMP agent buffers notifications in a queue. SNMP notification queue size
sets the maximum number of notifications that this queue can hold. When the queue size is reached, the
oldest notifications are dropped for new notifications.
Examples
# Set the SNMP notification queue size to 200.
<Sysname> system-view
[Sysname] snmp-agent trap queue-size 200
109

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents