Four switches are deployed in a single LAN segment running IEEE 802.1D Spanning Tree Protocol (STP). The bridge configuration settings for each switch are as follows:
- Switch-1: Bridge Priority = , MAC Address = `00:11:22:33:44:55`
- Switch-2: Bridge Priority = , MAC Address = `00:AA:BB:CC:DD:EE`
- Switch-3: Bridge Priority = , MAC Address = `00:11:22:11:22:33`
- Switch-4: Bridge Priority = , MAC Address = `00:AA:BB:CC:DD:AA`
When the switches finish initialization, which switch is elected as the STP Root Bridge, and for what reason?
- ASwitch-1, because a higher numerical priority value grants superior election precedence in standard STP operations.
- BSwitch-3, because its MAC address is numerically lower than all other switches regardless of priority configuration.
- CSwitch-2, because it has a priority value of and its MAC address is evaluated first in alphabetical sequence.
- Switch-4, because it ties for the lowest bridge priority of and possesses the lower MAC address tie-breaker.Answer
Answer
Switch-4 is elected as the Root Bridge because it ties for the lowest priority value () and has a lower MAC address (`00:AA:BB:CC:DD:AA`) than Switch-2 (`00:AA:BB:CC:DD:EE`).
In IEEE 802.1D Spanning Tree Protocol, the Root Bridge election process evaluates the Bridge Identifier (BID), which combines a 2-byte Bridge Priority and a 6-byte MAC address. The switch with the lowest BID becomes the Root Bridge. Priority is evaluated first; both Switch-2 and Switch-4 have the lowest priority (). To break the tie, STP compares MAC addresses. Comparing `00:AA:BB:CC:DD:AA` (Switch-4) and `00:AA:BB:CC:DD:EE` (Switch-2), Switch-4 has the smaller MAC address and is successfully elected as the Root Bridge.
Step-by-Step Solution
Key Concept
STP Root Bridge Election Order (Priority then MAC Address)
Estimated Time:1m 15s