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
-
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...