EasyManuals Logo
Home>HP>Switch>A5830 Series

HP A5830 Series Command Reference

HP A5830 Series
249 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #138 background imageLoading...
Page #138 background image
131
Use the undo stp root command 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.
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 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-10>, where the
vlan-id parameter 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.
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
Description
Use the stp root secondary command to configure the device as a secondary root bridge.
Use the undo stp root command to restore the default.
By default, a device is not a secondary root bridge.
To set an MSTP device as a secondary root bridge in a specific MSTI, use this command with the MSTI
specified. To set a PVST device as a secondary 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 a
secondary root bridge, use this command without specifying any MSTI and VLAN.

Table of Contents

Other manuals for HP A5830 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP A5830 Series and is the answer not in the manual?

HP A5830 Series Specifications

General IconGeneral
BrandHP
ModelA5830 Series
CategorySwitch
LanguageEnglish

Related product manuals