3com 8807 참조 가이드

다운로드
페이지 1099
914
C
HAPTER
 53: SNMP C
ONFIGURATION
 C
OMMANDS
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 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.