This process describes how a switch is elected as the root switch in a network using default spanning-tree settings and how the root switch can be changed by adjusting switch priority.
These stages describe how the root switch is elected.
Summary
In a network with multiple switches, the root switch is elected based on Spanning Tree protocol settings.
-
Switch: Participates in the election process and can become the root switch depending on its priority and MAC address.
The process involves evaluating switch priorities and MAC addresses to determine the root switch, and optionally adjusting priorities to select the ideal root switch.
Workflow
These stages describe how a switch becomes the root switch in a Spanning Tree enabled network.
- If all switches in a network are enabled with default Spanning Tree settings, the switch with the lowest MAC address becomes the root switch.
- The switch priority of all switches is set to the default value (32,768).
- In the example topology, switch A is elected as the root switch because all switches have the default priority (32,768) and switch A has the lowest MAC address.
- However, due to traffic patterns, number of forwarding interfaces, or link types, switch A might not be the ideal root switch.
- Increase the priority (lower the numerical value) of the ideal switch to make it the root switch. This action triggers a Spanning Tree recalculation and forms a new topology with the ideal switch as the root.