3com 4500 PWR 26-PORT User Manual

Page of 466
222
C
HAPTER
 10: U
SING
 RSTP C
OMMANDS
Example
To enable loop protection function in Ethernet1/0/1, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface Ethernet1/0/1
[4500-Ethernet1/0/1]stp loop-protection
stp mcheck 
Syntax
stp mcheck 
View
System View
Parameter
None
Description
If the network is unstable, even when the bridge running STP on the segment is 
removed, the corresponding port will still work in the STP compatible mode. 
Use the 
stp mcheck
 command to force the port to work in RSTP mode. 
If there is any bridge running STP on the segment connected to the current 
Ethernet port, the port will Switch to run RSTP in STP compatible mode.  If the 
network is rather stable, even when the bridge running STP on the segment is 
removed, the corresponding port will still work in the STP compatible mode. In this 
case, you can use this command to force the port to work in RSTP mode.  In RSTP 
mode, when the port receives an STP packet, it will transition to the STP 
compatible mode. 
The configuration can only be performed when the bridge runs in RSTP mode. If 
the bridge is configured to work in STP compatible mode, the command will not 
make any sense. 
Related command: 
stp mode
.
Example
To set the port Ethernet1/0/1 to work in RSTP mode, enter the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface Ethernet1/0/1
[4500-Ethernet1/0/1]stp mcheck 
stp mode
Syntax
stp mode { stp | rstp }
undo stp mode
View
System view