HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
37
Default
The loop guard function is disabled.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-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.
Examples
# Enable the loop guard function on Ethernet 2/1.
<Sysname> system-view
[Sysname] interface ethernet 2/1
[Sysname-Ethernet2/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
Predefined user roles
network-admin
Parameters
hops: Sets the maximum hops in the range of 1 to 40.
Examples
# Set the maximum hops of the MST region to 35.
<Sysname> system-view
[Sysname] stp max-hops 35