Configuring the MSTP
Operation Mode
Table 106 Configure the mode a port recognizes and sends MSTP packets (in system
view)
Operation
Configure the mode a port
recognizes and sends MSTP
packets
Table 107 Configure the mode a port recognizes and sends MSTP packets (in Ethernet
port view)
Operation
Enter system view
Enter Ethernet port view
Configure the mode a port
recognizes and sends MSTP
packets
Configuration example
# Configure Ethernet 1/0/1 to recognize and send packets in dot1s format.
<4210> system-view
[4210] interface Ethernet1/0/1
[4210-Ethernet1/0/1] stp compliance dot1s
# Restore the default mode for Ethernet 1/0/1 to recognize/send MSTP packets.
[4210-Ethernet1/0/1] undo stp compliance
To make a MSTP-enabled switch compatible with STP/RSTP, MSTP provides the
following three operation modes:
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.
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.
MSTP mode, where the ports of a switch send MSTP BPDUs or STP BPDUs (if
■
the switch is connected to STP-enabled switches) to neighboring devices. In
this case, the switch is MSTP-capable.
Command
stp interface interface-type
interface-number
compliance { auto | dot1s |
legacy }
Command
system-view
interface interface-type
interface-number
stp compliance { auto |
dot1s | legacy }
Configuring Root Bridge
Description
Required
By default, a port recognizes
and sends MSTP packets in
the automatic mode. That is,
it determines the format of
packets to be sent according
to the format of the packets
received.
Description
-
-
Required
By default, a port recognizes
and sends MSTP packets in
the automatic mode. That is,
it determines the format of
packets to be sent according
to the format of the packets
received.
159