R2511-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V5)
74
Command MSR900 MSR93
X
MSR20-1
X
MSR20
MSR30 MSR50 MSR1000
stp loop-protection
(Layer 2 aggregate
interface view)
No Yes No No Yes Yes Yes
Examples
# Enable the loop guard function on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] stp loop-protection
Related commands
• stp edged-port
• stp root-protection
stp max-hops
Use stp max-hops to set the maximum hops of 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 of an MST region is 20.
Views
System view
Default command level
2: System level
Parameters
hops: Sets the maximum hops in the range of 1 to 40.
Usage guidelines
The maximum hops limit the size of the MST region.
Examples
# Set the maximum hops of the MST region to 35.
<Sysname> system-view
[Sysname] stp max-hops 35
Related commands
display stp
stp mcheck
Use stp mcheck to perform the mCheck operation globally or on a port.










