Operation Manual – MSTP
H3C S3100-52P Ethernet Switch
Chapter 1 MSTP Configuration
1-23
You can specify the network diameter and the hello time parameters while configuring a
root bridge/secondary root bridge. Refer to
Configuring the Network Diameter of the
Configuring the MSTP Time-related Parameters
about the network diameter parameter and the hello time parameter.
Note:
z
You can configure a switch as the root bridges of multiple MSTIs. But you cannot
configure two or more root bridges for one MSTI. So, do not configure root bridges
for the same MSTI on two or more switches using the
stp root primary
command.
z
You can configure multiple secondary root bridges for one MSTI. That is, you can
configure secondary root bridges for the same MSTI on two or more switches using
the
stp root secondary
command.
z
You can also configure the current switch as the root bridge by setting the priority of
the switch to 0. Note that once a switch is configured as the root bridge or a
secondary root bridge, its priority cannot be modified.
III. Configuration example
# Configure the current switch as the root bridge of MSTI 1 and a secondary root bridge
of MSTI 2.
<Sysname> system-view
[Sysname] stp instance 1 root primary
[Sysname] stp instance 2 root secondary
1.3.4 Configuring the Bridge Priority of the Current Switch
Root bridges are selected according to the bridge priorities of switches. You can make
a specific switch be selected as a root bridge by setting a lower bridge priority for the
switch. An MSTP-enabled switch can have different bridge priorities in different MSTIs.
I. Configuration procedure
Follow these steps to configure the bridge priority of the current switch:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Set the bridge priority for
the current switch
stp
[
instance
instance-id
]
priority
priority
Required
The default bridge priority
of a switch is 32,768.