Stp Max-Hops - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
You cannot configure edge port settings and loop guard, or configure root guard and loop guard on a
port at the same time.
Related commands: stp edged-port and stp root-protection.
Syntax
stp loop-protection
undo stp loop-protection
View
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Example
# Enable the loop guard function on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp loop-protection

stp max-hops

Description
Use the stp max-hops command to set the maximum hops of the MST region.
Use the undo stp max-hops command to restore the default.
By default, the maximum number of hops of an MST region is 20.
Related commands: display stp.
Syntax
stp max-hops hops
undo stp max-hops
View
System view
Default level
2: System level
Parameter
hops: Sets the maximum hops, in the range of 1 to 40.
122

Advertisement

Table of Contents
loading

Table of Contents