To do…

 

Use the command…

 

Remarks

 

 

Enter system view

 

system-view

 

 

 

 

 

 

 

 

 

 

 

 

Enable the device to send

 

snmp-agent trap enable [ configuration

 

 

 

 

 

flash standard [ authentication coldstart

 

 

 

 

Trap messages to NMS

 

 

 

 

 

linkdown linkup warmstart ]* system ]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Enter port view

 

interface interface-type interface-number

 

Optional

 

 

 

 

or interface view

 

 

 

 

 

 

 

 

 

By default, a port

 

 

Enable

 

 

 

 

 

 

 

 

Enable the port

 

 

 

 

 

 

 

 

 

is enabled to send

 

 

the port to

 

or interface to

 

enable snmp trap updown

 

all types of Traps.

 

 

send Trap

 

send Trap

 

 

 

 

 

 

 

 

 

 

 

messages

 

messages

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Quit to system

 

quit

 

 

 

 

 

 

view

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

snmp-agent target-host trap address

 

 

 

 

Set the destination for Trap

 

udp-domain { ip-address} [ udp-port

 

 

 

 

 

port-number] params securityname

 

Required

 

 

messages

 

 

 

 

 

 

 

 

 

security-string[ v1 v2c v3 {authentication

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

privacy } ]

 

 

 

 

 

 

 

 

 

 

 

Set the source address for

 

snmp-agent trap source interface-type

 

Optional

 

 

Trap messages

 

interface-number

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Set the size of the queue used

 

 

 

Optional

 

 

to hold the Traps to be sent to

snmp-agent trap queue-size size

 

 

 

 

The default is 100.

 

 

the destination host

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Set the aging time for Trap

 

 

 

Optional

 

 

 

snmp-agent trap life seconds

 

120 seconds by

 

 

messages

 

 

 

 

 

 

 

 

 

 

 

default.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Configuring Extended Trap

The extended Trap includes the following.

z

z

“Interface description” and “interface type” are added into the linkUp/linkDown Trap message. When receiving this extended Trap message, NMS can immediately determine which interface on the device fails according to the interface description and type.

In all Trap messages sent from the information center to the log server, a MIB object name is added after the OID field of the MIB object. The name is for your better understanding of the MIB object.

Follow these steps to configure extended Trap:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

 

 

Optional

 

snmp-agent trap ifmib link

By default, the linkUp/linkDown

Configure extended Trap

Trap message adopts the

extended

standard format defined in

 

 

 

IF-MIB. For details, refer to

 

 

RFC 1213.

 

 

 

1-6

Page 431
Image 431
3Com WX3000 operation manual Configuring Extended Trap