Stp Root Primary - HP 6125XLG Command Reference Manual

Blade switch layer 2 - lan switching
Table of Contents

Advertisement

Usage guidelines
When port role restriction is enabled on a port, the port cannot become a root port.
When the setting is configured in Ethernet interface view, it takes effect on only that interface.
When the setting is configured in aggregate interface view, it takes effect on only the aggregate
interface.
When the setting is configured on a member port in an aggregation group, it takes effect only after the
port leaves the aggregation group.
Examples
# Enable port role restriction on interface FortyGigE 1/1/1.
<Sysname> system-view
[Sysname] interface fortygige 1/1/1
[Sysname-FortyGigE1/1/1] stp role-restriction

stp root primary

Use stp root primary to configure the device as the root bridge.
Use undo stp root to restore the default.
Syntax
stp [ instance instance-list ] root primary
undo stp [ instance instance-list ] root
Default
A device is not a root bridge.
Views
System view
Predefined user roles
network-admin
Parameters
instance instance-list: Configures the device as the root bridge in the MSTIs that are specified by an
instance list, in the format of instance-list = { instance-id [ to instance-id ] }&<1- 1 0>, where &<1- 1 0>
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. If you do not specify this option, the
command configures the device as the primary root bridge in the MSTP CIST or as the primary root
bridge of STP or RSTP.
Usage guidelines
Once you specify the device as the root bridge, you cannot change the priority of the device.
Examples
# In MSTP mode, specify the device as the root bridge of MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root primary
129

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents