Stp Root Primary; Stp Root Secondary - HP 3600 v2 Series Command Reference Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

stp root primary

Syntax
stp [ instance instance-id | vlan vlan-list ] root primary
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 the root bridge in a particular MSTI. The value of
instance-id ranges from 0 to 32, 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 argument 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.
Description
Use stp root primary to configure the device as the root bridge.
Use undo stp root to restore the default.
By default, a device is not a root bridge.
To set an MSTP device as the root bridge in a specific MSTI, use this command with the MSTI specified.
To set a PVST device as the root bridge in a specific VLAN or multiple VLANs, use this command with a
VLAN list specified. To set an MSTP device in the CIST or an STP/RSTP device as the root bridge, use this
command without specifying any MSTI and VLAN.
Once you specify the device as the root bridge, you cannot change the priority of the device.
Related commands: stp priority and stp root secondary.
Examples
# In MSTP mode, specify the device as the root bridge of MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root primary
# In PVST mode, specify the device as the root bridge of VLAN 1.
<Sysname> system-view
[Sysname] stp mode pvst
[Sysname] stp vlan 1 root primary

stp root secondary

Syntax
stp [ instance instance-id | vlan vlan-list ] root secondary
undo stp [ instance instance-id | vlan vlan-list ] root
View
System view
142

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 hi series

Table of Contents