Stp Root Secondary - H3C S5120-EI Series Command Reference Manual

Lan switching
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

View
System view
Default level
2: System level
Parameters
instance instance-id: Configures the switch as the root bridge in a particular MSTI. The instance-id
argument ranges from 0 to 16, where 0 represents the CIST.
Description
Use the stp root primary command to configure the switch as the root bridge.
Use the undo stp root command to restore the system default.
By default, a switch is not a root bridge.
There is only one effective root bridge in an MSTI. If two or more switches have been designated to be
root bridges of the same MSTI, MSTP will select the switch with the lowest MAC address as the root
bridge.
You can specify a root bridge for each MSTI regardless of the switch's priority. After specifying the switch
as the root bridge or a secondary root bridge, you cannot change its priority.
Related commands: stp priority and stp root secondary.
Examples
# Specify the switch as the root bridge of MSTI 0.
<Sysname> system-view
[Sysname] stp instance 0 root primary

stp root secondary

Syntax
stp [ instance instance-id ] root secondary
undo stp [ instance instance-id ] root
View
System view
Default level
2: System level
Parameters
instance instance-id: Configures the switch as a secondary root bridge in a particular MSTI. The
instance-id argument ranges from 0 to 16, where 0 represents the CIST.
Description
Use the stp root secondary command to configure the switch as a secondary root bridge.
Use the undo stp root command to restore the default.
By default, a switch is not a secondary root bridge.
You can configure one or more secondary root bridges for each MSTI. When the root bridge of an MSTI
fails or is shut down, the secondary root bridge can take over the role of the root bridge of the specified
125

Advertisement

Table of Contents
loading

Table of Contents