Spanning Tree Protocol: Superior/Inferior BPDU Determination

Spanning Tree operation allows it to determine and compare configuration BPDU’s and see which one is better.  The better BPDU is referred to as the superior BPDU, all other BPDUs that are compared are referred to as the Inferior BPDUs.

The following sequence of values are used by Spanning Tree to determine the superior BPDU:

  1. Root Bridge ID (RBID)
    • The RBID value is compared and the lower RBID is determined to be superior
  2. Root Path Cost (RPC)
    • If RBID values are the same, RPC is then compared, the BPDU with the lower RPC is declared superior
  3. Sender Bridge ID (SBID)
    • If BPDUs have the same RBID, and RPC values SBID is compared, the BPDU with the lower SBID is declared superior
  4. Sender Port ID (SPID)
    • If RBID, RPC, and SBID are all the same, the SPID values are compared, the BPDU with the lower SPID is declared superior
  5. Receiver Port ID (RPID, evaluated locally, this value is not sent in BPDUs)
    • If all other values are the same, the BPDU from the lowest port ID is chosen, and that port is chosen as the Root Port

Each port in STP stores the superior BPDU it has sent or received.  When the port stores the BPDU it must receive the same BPDU again within the MaxAge-MessageAge seconds interval, otherwise it will expire.

 

supbpdu

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s