BPDU’s are the messages exchanged between switches to calculate the spanning tree topology.Bridge Protocol Data Units (BPDU’s) frames contain information regarding the Switch ID, originating switch port, MAC address, switch port priority, switch port cost etc.

Bridge Protocol Data Units (BPDU’s) frames are sent out as multicast messages regularly at multicast destination MAC address 01:80:c2:00:00:00. When Bridge Protocol Data Units (BPDUs) are received, the Switch uses a mathematical formula called the Spanning Tree Algorithm (STA) to know when there is a Layer 2 Switch loop in network and determines which of the redundant ports needs to be shut down.