Download Print this page

HP 5900 series Command Reference Manual: Stp Max-hops

Layer 2 - lan switching.
Hide thumbs

Advertisement

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
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 loop guard function on Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/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.
Syntax
stp max-hops hops
undo stp max-hops
Default
The maximum number of hops for an MST region is 20.
Views
System view
118

Advertisement

Table Of Contents

This manual also for:

5920 series

Comments to this Manuals

Symbols: 0
Latest comments: