Configuring the work mode of an mstp device, Configuring the priority of a device – H3C Technologies H3C S7500E Series Switches User Manual

Page 173

Advertising
background image

13-21

After specifying the current device as the root bridge or a secondary root bridge, you cannot
change the priority of the device.

Alternatively, you can also configure the current device as the root bridge by setting the priority of
the device to 0. For the device priority configuration, refer to

Configuring the Priority of a Device

.

Configuring the Work Mode of an MSTP Device

Being mutually compatible, MSTP and RSTP can recognize each other’s protocol packets. However,
STP is unable to recognize MSTP packets. For hybrid networking with legacy STP devices and for full
interoperability with RSTP-enabled 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.

Make this configuration on the root bridge and on the leaf nodes separately.

Follow these steps to configure the MSTP work mode:

To do...

Use the command...

Remarks

Enter system view

system-view

Configure the work mode of MSTP stp mode { stp | rstp | mstp }

Required

MSTP mode by default

Configuring the Priority of a Device

Device priorities participate in spanning tree calculation. 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 the spanning tree.
An MSTP-enabled device can have different priorities in different MSTIs.

Make this configuration on the root bridge only.

Follow these steps to configure the priority of a device in a specified MSTI:

To do...

Use the command...

Remarks

Enter system view

system-view

Advertising