3com 8807 Reference Guide

Page of 1099
194
C
HAPTER
 13: MSTP C
ONFIGURATION
 C
OMMANDS
stp loop-protection
Syntax
stp loop-protection
undo stp loop-protection
View
Ethernet port view
Parameter
none
Description
Use the stp loop-protection command to enable loop protection function.
Use the undo stp loop-protection command to restore the default setting.
By default, the loop protection function is not enabled.
The port configured with loop protection can only turn into discarding state on 
every instance. When such port receives no configuration message for a long time, 
only the port role changes, its discarding state remains unchanged, so no packets 
are forwarded. In this way, if the peer end cannot send BPDU packets due to error 
operation, and the port enters forwarding state directly for not receiving 
configuration message for a long time, no loop will be generated by enabling the 
loop protection.
CAUTION: If the equipment connected to the port of the switch cannot send STP 
packets to the switch, do not configure the loop-protection command; 
otherwise the port will be congested for a long time.
Example
# Enable loop protection function in Ethernet2/1/1.
<SW8800>system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] interface Ethernet2/1/1
 
[3Com-Ethernet2/1/1] stp loop-protection 
stp max-hops
Syntax
stp max-hops hop
undo stp max-hops
View
System view
Parameter
hop: Specifies the max hops, ranging from 1 to 40. By default, MST region Max 
Hops is 20.
Description
Use the stp max-hops command to configure the Max Hops of an MST region.