Superior and Inferior BPDUs in Spanning Tree Protocol

March 31, 2023
5 min read

OrhanErgun

Table of Contents

Quick navigation1 sections

Bridge Protocol Data Units (BPDUs) are messages exchanged between bridges (switches) in Ethernet networks running the Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), or Multiple Spanning Tree Protocol (MSTP). BPDUs contain information about the bridge and its ports, such as Bridge ID, Root ID, Path Cost, Port ID, and other parameters.

BPDUs are classified as superior or inferior based on the information they carry and how it compares to the current information stored on a receiving bridge.

Superior BPDU:

  1. A superior BPDU is a BPDU that carries better information about the path to the root bridge than the information currently stored on the receiving bridge.
  2. A BPDU is considered superior if it has a lower Root ID, or if the Root IDs are equal, a lower Path Cost to the root bridge, or if both the Root ID and Path Cost are equal, a lower Bridge ID.
  3. When a bridge receives a superior BPDU, it updates its own information, port roles, and states accordingly. It may also trigger a topology change or a new root port election.

Inferior BPDU:

  1. An inferior BPDU is a BPDU that carries worse or equal information about the path to the root bridge compared to the information currently stored on the receiving bridge.
  2. A BPDU is considered inferior if it has a higher Root ID, or if the Root IDs are equal, a higher Path Cost to the root bridge, or if both the Root ID and Path Cost are equal, a higher Bridge ID.
  3. When a bridge receives an inferior BPDU, it usually ignores the information and continues to use its own stored information.

The difference between superior and inferior BPDUs lies in the quality of the path information they carry relative to the receiving bridge's stored information. Superior BPDUs carry better information about the path to the root bridge, while inferior BPDUs carry worse or equal information. Bridges update their information, port roles, and states based on superior BPDUs, whereas they typically ignore inferior BPDUs.

When Superior and Inferior BPDUs are sent?

Superior and inferior BPDUs are not explicitly "sent" based on their superiority or inferiority. Instead, bridges periodically send BPDUs containing their current path information, and the receiving bridges determine whether the incoming BPDU is superior or inferior based on the information it carries.

Here are some scenarios in which superior and inferior BPDUs might be received:

  1. Network Initialization: When a network is first initialized, bridges start exchanging BPDUs to determine the root bridge and establish the spanning tree topology. During this process, bridges will receive both superior and inferior BPDUs as they learn about the network and update their path information.

  2. Topology Change: If there is a change in the network topology (e.g., a link failure, a new link, or a change in link cost), bridges may receive superior BPDUs that reflect the new best path to the root bridge. In this case, the receiving bridge will update its information and possibly reconfigure its port roles and states.

  3. Periodic BPDU Transmission: Bridges periodically send BPDUs to maintain the spanning tree topology and ensure that other bridges have up-to-date information. In a stable network, bridges will typically receive inferior BPDUs from other bridges, as the path information they carry is either the same or worse than the receiving bridge's current information.

  4. Misconfiguration or Network Instability: In some cases, network misconfigurations or instability might cause a bridge to receive superior BPDUs when it is not expected. This can trigger unnecessary topology changes or instability in the network. It is crucial to ensure proper network design and configuration to minimize these occurrences.

It is important to note that bridges do not intentionally send "superior" or "inferior" BPDUs. They simply transmit BPDUs containing their current path information, and the receiving bridges classify the BPDUs as superior or inferior based on a comparison with their own stored information.

OrhanErgun

About the Author

OrhanErgun

He created OrhanErgun.Net 10 years ago and has been serving the IT industry with his renowned and awarded training.

Wrote many books, mostly on Network Design, joined many IETF RFCs, gave Public talks at many Forums, and mentored thousands of his students.  

Today, with his carefully selected instructors, OrhanErgun.Net is providing IT courses to tens of thousands of IT engineers.

Share this Article

Related Articles

Layer 2 NetworkingAugust 25, 2024

How to Configure Cisco Storm Control on Network Switches

How to Configure Cisco Storm Control on Network Switches Welcome to the comprehensive guide on setting up Cisco Storm Control on your network switches! Whether you're a budding network engineer...

Read Article
Layer 2 NetworkingAugust 25, 2024

Understanding Cisco Storm Control Broadcast Levels

Understanding Cisco Storm Control Broadcast Levels Network stability is crucial, especially in environments prone to high levels of broadcast traffic. Cisco Storm Control is a robust feature implemented on network...

Read Article
Layer 2 NetworkingAugust 25, 2024

The Pros and Cons of Deploying Cisco VSS Technology

The Pros and Cons of Deploying Cisco VSS Technology When it comes to enhancing network efficiency and resilience, Cisco Virtual Switching System (VSS) stands out as a prominent technology. But...

Read Article
Layer 2 NetworkingAugust 25, 2024

Cisco VSS and SSO: Ensuring Non-stop Communications

Cisco VSS and SSO: Ensuring Non-stop Communications In today’s interconnected world, the demand for non-stop network communications is at an all-time high. Network resilience isn't just a requirement but a...

Read Article
Layer 2 NetworkingAugust 25, 2024

How to Configure VSS on Cisco Catalyst Switches

How to Configure VSS on Cisco Catalyst Switches Virtual Switching System (VSS) transforms multiple Cisco Catalyst switches into a single logical switch, increasing operational efficiency, boosting nonstop communications, and simplifying...

Read Article
Layer 2 NetworkingAugust 25, 2024

Configuring Storm Control on a Cisco Switch: Step-by-Step Guide

Welcome to our comprehensive tutorial designed for IT professionals and network engineers who are looking to configure storm control on a Cisco switch. Whether you’re safeguarding a small office network...

Read Article

Subscribe for Exclusive Deals & Promotions

Stay informed about special discounts, limited-time offers, and promotional campaigns. Be the first to know when we launch new deals!