R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

150
Syntax
stp [ instance instance-list ] root secondary
undo stp [ instance instance-list ] root
Default
A device is not a secondary root bridge.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
instance instance-list: Configures the device as a secondary root bridge in the MSTIs that are specified by
an instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1-10>, where &<1-10>
indicates that you can specify up to 10 instances or instance ranges. The value range for the instance-id
argument is 0 to 4094, and the value 0 represents the CIST. If you do not specify this option, the
command configures the device as the secondary root bridge in the MSTP CIST or as the primary root
bridge of STP or RSTP.
Usage guidelines
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 a port.
Use undo stp root-protection to disable the root guard function on a port.
Syntax
stp root-protection
undo stp root-protection
Default
The root guard function is disabled.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view