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.
- Select a root bridge (switch)
- Determine by switch with lowest
BID
- Determine by switch with lowest
- Calculate the shortes path from each switch to the root bridge
- Assign ports on the non-root switches as either:
- root port: Best path to root bridge (lowest cost)
- designated port: Best part to a network segment
- Blocking ports that could cause a loop