Spanning tree configuration task lists
Before configuring a spanning tree, complete the following tasks:
Determine the spanning tree protocol to be used (STP, RSTP, PVST, or MSTP).
Plan the device roles (the root bridge or leaf node).
When you configure spanning tree protocols, follow these restrictions and guidelines:
If both MVRP and a spanning tree protocol are enabled on a device, MVRP packets are forwarded along MSTIs. To advertise a specific VLAN within the network through MVRP, make sure this VLAN is mapped to an MSTI when you configure the VLAN-to-instance mapping table. For more information about MVRP, see "Configuring MVRP."
To connect a spanning tree network to a TRILL network, make sure the following requirements are met:
The spanning tree protocol is disabled on TRILL ports.
An edge port is used to connect the spanning tree network to the TRILL network. The edge port can quickly transit to the forwarding state. This prevents network topology changes from influencing the TRILL network.
For more information about TRILL, see TRILL Configuration Guide.
The spanning tree configurations are mutually exclusive with service loopback and Smart Link.
Configurations made in system view take effect globally. Configurations made in Ethernet interface view or WLAN mesh interface view take effect on the interface only. 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. It does not perform spanning tree calculation 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.
The member ports of an aggregation group do not participate in spanning tree calculation. However, the ports still reserve their spanning tree configurations for participating in spanning tree calculation after leaving the aggregation group.