![H3C S3100 Series Скачать руководство пользователя страница 318](http://html1.mh-extra.com/html/h3c/s3100-series/s3100-series_command-manual_3591810318.webp)
Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-52
If you do not specify the
instance-id
argument, the two commands apply to only the
CIST.
You can configure one or more secondary root bridges for an MSTI. If the switch
operating as the root bridge fails or is turned off, the secondary root bridge with the
least MAC address becomes the root bridge.
You can specify the network diameter and the hello time of the switch when you are
configuring it as a secondary root bridge. The switch will then figure out the other two
time parameters: forward delay and max age. If the
instance-id
argument is specified to
0 in this command, the current switch is configured as the secondary root bridge of the
CIST. You can configure only one root bridge for an MSTI but you can configure one or
more secondary root bridges for an MSTI.
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 a secondary root bridge of MSTI 4, setting the
network diameter of the switched network to 5 and the hello time of the current switch to
300 centiseconds.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] stp instance 4 root secondary bridge-diameter 5 hello-time 300
1.1.47 stp root-protection
Syntax
stp root-protection
undo stp
root-protection
View
Ethernet port view
Parameters
None
Description
Use the
stp root-protection
command to enable the root guard function on the current
switch.
Use the
undo stp root-protection
command to restore the root guard function to the
default state on the current switch.
By default, the root guard function is disabled.