77
•
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 "
•
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.
STP configuration task list
Tasks at a glance
Configuring the root bridge:
•
(Required.)
Setting the spanning tree mode
•
(Optional.)
Configuring the root bridge or a secondary root bridge
•
(Optional.)
Configuring the device priority
•
(Optional.)
Configuring the network diameter of a switched network
•
(Optional.)
Configuring spanning tree timers
•
(Optional.)
Configuring the timeout factor
•
(Optional.)
Configuring the BPDU transmission rate
•
(Optional.)
Enabling outputting port state transition information
•
(Required.)
Enabling the spanning tree feature
Configuring the leaf nodes:
•
(Required.)
Setting the spanning tree mode
•
(Optional.)
Configuring the device priority
•
(Optional.)
Configuring the timeout factor
•
(Optional.)
Configuring the BPDU transmission rate
•
(Optional.)
Configuring path costs of ports
•
(Optional.)
•
(Optional.)
Enabling outputting port state transition information
•
(Required.)
Enabling the spanning tree feature
(Optional.)
(Optional.)
Configuring protection functions