Command Manual (For Soliton) – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration Commands
1-41
[Sysname-Ethernet1/0/1] stp mcheck
1.1.36 stp mode
Syntax
stp mode
{
stp
|
rstp
|
mstp
}
undo stp mode
View
System view
Parameters
stp
: Specifies the STP-compatible mode.
mstp
: Specifies the MSTP mode.
rstp
: Specifies the RSTP-compatible mode.
Description
Use the
stp mode
command to set the operating mode of an MSTP-enabled switch.
Use the
undo stp mode
command to restore the default operating mode of an
MSTP-enabled switch.
By default, an MSTP-enabled switch operates in MSTP mode.
To make a switch compatible with STP and RSTP, MSTP provides following three
operating modes.
z
STP-compatible mode, where the ports of a switch send STP BPDUs to
neighboring devices. If STP-enabled switches exist in a switched network, you can
use the
stp mode stp
command to configure an MSTP-enabled switch to operate
in STP-compatible mode.
z
RSTP-compatible mode, where the ports of a switch send RSTP BPDUs to
neighboring devices. If RSTP-enabled switches exist in a switched network, you
can use the
stp mode rstp
command to configure an MSTP-enabled switch to
operate in RSTP-compatible mode.
z
MSTP mode, where the ports of a switch send MSTP BPDUs and STP BPDUs (if
the switch is connected to STP-enabled switches) to neighboring devices. In this
case, the switch is MSTP-capable.
Related commands:
stp mcheck
,
stp
,
stp interface
,
stp interface mcheck
.
Examples
# Configure the MSTP operation mode as STP-compatible.
<Sysname> system-view
System View: return to User View with Ctrl+Z.