Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-50
Examples
# Enter MST region view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp region-configuration
[Sysname-mst-region]
1.1.45 stp root primary
Syntax
stp
[
instance instance-id
]
root primary
[
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 primary
command to configure the current switch as the root bridge
of a specified MSTI.
Use the
undo stp root
command to cancel the current configuration.
By default, a switch is not configured as a root bridge.
If you do not specify the
instance-id
argument, these two commands apply to only the
CIST.
You can specify the current switch as the root bridge of an MSTI regardless of the
priority of the switch. You can also specify the network diameter of the switched
network by using the
stp root primary
command. The switch will then figure out the
following three time parameters: hello time, forward delay, and max age. As the hello
time figured out by the network diameter is not always the optimal one, you can set it
manually through the
hello-time centi-seconds
parameter. Generally, you are
recommended to obtain the forward delay and max age parameters through setting the
network diameter.