1-19
Configuring the current device as a secondary root bridge of a specific spanning tree
Follow these steps to configure the current device as a secondary root bridge of a specific spanning
tree:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Configure the current device as
a secondary root bridge of a
specific spanning tree
stp
[
instance instance-id
]
root secondary
Required
By default, a device does not
function as a secondary root
bridge.
z
After specifying the current device as the root bridge or a secondary root bridge, you cannot
change the priority of the device.
z
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.
z
In STP-compatible mode, all ports of the device send out STP BPDUs,
z
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.
z
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
Summary of Contents for S7902E
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Page 598: ...ii ...
Page 1757: ...4 9 ...
Page 1770: ...6 4 ...
Page 2017: ...2 11 Figure 2 3 SFTP client interface ...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...