Stp Root-Protection - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

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.
Syntax
stp [ instance instance-id | vlan vlan-list ] root secondary
undo stp [ instance instance-id | vlan vlan-list ] 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 value of
instance-id is in the range of 0 to 31, where 0 represents the CIST.
vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1- 1 0>, where the
vlan-id parameter represents the VLAN ID, in the range of 1 to 4094, and &<1- 1 0> indicates that you can
specify up to 10 VLAN IDs or VLAN ID ranges.
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 mode pvst
[Sysname] stp vlan 1 root secondary

stp root-protection

Description
Use the stp root-protection command to enable the root guard function on the ports.
Use the undo stp root-protection command to restore the default.
By default, the root guard function is disabled.
Configured in Ethernet interface view, the setting takes effect only on the interface.
Configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
You cannot configure root guard and loop guard on a port at the same time.
Related commands: stp loop-protection.
132

Advertisement

Table of Contents
loading

Table of Contents