R3303-HP HSR6800 Routers Layer 2 - LAN Switching Configuration Guide

51
Task Remarks
Configuring protection functions Optional.
Setting the spanning tree mode
The spanning tree modes include the following:
STP mode—All ports of the device send STP BPDUs. Select this mode when the peer device of a port
supports only STP.
RSTP modeAll ports of the device send RSTP BPDUs. When an RSTP port receives STP BPDUs from
a peer device, it automatically transits to STP mode. When an RSTP port receives MSTP BPDUs from
a peer device, it stays in RSTP mode.
MSTP mode—All ports of the device send MSTP BPDUs. When an MSTP port receives STP BPDUs
from a peer device, it automatically transits to STP mode. When an MSTP port receives RSTP BPDUs
from a peer device, it stays in MSTP mode.
MSTP mode is compatible with RSTP mode, and RSTP mode is compatible with STP mode.
To set the spanning tree mode:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Set the spanning tree mode.
stp mode { mstp | rstp | stp }
The default setting is MSTP
mode.
Configuring an MST region
Two or more spanning tree devices belong to the same MST region only if they are configured to have the
same format selector (0 by default, not configurable), MST region name, MST region revision level, and
VLAN-to-instance mapping entries in the MST region, and they are connected by physical links.
The configuration of MST region-related parameters, especially the VLAN-to-instance mapping table, will
result in a new spanning tree calculation. To reduce the possibility of topology instability, the MST region
configuration takes effect only after you activate it by using the active region-configuration command, or
enable a spanning tree protocol by using the stp enable command if the spanning tree protocol is
disabled.
To configure an MST region:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter MST region view.
stp region-configuration N/A
3. Configure the MST region
name.
region-name name
Optional.
The MST region name is the MAC
address by default.