3Com 4500 PWR 26-PORT, 4500 50-PORT Configure the queue length to, Snmp-agent trap source Syntax

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 397
Image 397

SNMP Configuration Commands 391

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

Use the snmp-agent trap queue-sizecommand to configure the information queue length of Trap packet sent to destination host. Use the undo snmp-agent trap queue-sizecommand to 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.

<SW4500>system-view

System View: return to User View with Ctrl+Z.

[SW4500]snmp-agent trap queue-size 200

[SW4500]

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 4094.

Description

Use the snmp-agent trap source command to specify the source address for sending Traps. Use the undo snmp-agent trap source command to cancel the source address for sending Traps.

Example

Configure the IP address of the VLAN interface 1 as the source address for transmitting the Trap packets.

<SW4500>system-view

System View: return to User View with Ctrl+Z.

[SW4500]snmp-agent trap source vlan-interface 1

[SW4500]

Page 397
Image 397
3Com 4500 PWR 26-PORT manual Configure the queue length to, Snmp-agent trap source Syntax, SW4500snmp-agent trap queue-size