LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

How is the root bridge elected in STP (Spanning Tree Protocol)?

The switch with the lowest Bridge ID (BID) becomes the root bridge, elected through BPDU (Bridge Protocol Data Unit) exchange.

Each switch claims root, exchanges BPDUs, yields to any lower BID until the lowest BID wins.

* Root-bridge election by lowest BID. *

Election process:

  1. When a switch boots, it assumes it is the root bridge and sends BPDUs with its own BID as the Root ID
  2. BPDUs are sent every 2 seconds (default hello timer)
  3. When a switch receives a BPDU with a lower BID, it updates its Root ID and stops claiming to be the root
  4. Eventually, all switches agree on the one with the lowest BID

What if all switches have the same priority? This is common since the default priority is 32768 for all Cisco switches. When priorities are equal (all showing 32769 for VLAN (Virtual Local Area Network) 1), the MAC (Media Access Control) address becomes the deciding factor — the switch with the lowest hexadecimal MAC address wins.

Best practice: Don't leave root bridge selection to chance. Manually configure the desired root bridge with a lower priority value (e.g., spanning-tree vlan 1 root primary sets priority to 24576).

Go deeper:

From Quiz: NETW2 / STP Concepts | Updated: Jul 05, 2026