Operation Manual – MSTP
H3C S9500 Series Routing Switches
1.3.3 Configuring the Work Mode of MSTP Device
MSTP and RSTP can recognize each other's protocol packets, so they are mutually
compatible. However, STP is unable to recognize MSTP packets. For hybrid
networking with legacy STP devices and full interoperability with RSTP-compliant
devices, MSTP supports three work modes: STP-compatible mode, RSTP mode, and
MSTP mode.
In STP-compatible mode, all ports of the device send out STP BPDUs,
In RSTP mode, all ports of the device send out RSTP BPDUs. If the device detects
that it is connected with a legacy STP device, the port connecting with the legacy
STP device will automatically migrate to STP-compatible mode.
In MSTP mode, all ports of the device send out MSTP BPDUs. If the device
detects that it is connected with a legacy STP device, the port connecting with the
legacy STP device will automatically migrate to STP-compatible mode.
I. Configuration procedure
Follow these steps to configure the MSTP work mode:
Enter system view
Configure the work mode
of MSTP
II. Configuration example
# Configure MSTP to work in STP-compatible mode.
<Sysname> system-view
[Sysname] stp mode stp
# Configure MSTP to work in RSTP mode.
<Sysname> system-view
[Sysname] stp mode rstp
1.3.4 Configuring the Priority of the Current Device
The priority of a device determines whether it can be elected as the root bridge of a
spanning tree. A lower value indicates a higher priority. By setting the priority of a
device to a low value, you can specify the device as the root bridge of spanning tree. An
MSTP-compliant device can have different priorities in different MSTIs.
I. Configuration procedure
Follow these steps to configure the priority of the current device:
To do...
system-view
stp mode { stp | rstp |
mstp }
Use the command...
1-23
Chapter 1 MSTP Configuration
Remarks
—
Optional
MSTP mode by default