
71
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 device as a secondary root bridge in a particular MSTI. The
instance-id
argument ranges from 0 to 15, where 0 represents the CIST.
Description
Use
stp root secondary
to configure the device as a secondary root bridge.
Use
undo stp root
to restore the default.
By default, a device is not a secondary root bridge.
To set an MSTP device as a secondary root bridge in a specific MSTI, use this command with the MSTI
specified. To set an MSTP device in the CIST or an STP/RSTP device as a secondary root bridge, use this
command without specifying any MSTI.
Once you specify the device as a secondary root bridge, you cannot change the priority of the device.
Related commands:
stp priority
and
stp root primary
.
Examples
# In MSTP mode, specify the device as a secondary root bridge in MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root secondary
stp root-protection
Syntax
stp root-protection
undo stp
root-protection
View
Ethernet interface view, WLAN mesh interface view
Default level
2: System level
Parameters
None
Description
Use
stp root-protection
to enable the root guard function on the ports.