Stp Loop-Protection; Stp Max-Hops - HP 12500 Series Command Reference Manual

Routing, layer 2 - lan switching
Table of Contents

Advertisement

Related commands
display stp ignored-vlan

stp loop-protection

Use stp loop-protection to enable the loop guard function on the ports.
Use undo stp loop-protection to disable the loop guard function on the ports.
Syntax
stp loop-protection
undo stp loop-protection
Default
The loop guard function is disabled.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
On a port, the loop guard function is mutually exclusive with the root guard function or the edge
port setting.
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 the loop guard function on GigabitEthernet 3/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 3/0/1
[Sysname-GigabitEthernet3/0/1] stp loop-protection
Related commands
stp edged-port
stp root-protection

stp max-hops

Use stp max-hops to set the maximum number of hops for the MST region.
Use undo stp max-hops to restore the default.
70

Advertisement

Table of Contents
loading

Table of Contents