Key Concepts in Spanning Tree Protocols

This section outlines key concepts important when using STPs.

Bridge Protocol Data Units

Bridges use special frames known as bridge protocol data units (BPDUs) to transmit STP information between bridges. BPDUs carry information about bridge IDs and root path costs. STP uses BPDU packets to exchange information with other bridges. STP uses the information provided by the BPDUs to elect a root bridge, identify root ports for each bridge, identify designated ports for each physical LAN segment, and prune specific redundant links to create a loop-free tree topology.

There are two types of BPDUs:

Root Bridge

The STP root bridge is the base of the spanning tree topology, much like roots are the base of a tree. All redundant paths to the root bridge within the spanning-tree network are disabled by putting them into a blocked mode. The root bridge is chosen by all of the bridges, based on the results of the BPDU exchange process.

Bridge ID

A bridge ID (BID) is a single, 8-byte field that identifies a bridge through two subfields: the bridge priority and the MAC address of the bridge.

Path Cost

Bridges use the concept of path cost to evaluate how close they are to other bridges. The path cost depends on the bandwidth of the link. STP uses algorithms to evaluate least-cost paths as most attractive.

Port Roles

Bridges determine the root bridge and then compute the port roles based on the BPDU information, for any spanning-tree version.

Related Topics