beautypg.com

Configuring the spanning tree, Setting the spanning tree mode – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 66

background image

57

NOTE:

If GVRP and a spanning tree protocol are enabled on a device at the same time, GVRP packets are
forwarded along the CIST. To advertise a certain VLAN within the network through GVRP, make sure
that this VLAN is mapped to the CIST when you configure the VLAN-to-instance mapping table.

The spanning tree configurations are mutually exclusive with Smart Link.

The spanning tree configurations made in system view take effect globally. Configurations made in
Ethernet interface view take effect on the current interface only. Configurations made in port group view

take effect on all member ports in the port group. Configurations made in Layer 2 aggregate interface
view take effect only on the aggregate interface. Configurations made on an aggregation member port

can take effect only after the port is removed from the aggregation group.

After you enable a spanning tree protocol on a Layer 2 aggregate interface, the system performs
spanning tree calculation on the Layer 2 aggregate interface but not on the aggregation member ports.
The spanning tree protocol enable state and forwarding state of each selected member port is consistent

with those of the corresponding Layer 2 aggregate interface.

Though the member ports of an aggregation group do not participate in spanning tree calculation, the
ports still reserve its spanning tree configurations for participating spanning tree calculation after
leaving the aggregation group.

Configuring the spanning tree

Setting the spanning tree mode

The spanning tree modes include:

STP-compatible mode: The device sends out STP BPDUs through all ports.

RSTP mode: The device sends out RSTP BPDUs through all ports, and ports that connect to STP
devices automatically transitions to the STP-compatible mode.

MSTP mode: The device sends out MSTP BPDUs through all ports, and ports that connect to STP

devices automatically transitions to the STP-compatible mode.

Follow these steps to set the spanning tree mode:

To do...

Use the command...

Remarks

Enter system view

system-view

Set the spanning tree mode

stp mode { stp | rstp | mstp }

Required
MSTP mode by default.

NOTE:

Whether you need to specify the MSTI for the spanning tree configuration varies with the spanning tree
modes.

In STP-compatible or RSTP mode, do not specify any MSTI. Otherwise, the spanning tree configuration
is ineffective.

In MSTP mode, if you specify an MSTI, the spanning tree configuration is effective for the specified MSTI.
If you specify a VLAN list, the spanning tree configuration is ineffective. If you do not specify any MSTI,
the spanning tree configuration is effective for the CIST.