Switch 7700 Command reference Guide, v2.0

Table Of Contents
480 CHAPTER 11: USING SYSTEM MANAGEMENT COMMANDS
For the related commands, see snmp-agent trap enable,
snmp-agent target-host.
Example
Configure the timeout interval of Trap packet as 60 seconds.
[SW7700]snmp-agent trap life 60
snmp-agent trap
queue-size
Syntax
snmp-agent trap queue-size length
undo snmp-agent trap queue-size
View
System view
Parameter
length: Length of queue, ranging from 1 to 1000; the default length is 100.
Description
Using the snmp-agent trap queue-size command, you can configure the
information queue length of Trap packet sent to destination host. Using the
undo snmp-agent trap queue-size command, you can restore the default
value.
For the related commands, see snmp-agent trap enable,
snmp-agent target-host, snmp-agent trap life.
Example
Configure the queue length to 200.
[SW7700]queue-length 200
snmp-agent trap source Syntax
snmp-agent trap source vlan-interface vlan-id
undo snmp-agent trap source
View
System view
Parameter
vlan-id: Specify the VLAN interface ID, ranging from 1 to 4000.
Description
Using the snmp-agent trap source command, you can specify the source
address for sending Trap. Using the
undo snmp-agent trap source command,
you can cancel the source address for sending Trap.