83
Syntax
stp
[
instance instance-id
]
root secondary
undo stp
[
instance instance-id
]
root
Default
A device is not a secondary root bridge.
Views
System view
Default command level
2: System level
Parameters
instance instance-id
: Configures the device as a secondary root bridge in a particular MSTI. The
minimum value of
instance-id
is 0, representing the CIST, and the maximum value of
instance-id
is
15.
Usage guidelines
To set an MSTP device as a secondary root bridge in a specific MSTI, use this command with the
MSTI specified.
Once you specify the device as a secondary root bridge, you cannot change the priority of the
device.
Examples
# In MSTP mode, specify the device as a secondary root bridge in MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root secondary
Related commands
•
stp
priority
•
stp root primary
stp root-protection
Use
stp root-protection
to enable the root guard function on the ports.
Use
undo stp root-protection
to disable the root guard function on the ports.
Syntax
stp root-protection
undo stp
root-protection
Default
The root guard function is disabled.
Views
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default command level
2: System level
Usage guidelines
The following matrix shows the command and hardware compatibility: