158
C
HAPTER
14: MSTP C
ONFIGURATION
■
During the selection of the root bridge, if multiple switches have the same
bridge priority, the one with the smallest MAC address becomes the root
bridge.
Configuration example
# Set the bridge priority of the current switch to 4,096 in spanning tree instance 1.
<4210> system-view
[4210] stp instance 1 priority 4096
Configuring the Mode a
Port Recognizes and
Sends MSTP Packets
A port can be configured to recognize and send MSTP packets in the following
modes.
■
Automatic mode. Ports in this mode determine the format of the MSTP packets
to be sent according to the format of the received packets.
■
Legacy mode. Ports in this mode recognize/send packets in legacy format.
■
802.1s mode. Ports in this mode recognize/send packets in dot1s format.
A port acts as follows according to the format of MSTP packets forwarded by a
peer switch or router.
When a port operates in the automatic mode:
■
The port automatically determines the format (legacy or dot1s) of received
MSTP packets and then determines the format of the packets to be sent
accordingly, thus communicating with the peer devices.
■
If the format of the received packets changes repeatedly, MSTP will shut down
the corresponding port to prevent network storm. A port shut down in this
way can only be brought up by the network administrator.
When a port operates in the legacy mode:
■
The port only recognizes and sends MSTP packets in legacy format. In this case,
the port can only communicate with the peer through packets in legacy
format.
■
If packets in dot1s format are received, the port turns to discarding state to
prevent network storm.
When a port operates in the 802.1s mode:
■
The port only recognizes and sends MSTP packets in dot1s format. In this case,
the port can only communicate with the peer through packets in dot1s format.
■
If packets in legacy format are received, the port turns to discarding state to
prevent network storm.
Configuration procedure
Table 106
Configure the mode a port recognizes and sends MSTP packets (in system
view)
Operation
Command
Description
Enter system view
system-view
-
Содержание Switch 4210 9-Port
Страница 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 ...