3com 8807 Guía De Referencia
196
C
HAPTER
13: MSTP C
ONFIGURATION
C
OMMANDS
[SW8800] interface Ethernet2/1/1
[3Com-Ethernet2/1/1] stp mcheck
stp mode
Syntax
stp mode { stp | mstp }
undo stp mode
View
System view
Parameter
stp: Configures the MSTP operation mode as STP-compatible.
mstp: Configures the MSTP operation mode as MSTP.
Description
Use the stp mode command to configure MSTP operation mode of the switch.
Use the undo stp mode command to restore the default MSTP operation mode.
By default, switch work in MSTP mode
MSTP and RSTP are compatible and they can recognize the packets of each other.
However, STP cannot recognize MSTP packets. To implement the compatibility,
MSTP provides two operation modes, STP-compatible mode and MSTP mode. In
STP-compatible mode, the switch sends STP BPDU packets via every port. In MSTP
mode, the switch ports send MSTP BPDU packets. When detecting it is connected
to an STP switch (it receives config BPDU packets from the STP switch), the switch
port enters automatically STP-compatible mode and sends config BPDU packets
from the STP switch. The port enters MSTP mode only when receiving MSTP BPDU
packets again.
However, STP cannot recognize MSTP packets. To implement the compatibility,
MSTP provides two operation modes, STP-compatible mode and MSTP mode. In
STP-compatible mode, the switch sends STP BPDU packets via every port. In MSTP
mode, the switch ports send MSTP BPDU packets. When detecting it is connected
to an STP switch (it receives config BPDU packets from the STP switch), the switch
port enters automatically STP-compatible mode and sends config BPDU packets
from the STP switch. The port enters MSTP mode only when receiving MSTP BPDU
packets again.
Related command: stp mcheck, stp, stp interface, stp interface mcheck.
Example
# Set MSTP operation mode as STP-compatible.
<SW8800>system-view
System View: return to User View with Ctrl+Z.
[SW8800] stp mode stp
stp no-agreement-check
Syntax
stp no-agreement-check
undo stp no-agreement-check
View
Ethernet port view
Parameter
None