R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

44
Predefined user roles
network-admin
Parameters
instance instance-list: Configures the device as a secondary root bridge in the MSTIs that are specified by
an instance list. They are 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.
vlan vlan-id-list: Configures the device as a secondary root bridge in the VLANs specified by a VLAN ID
list. They are in the format of vlan-id-list = { vlan-id [ to vlan-id ] }&<1-10>, where &<1-10> indicates that
you can specify up to 10 vlan-id [ to vlan-id ] parameters. The value range for the vlan-id argument is 1
to 4094.
Usage guidelines
Once you specify the device as a secondary root bridge, you cannot change the priority of the device.
If you do not specify any MSTI or VLAN, this command configures the device as a secondary root bridge
of the MSTP CIST or of the STP or RSTP spanning tree.
Examples
# In MSTP mode, specify the device as a secondary root bridge in MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root secondary
# In PVST mode, specify the device as a secondary root bridge in VLAN 1.
<Sysname> system-view
[Sysname] stp vlan 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
Predefined user roles
network-admin
Usage guidelines
On a port, the loop guard function and the root guard function are mutually exclusive.