HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 120
stp max-hops, stp mcheck
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 120 highlights
Use undo stp loop-protection to restore the default. By default, the loop guard function is disabled. Configured in Ethernet interface view, the setting takes effect only on the interface. 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. Examples # Enable the loop guard function on GigabitEthernet 1/0/1. system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] stp loop-protection stp max-hops Syntax stp max-hops hops View undo stp max-hops System view Default level 2: System level Parameters hops: Sets the maximum hops, in the range of 1 to 40. Description Use stp max-hops to set the maximum hops of the MST region. Use undo stp max-hops to restore the default. By default, the maximum number of hops of an MST region is 20. Related commands: display stp. Examples # Set the maximum hops of the MST region to 35. system-view [Sysname] stp max-hops 35 stp mcheck Syntax stp mcheck 112