Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 7 SNMP Configuration Commands
3Com Corporation
7-19
Parameter
seconds: Lifetime in seconds. It is in the range 1 to 2592000 and defaults to 120.
Description
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.
Related command: snmp-agent trap enable, snmp-agent target-host.
Example
# Set the lifetime of traps to 60 seconds.
[3com] snmp-agent trap life 60
7.1.20 snmp-agent trap queue-size
Syntax
snmp-agent trap queue-size size
undo snmp-agent trap queue-size
View
System view
Parameter
size: Length of the message queue, in the range 1 to 1000.
Description
Use the snmp-agent trap queue-size command to set the length of the trap queue to
the specified host.
Use the undo snmp-agent trap queue-size command to cancel the setting.
The default queue length is 100.
Related command: snmp-agent trap enable, snmp-agent target-host, snmp-agent
trap life.
Example
# Set the length of the outgoing trap queue to 200.
[3com] snmp-agent trap queue-size 200










