Configuring the spanning tree, Setting the spanning tree mode – H3C Technologies H3C S10500 Series Switches User Manual
Page 88
77
Task Remarks
Optional
Configuring No Agreement Check
Optional
Configuring protection functions
Optional
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, be sure that
this VLAN is mapped to the CIST when you configure the VLAN-to-instance mapping table. For more
information about GVRP, see the chapter “GVRP configuration.”
•
The spanning tree configurations are mutually exclusive with any of the following functions on a port:
service loopback, RRPP, Smart Link, and BPDU tunneling.
•
The spanning tree configurations made in system view take effect globally. Configurations made in Layer
2 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 their spanning tree configurations for participating in 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 STP BPDUs through all ports.
•
RSTP mode: The device sends RSTP BPDUs through all ports, and ports that connect to STP devices
automatically transitions to the STP-compatible mode.
•
MSTP mode: The device sends MSTP BPDUs through all ports, and ports that connect to STP devices
automatically transitions to the STP-compatible mode.
•
PVST mode: The device sends PVST BPDUs through all ports and maintains a spanning tree for each
VLAN. The S10500 Switch Series supports up to 128 VLANs in PVST mode. The maximum number
of VLANs (assume that the number is n) for which PVST can maintain instances varies by device
model. When configuring PVST on devices of different models in a network, to avoid network
failures, be sure that the number of VLANs for which PVST maintains instances does not exceed the
lowest n.
Follow these steps to set the spanning tree mode:
To do...
Use the command...
Remarks
Enter system view
system-view
—