Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-51
Caution:
z
You can configure only one root bridge for an MSTI and can configure one or more
secondary root bridges for an MSTI. Specifying multiple root bridges for an MSTI
causes unpredictable spanning tree calculation results.
z
Once a switch is configured as the root bridge or a secondary root bridge, its priority
cannot be modified.
Examples
# Configure the current switch as the root bridge of MSTI 1, set the network diameter of
the switched network to 4, and set the hello time to 500 centiseconds.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp instance 1 root primary bridge-diameter 4 hello-time 500
1.1.46 stp root secondary
Syntax
stp
[
instance instance-id
]
root secondary
[
bridge-diameter
bridgenum
[
hello-time centi-seconds
] ]
undo stp
[
instance instance-id
]
root
View
System view
Parameters
instance-id
: MSTI ID ranging from 0 to 16. The value of 0 refers to the CIST.
bridgenum
: Network diameter of the specified spanning tree. This argument ranges
from 2 to 7 and defaults to 7.
centi-seconds
: Hello time in centiseconds of the specified spanning tree. This argument
ranges from 100 to 1,000 and defaults to 200.
Description
Use the
stp root secondary
command to configure the current switch as a secondary
root bridge of a specified MSTI.
Use the
undo stp root
command to cancel the current configuration.
By default, a switch does not operate as a secondary root bridge.