Snmp-Agent Trap Life; Snmp-Agent Trap Log - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

When you use this command, make sure the NMS supports the extended linkup and linkDown
notifications.
Examples
# Enable extended linkUp/linkDown notifications.
<Sysname> system-view
[Sysname] snmp-agent trap if-mib link extended

snmp-agent trap life

Use snmp-agent trap life to set the lifetime of notifications in the SNMP notification queue.
Use undo snmp-agent trap life to restore the default notification lifetime.
Syntax
snmp-agent trap life seconds
undo snmp-agent trap life
Default
The SNMP notification lifetime is 120 seconds.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
seconds: Sets a lifetime in the range of 1 to 2592000, in seconds.
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 notification 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 log

Use snmp-agent trap log to enable SNMP notification logging.
Use undo snmp-agent trap log to disable SNMP notification logging.
Syntax
snmp-agent trap log
undo snmp-agent trap log
204

Advertisement

Table of Contents
loading

Table of Contents