beautypg.com

Enabling the spanning tree feature – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 77

background image

68

To do...

Use the command...

Remarks

Enter interface view or port group
view

Enter Ethernet interface view or Layer 2
aggregate interface view
interface interface-type
interface-number

Enter port group view
port-group manual port-group-name

Required
Use either command.

Configure the mode the port uses
to recognize/send MSTP packets

stp compliance { auto | dot1s | legacy }

Required
auto by default.

NOTE:

MSTP provides MSTP packet format incompatibility guard. In MSTP mode, if a port is configured to
recognize/send MSTP packets in a mode other than auto, and receives a packet in a format different

from the specified type, the port will become a designated port and remain in the discarding state to

prevent the occurrence of a loop.

MSTP provides MSTP packet format frequent change guard. If a port receives MSTP packets of different
formats frequently, the MSTP packet format configuration contains errors. If the port is working in MSTP

mode, it will be shut down for protection. Ports disabled in this way can only be re-activated by the

network administrator.

Enabling the output of port state transition information

In a large-scale spanning tree network, you can enable devices to output the port state transition

information of all MSTIs or the specified MSTI so as to monitor the port states in real time.
Follow these steps to enable output of port state transition information:

To do...

Use the command...

Remarks

Enter system view

system-view

Enable output of port state
transition information

stp port-log instance { instance-id |
all }

Required
Enabled by default.

Enabling the spanning tree feature

You must enable the spanning tree feature for the device before any other spanning tree related
configurations can take effect.
Follow these steps to enable the spanning tree feature:

To do...

Use the command...

Remarks

Enter system view

system-view

Enable the spanning tree feature
globally

stp enable

Required