
Configuring Root Bridge
159
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
Configuring the MSTP
Operation Mode
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.
Configure the mode a port
recognizes and sends MSTP
packets
stp interface
interface-type
interface-number
compliance
{
auto
|
dot1s
|
legacy
}
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.
Table 107
Configure the mode a port recognizes and sends MSTP packets (in Ethernet
port view)
Operation
Command
Description
Enter system view
system-view
-
Enter Ethernet port view
interface
interface-type
interface-number
-
Configure the mode a port
recognizes and sends MSTP
packets
stp compliance
{
auto
|
dot1s
|
legacy
}
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.
Table 106
Configure the mode a port recognizes and sends MSTP packets (in system
view)
Operation Command Description
Содержание 4210 PWR
Страница 10: ...Password Control Configuration 556 Displaying Password Control 563 Password Control Configuration Example 564...
Страница 22: ...20 CHAPTER 1 CLI CONFIGURATION...
Страница 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT...
Страница 84: ...82 CHAPTER 5 VLAN CONFIGURATION...
Страница 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION...
Страница 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION...
Страница 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION...
Страница 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT...
Страница 234: ...232 CHAPTER 17 802 1X CONFIGURATION...
Страница 246: ...244 CHAPTER 20 AAA OVERVIEW...
Страница 270: ...268 CHAPTER 21 AAA CONFIGURATION...
Страница 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION...
Страница 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION...
Страница 340: ...338 CHAPTER 30 CLUSTER...
Страница 362: ...360 CHAPTER 33 SNMP CONFIGURATION...
Страница 368: ...366 CHAPTER 34 RMON CONFIGURATION...
Страница 450: ...448 CHAPTER 39 TFTP CONFIGURATION...
Страница 451: ......
Страница 452: ...450 CHAPTER 39 TFTP CONFIGURATION...
Страница 470: ...468 CHAPTER 40 INFORMATION CENTER...
Страница 496: ...494 CHAPTER 44 DEVICE MANAGEMENT...