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

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – MSTP
H3C S9500 Series Routing Switches
II. 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 instance 1, and VLAN 20 through VLAN 30
to instance 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

1.3.2 Specifying the Root Bridge or a Secondary Root Bridge

MSTP can determine the root bridge of a spanning tree through MSTP computing.
Alternatively, you can specify the current device as the root bridge using the commands
provided by the system.
I. 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:
Enter system view
Specify the current device
as the root bridge of a
specific spanning tree
II. 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:
Enter system view
Specify the current
device as a secondary
root bridge of a specific
spanning tree
To do...
system-view
stp [ instance
instance-id ] root primary
[ bridge-diameter
bridgenum [ hello-time
centi-seconds ] ]
To do...
system-view
stp [ instance instance-id ] root
secondary [ bridge-diameter
bridgenum [ hello-time
centi-seconds ] ]
Use the command...
Use the command...
1-21
Chapter 1 MSTP Configuration
Remarks
Required
The device does not
function as the root bridge
by default.
Remarks
Required
By default, a device
does not function as a
secondary root bridge.

Advertisement

Table of Contents
loading

Table of Contents