Stp Root Primary - HP 12500 Series Command Reference Manual

Routing, layer 2 - lan switching
Table of Contents

Advertisement

Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
When port role restriction is enabled on a port, the port cannot become a root port.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that
interface.
When the setting is configured in Layer 2 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 GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 3/0/1
[Sysname-GigabitEthernet3/0/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
mdc-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-10>, where &<1-10>
indicates that you can specify up to 10 instances or instance ranges. The instance-id argument is in
the range of 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.
79

Advertisement

Table of Contents
loading

Table of Contents