Stp Root Primary - HP 3100 v2 Series Command Reference Manual

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

Advertisement

The MSTP revision level is 0.
After you enter MST region view, you can configure the MST region-related parameters, including
the region name, VLAN-to-instance mappings, and revision level.
Examples
# Enter MST region view.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region]

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 16, where 0 represents the CIST.
vlan vlan-list: Specifies a VLAN list in the format of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>, where
the vlan-id argument represents the VLAN ID, in the range of 1 to 4094, and &<1-10> 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
123

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents