Search

Bridge Protocol Data Unit (BPDU) Frame Format

Two important Bridge Protocol Data Unit (BPDU) frames which switches exchange are configuration Bridge Protocol Data Units (BPDUs) and topology change Bridge Protocol Data Units (BPDUs). Configuration Bridge Protocol Data Units (BPDUs) are sent between bridges to establish a network topology. Topology change Bridge Protocol Data Units (BPDUs) are sent after a topology change has been detected to indicate that the Spanning Tree Protocol (STP) algorithm should be initiated.

The format of IEEE 802.1D Bridge Protocol Data Unit (BPDU) is given below.

Protocol ID (2 bytes): Contains the value 0000 for IEEE 802.1D

Version ID (1 byte): Contains the value zero.

BPDU Message Type (1 byte): Configuration or TCN BPDU

Flags (1 byte): The Topology Change (TC) bit signals a topology change. The Topology Change Acknowledgment (TCA) bit is set to acknowledge receipt of a configuration message.

1 : Topology Change Flag
2 : unused 0
3 : unused 0
4 : unused 0
5 : unused 0
6 : unused 0
7 : unused 0
8 : Topology Change Ack

Root Bridge (Root Switch) ID (8 bytes): Identifies the root bridge by listing its 2-byte priority number followed by its 6-byte MAC address.

Root Path Cost (4 bytes) : Contains the cost of the path from the bridge sending the configuration message to the Root Bridge (Root Switch) .

Sender Bridge (Switch) ID (8 bytes): Identifies the Sender bridge by listing its 2-byte priority number followed by its 6-byte MAC address.

Port ID 2 bytes): Identifies the port from which the configuration message was sent.

Message Age (2 bytes): Specifies the amount of time elapsed since the Root Bridge (Root Switch) sent the configuration message on which the current configuration message is based.

Maximum Age (2 bytes): Indicates when the current configuration message should be deleted.

Hello time (2 bytes): Provides the time period between Root Bridge (Root Switch) configuration messages.

Forward Delay (2 bytes): Provides the length of time that bridges should wait before transitioning to a new state after a topology change.

Related Tutorials
• What is Broadcast Storm
• What is Layer 2 Switching loop
• What is Spanning Tree Protocol (STP)
• What is Bridge Protocol Data Unit (BPDU) frame
• Bridge Protocol Data Unit (BPDU) Frame Format
• What is a Root Bridge (Switch)
• What is a Root Port
• What are Port Cost, Port Priority and Path Cost Values
• How Spanning Tree Protocol (STP) select Root Port
• What is a Designated Port
• How Spanning Tree Protocol (STP) select Designated Port
• Difference between Root Port and Designated Port
• Spanning Tree Port States
• Topology Changes in Spanning Tree Protocol (STP)
• Spanning Tree Protocol (STP) Convergence
• What is Spanning Tree Protocol (STP) PortFast
• How to configure and verify Spanning Tree Protocol (STP) PortFast
• How to enable or disable Spanning Tree Protocol (STP)
• What is Rapid Spanning Tree Protocol (RSTP)
• Difference between Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP)
• Per-VLAN Spanning Tree (PVST) and Per-VLAN Spanning Tree Plus (PVST+)
• What are Spanning Tree Bridge Priority and Bridge ID values
• Spanning Tree Path Cost Value and How is Spanning Tree Path Cost Value Calculated
• Spanning Tree Port Priority and Port ID Values
• How to change Spanning Tree Bridge Root Priority value and What is Extended System ID
• How to configure Spanning Tree Protocol Root Primary and Root Secondary
• What is a Root Bridge (Root Switch)
• How to change Spanning Tree Port Priority Value
• How Spanning Tree Protocol (STP) select Root Port
• What is a Designated Port
• How Spanning Tree Protocol (STP) select Designated Port
• Difference between Root Port and Designated Port
• Spanning Tree Port States
• How BPDU is generated and How BPDU works
• Important Spanning Tree Protocol (STP) Timers and their default values
• How to Configure and Change Spanning Tree Protocol (STP) Default Timer-Values for hello timer, forward delay timer and max age timer
• Topology Changes in Spanning Tree Protocol (STP)
• Spanning Tree Protocol (STP) Convergence
• Where to place the Spanning Tree Protocol Root Switch (Root Bridge)
• Spanning Tree Protocol (STP) UplinkFast, Backbone Fast and Portfast
• What is Spanning Tree Protocol (STP) Uplink Fast
• What is Spanning Tree Protocol (STP) Backbone Fast
• What is Spanning Tree Protocol (STP) PortFast
• How to configure and verify Spanning Tree Protocol (STP) PortFast
• How to enable or disable Spanning Tree Protocol (STP)
• What is Rapid Spanning Tree Protocol (RSTP)
• Difference between Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP)
• Per-VLAN Spanning Tree (PVST) and Per-VLAN Spanning Tree Plus (PVST+)