SNMP Configuration Commands
131
Description
Using the snmp-agent trap life command, you can set the conservation time of the
Trap packet and the Trap packets exceeding the time will be dropped. Using the
undo snmp-agent trap life command, you can remove the current setting.
If the conservation time for the Trap packets the system has configured is seconds,
the Trap packets over the conservation time will be discarded without being sent
or conserved.
For the related command, see snmp-agent trap enable, snmp-agent target-host.
Example
Set the timeout of the Trap packet to 60 seconds.
[3Com] snmp-agent trap-life 60
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, ranging 1 to 1000.
Description
Using the snmp-agent trap queue-size command, you can set the length of the
message queue of the Trap packet sent to the destination host. Using the undo
snmp-agent trap queue-size command, you can cancel the setting.
By default, the length is 100.
For the related command, see snmp-agent trap enable, snmp-agent target-host,
snmp-agent trap life.
Example
Set the length of the message queue of the host forwarding the Trap packet to
200.
[3Com] snmp-agent trap queue-size 200
snmp-agent trap source
Syntax
snmp-agent trap source interface-type interface-number [ subinterface-type ]
undo snmp-agent trap source
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...