[device] stp portlog all

Enabling Trap Messages Conforming to 802.1d Standard

The device sends trap messages conforming to 802.1d standard to the network management device in the following two cases:

z

z

The device becomes the root bridge of an instance. Network topology changes are detected.

Configuration procedure

Follow these steps to enable trap messages conforming to 802.1d standard:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Enable trap messages

stp [ instance instance-id] dot1d-trap

 

conforming to 802.1d standard

Required

[ newroot topologychange ] enable

in an instance

 

 

 

 

 

 

Configuration example

#Enable the device to send trap messages conforming to 802.1d standard to the network management device when the device becomes the root bridge of instance 1.

<device> system-view

[device] stp instance 1 dot1d-trap newroot enable

Displaying and Maintaining MSTP

To do…

Use the command…

Remarks

Display the state and statistics

display stp [ instance

 

instance-id ] [ interface

Available in any view

information about spanning trees of the

interface-list slot slot-number ]

current device

 

[ brief ]

 

 

 

 

 

 

Display region configuration

display stp

Available in any view

region-configuration

 

 

 

 

 

Display information about the ports

display stp portdown

Available in any view

that are shut down by STP protection

 

 

 

 

 

Display information about the ports

display stp abnormalport

Available in any view

that are blocked by STP protection

 

 

 

 

 

Display information about the root port

display stp root

Available in any view

of the instance where the device reside

 

 

 

Clear statistics about MSTP

reset stp [ interface

Available in any view

interface-list ]

 

 

 

 

 

1-46

Page 216
Image 216
3Com WX3000 operation manual Enabling Trap Messages Conforming to 802.1d Standard, Displaying and Maintaining Mstp