Switch 7700 Command reference Guide, v2.0

Table Of Contents
RSTP Configuration Commands 307
If the current Ethernet port is connected to other switch, you can use the stp
edged-port disable
or undo stp edged-port command to specify it as a
non-edge port. The
stp edged-port enable command can be used to configure
the current Ethernet port as an edge port. All the Ethernet ports have been set to
non-edge ports by initialization. You can configure the Ethernet ports directly
connected to the user terminals as edge ports, so that they can transition to
forwarding state quickly.
Related command: stp point-to-point.
Example
Set Ethernet1/0/1 as a non-edge port.
[SW7700-Ethernet1/0/1]stp edged-port disable
stp loop-protection Syntax
stp loop-protection
undo stp loop-protection
View
Ethernet port view
Parameter
None
Description
Using the stp loop-protection command, you can enable loop protection
function. Using the
undo stp loop-protection command, you can restore the
setting.
By default, the loop protection function is not enabled.
Example
Enable loop protection function in Ethernet1/0/1.
[SW7700-Ethernet1/0/1]stp loop-protection
stp mcheck Syntax
stp mcheck
View
Ethernet port view
Parameter
None
Description
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.
Using the
stp mcheck command, you can force the port to work in RSTP mode.