3Com Switch 7750 Series
Command Reference Guide – SNMP & RMON
Chapter 1 SNMP Configuration Commands
1-18
View
System view
Parameter
seconds
: Aging time, in seconds, ranging from 1 to 2,592,000.
Description
Use the
snmp-agent trap life
command to set aging time for Trap packets. The Trap
packets exceeding the aging time are discarded.
Use the
undo snmp-agent trap life
command to restore the default aging time for
Trap packets.
By default, the aging time of SNMP Trap packets is 120 seconds.
After the specified aging time has elapsed, the system drops the trap packet.
Related command:
snmp-agent trap enable
,
snmp-agent target-host
.
Example
# Set the aging time for Trap packets as 60 seconds.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] snmp-agent trap life 60
1.1.19 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 a queue, ranging from 1 to 1,000.
Description
Use the
snmp-agent trap queue-size
command to configure the information queue
length of Trap packet sent to destination host.
Use the
undo snmp-agent trap queue-size
command to restore the default value.
Related command:
snmp-agent trap enable
,
snmp-agent target-host
and
snmp-agent trap life
.