R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

67
NOTE:
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
Ethernet 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 but not on the aggregation member ports.
The spanning tree protocol enable state and forwarding state of each selected member port is consisten
t
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:
W
hether you need to specify the MSTI or VLAN for the spanning tree configuration varies with the spanning tree
modes.
In STP-compatible or RSTP mode, do not specify any MSTI or VLAN. Otherwise, the spanning tree
configuration is ineffective.
In MSTP mode, if you specify an MSTI, the spannin
g
tree confi
g
uration is effective for the specified MSTI.
If you specify a VLAN list, the spannin
g
tree confi
g
uration is ineffective. If you do not specify any MSTI
or VLAN, the spanning tree configuration is effective for the CIST.
Configuring an MST region
Follow these steps to configure an MST region:
To do... Use the command...
Remarks
Enter system view system-view