Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 5 SNMP Configuration Commands
Huawei Technologies Proprietary
5-19
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.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent trap queue-size 200
5.1.19 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.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent trap source vlan-interface 1