H3C Technologies H3C S3600 Series Switches User Manual
Page 258
1-5
Table 1-2
Selection of the optimum configuration BPDU
Step
Description
1
Upon receiving a configuration BPDU on a port, the device performs the
following processing:
z
If the received configuration BPDU has a lower priority than that of the
configuration BPDU generated by the port, the device will discard the
received configuration BPDU without doing any processing on the
configuration BPDU of this port.
z
If the received configuration BPDU has a higher priority than that of the
configuration BPDU generated by the port, the device will replace the
content of the configuration BPDU generated by the port with the content of
the received configuration BPDU.
2
The device compares the configuration BPDUs of all the ports and chooses
the optimum configuration BPDU.
Principles for configuration BPDU comparison:
z
The configuration BPDU that has the lowest root bridge ID has the highest priority.
z
If all 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.
z
If all configuration BPDUs have the same root path cost, the following fields are compared
sequentially: designated bridge IDs, designated port IDs, and then the IDs of the ports on which the
configuration BPDUs are received. The smaller these values, the higher priority for the
configuration BPDU.
z
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 configuration BPDU priority. The device with the highest configuration BPDU
priority is elected as the root bridge.
z
Selection of the root port and designated ports
The process of selecting the root port and designated ports is as follows:
Table 1-3
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.