96
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:
•
The spanning tree configurations are mutually exclusive with any of the following features on a
port: service loopback group, RRPP, and Smart Link.
•
Configurations made in system view take effect globally. Configurations made in Ethernet
interface view take effect only on the interface. 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.)
•
(Optional.)
•
(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.)
•
(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 features
(Optional.)
Enabling SNMP notifications for new-root election and topology change events