STP (Spanning Tree Protocol)

To prevent Switching Loop

Each switch participate in this STP process will be assigned a STP bridge ID (BID)

The info shared via STP is called BPDU (Bridge Protocol Data Units)

Convergence (Creating a tree)

Works by creating a tree.

Pasted image 20240804222153.png

  1. Select a root bridge (switch)
    • Determine by switch with lowest BID
  2. Calculate the shortes path from each switch to the root bridge
  3. Assign ports on the non-root switches as either:
    1. root port: Best path to root bridge (lowest cost)
    2. designated port: Best part to a network segment
  4. Blocking ports that could cause a loop