914
C
53: SNMP C
C
HAPTER
ONFIGURATION
OMMANDS
snmp-agent trap
Syntax
queue-size
snmp-agent trap queue-size length
undo snmp-agent trap queue-size
View
System view
Parameter
length: Length of queue, ranging from 1 to 1,000. By default, the length is 100.
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,
snmp-agent trap life.
Example
# Configure the queue length to 200.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] snmp-agent trap queue-size 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: Specifies the VLAN interface ID, ranging from 1 to 4094.
Description
Use the snmp-agent trap source command to configure the source address for
sending Trap.
Use the undo snmp-agent trap source command to cancel the source address
for sending Trap.
You can use this command to configure to track specific event by using the trap
address.
Example
# Configure the IP address of the VLAN interface 1 as the source address for
transmitting the Trap packets.
Need help?
Do you have a question about the 8807 and is the answer not in the manual?