STP root bridge

This section explains how STP elects a root bridge to prevent network loops.

If you have redundant connections between network devices, loops can exist, which can bring devices down and create problems in the network. The purpose of Spanning Tree Protocol (STP) is to eliminate loops in the network by electing one switch as the root bridge, which is the switch that can forward packets, and moving the other switches to the non-root state, which prevents the switches from forwarding packets. By default, Rapid STP (RSTP) is enabled on the switches.

Note: In a ProAV network, we recommend that you do not change STP to Multiple STP (MSTP) because IGMP+ might no longer function as designed.

In a network with switches that participate in STP root bridge selection, the switch with the lowest bridge ID is elected as the root bridge. The bridge ID is made up of the priority value and the MAC address.

By default, most switches, including NETGEAR switches, are assigned a priority of 32,768, which is the IEEE standard default. As a result, the switch with the lowest MAC address is typically selected as the STP root bridge. All other switches become non-root switches and calculate the shortest path to the root bridge. The shortest path is based on port cost, which considers interface speed, not just physical distance or hop count.

We recommend that you set the core switch as the root bridge by changing the STP priority the core switch to the primary mode with priority 0. If your network includes redundant core switches (for more information, see LAGs, MLAGs, and switch stacks for redundancy and enhanced bandwidth), we recommend that you assign the one but lowest-numbered priority (for example, 8192) to the secondary core switch.

Note: STP priorities are set in increments of 4,096. The lowest priority is 0, the next lowest priority is 4,096, and the one after that is 8,192, and so on.
Table 1. Default STP network redundancy values in the AV UI
Mode in the AV UI Associated Bridge Priority Value
Primary mode 0
Neutral mode 32768
Backup mode 8192
Figure 1. STP root bridge in the network


In this example, we change the STP priority of the core switch to the primary mode with priority 0, and the STP priority of the secondary core switch to the backup mode with priority 8,192. The results is that the core switch becomes the STP root bridge, and the redundant core switch becomes the backup STP root bridge.