Stp Root-Protection - HP 5900 series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for 5900 series:
Table of Contents

Advertisement

indicates that you can specify up to 10 instances or instance ranges. The instance-id argument ranges
from 0 to 4094, and the value 0 represents the CIST. If you do not specify this option, the command
configures the device as the secondary root bridge in the MSTP CIST or as the primary root bridge of STP
or RSTP.
Usage guidelines
Once you specify the device as a secondary root bridge, you cannot change the priority of the device.
Examples
# In MSTP mode, specify the device as a secondary root bridge in MSTI 1.
<Sysname> system-view
[Sysname] stp instance 1 root secondary
Related commands
stp priority
stp root primary

stp root-protection

Use stp root-protection to enable the root guard function on the ports.
Use undo stp root-protection to disable the root guard function on the ports.
Syntax
stp root-protection
undo stp root-protection
Default
The root guard function is disabled.
Views
Ethernet interface view, aggregate interface view
Predefined user roles
network-admin
Usage guidelines
On a port, the loop guard function, the root guard function, and the edge port setting are mutually
exclusive, and the one that is configured first takes effect.
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 the root guard function for Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] stp root-protection
128

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series

Table of Contents