Specifying The Root Bridge Or A Secondary Root Bridge - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Configuration example
# Configure the MST region name to be "info", the MSTP revision level to be 1, and VLAN 2 through
VLAN 10 to be mapped to MSTI 1 and VLAN 20 through VLAN 30 to MSTI 2.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region] region-name info
[Sysname-mst-region] instance 1 vlan 2 to 10
[Sysname-mst-region] instance 2 vlan 20 to 30
[Sysname-mst-region] revision-level 1
[Sysname-mst-region] active region-configuration

Specifying the Root Bridge or a Secondary Root Bridge

MSTP can determine the root bridge of a spanning tree through MSTP calculation. Alternatively, you
can specify the current device as the root bridge using the commands provided by the system.
Specifying the current device as the root bridge of a specific spanning tree
Follow these steps to specify the current device as the root bridge of a specific spanning tree:
To do...
Enter system view
Specify the current device as
the root bridge of a specific
spanning tree
Specifying the current device as a secondary root bridge of a specific spanning tree
Follow these steps to specify the current device as a secondary root bridge of a specific spanning tree:
To do...
Enter system view
Specify the current device as a
secondary root bridge of a
specific spanning tree
Note that:
After specifying the current device as the root bridge or a secondary root bridge, you cannot
change the priority of the device.
You can configure the current device as the root bridge or a secondary root bridge of an MSTI,
which is specified by instance instance-id in the command. If you set instance-id to 0, the current
device will be the root bridge or a secondary root bridge of the CIST.
The current device has independent roles in different MSTIs. It can act as the root bridge or a
secondary root bridge of one instance while it can also act as the root bridge or a secondary root
bridge of another MSTI. However, the same device cannot be the root bridge and a secondary root
bridge in the same MSTI at the same time.
Use the command...
system-view
stp [ instance instance-id ]
root primary
Use the command...
system-view
stp [ instance instance-id ]
root secondary
1-17
Remarks
Required
By default, a device does not
function as the root bridge.
Remarks
Required
By default, a device does not
function as a secondary root
bridge.

Advertisement

Chapters

Table of Contents
loading

Table of Contents