Bridge Protocol Data Unit
If any changes occur in the layer 2 network, such as when link goes down, a new link is added, a new switch is added, or a switch fails, the switches share this information by transmitting BPDUs, causing the STP algorithm to be re-executed, and a new loop-free topology is then created. STP and BPDUs help speed up convergence (routing). Convergence is a term used in networking to describe the amount of time it takes to deal with changes and get the network back up and running. The default BPDU advertisement time of 2 seconds allows changes to be quickly shared with all the other switches in the network, reducing the amount of time any disruption would create.
There are three kinds of BPDUs:[2]
- Configuration BPDU, used by Spanning tree protocol to provide information to all switches.
- TCN (Topology Change Notification), tell about changes in the topology.
- TCA (Topology Change Acknowledgment), confirm the reception of the TCN.