142
C
HAPTER
14: MSTP C
ONFIGURATION
n
Principle for configuration BPDU comparison:
■
The configuration BPDU that has the lowest root bridge ID has the highest
priority.
■
If all the configuration BPDUs have the same root bridge ID, they will be
compared for their root path costs. If the root path cost in a configuration
BPDU plus the path cost corresponding to this port is S, the configuration
BPDU with the smallest S value has the highest priority.
■
If all configuration BPDUs have the same root path cost, the following
configuration BPDU priority is compared sequentially: designated bridge IDs,
designated port IDs, and then the IDs of the ports on which the configuration
BPDUs are received. The switch with a higher priority is elected as the root
bridge.
■
Selection of the root bridge
At network initialization, each STP-compliant device on the network assumes
itself to be the root bridge, with the root bridge ID being its own bridge ID. By
exchanging configuration BPDUs, the devices compare one another’s root
bridge ID. The device with the smallest root bridge ID is elected as the root
bridge.
■
Selection of the root port and designated ports
The process of selecting the root port and designated ports is as follows:
n
When the network topology is stable, only the root port and designated ports
forward traffic, while other ports are all in the blocked state - they only receive STP
packets but do not forward user traffic.
Once the root bridge, the root port on each non-root bridge and designated
ports have been successfully elected, the entire tree-shaped topology has been
constructed.
Table 97
Selection of the root port and designated ports
Step
Description
1
A non-root-bridge device takes the port on which the optimum configuration BPDU
was received as the root port.
2
Based on the configuration BPDU and the path cost of the root port, the device
calculates a designated port configuration BPDU for each of the rest ports.
■
The root bridge ID is replaced with that of the configuration BPDU of the root
port.
■
The root path cost is replaced with that of the configuration BPDU of the root
port plus the path cost corresponding to the root port.
■
The designated bridge ID is replaced with the ID of this device.
■
The designated port ID is replaced with the ID of this port.
3
The device compares the calculated configuration BPDU with the configuration
BPDU on the port whose role is to be determined, and acts as follows based on the
comparison result:
■
If the calculated configuration BPDU is superior, this port will serve as the
designated port, and the configuration BPDU on the port will be replaced with
the calculated configuration BPDU, which will be sent out periodically.
■
If the configuration BPDU on the port is superior, the device stops updating the
configuration BPDUs of the port and blocks the port, so that the port only
receives configuration BPDUs, but does not forward data or send configuration
BPDUs.
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 ...