Command Reference Guide
3Com Router 5000 Family and Router 6000 Family snmp-agent trap life ● 355
Command Reference
snmp-agent trap life
Purpose Use the snmp-agent trap life command to set the lifetime of traps. The
expired traps are discarded without being retained or sent.
Use the undo snmp-agent trap life command to cancel the current setting.
Syntax snmp-agent trap life seconds
undo snmp-agent trap life
Parameters seconds
Lifetime (in seconds). Valid values are 1 to 2592000.
If no value is specified, the default is 120 seconds.
Example Set the lifetime of traps to 60 seconds.
[3Com] snmp-agent trap life 60
View This command can be used in the following views:
■ System view
Related Commands ■ snmp-agent trap enable
■ snmp-agent target-host