The Meraki MX spanning-tree trap: why a loop downstream can block your firewall uplink
Last updated: October 2026
The Cisco Meraki MX can switch traffic, but does not run STP. However, it forwards BPDUs. This is fine in a star topology, but becomes a problem the moment someone loops two downstream switches, or plugs a second switch into the MX without thinking about the STP topology.
In a star, each switch has one uplink toward the MX (or toward a distribution switch). STP has nothing to block.However, once you add a cable between two access switches, or plug a second switch straight into the MX, STP now has a loop. It will block a port and this might be an uplink port to the MX.
What a loop does
Connect SW-A to SW-B, or plug both into the MX on the same VLAN. The MX forwards BPDUs between those links. The switches see a loop. STP picks a port to block. If the blocked port is the uplink on SW-B, traffic from SW-B no longer goes straight to the MX but takes a longer path: SW-B → SW-A → MX.
Users on SW-B still have internet. It is just slower, and the path is not the one you designed. Failover times get longer because the MX is not in the STP election — it only forwards the BPDUs.
However, multiple this by a larger number of switches, and you originally thought each switch had its own 1 Gbps uplink going to the MX but now you have all switches sharing a single uplink.
Meraki’s own warning
Meraki documents this directly: avoid connecting more than two switches in the same STP domain straight to the LAN of the MX. The cleaner fix is to isolate the MX in its own broadcast domain and do Layer 3 switching downstream, so the MX is not sitting in the middle of the STP domain at all.
What to do
Keep a star. One uplink per access switch toward the MX or a distribution switch.
Do not cross-connect access switches unless you have decided where STP should block, and that place is not the firewall uplink.
If you must have two links into the MX for redundancy, leave them un-aggregated and let STP block one on purpose. Do not also loop the access layer.
Prefer Layer 3 at the distribution switch so the MX is not forwarding BPDUs between switches.
FAQ
Does the MX block the loop itself?
No. It does not run STP. and is unable to block ports.
Will users notice?
Often not immediately. The path is just longer. You notice when the “blocked” uplink is the one you thought was primary.
Is a stack safer?
A stack looks like one switch to STP, which helps. It does not remove the need to keep the access layer a star.
Can't we just make the MX the root of the spanning tree?
Theoretically, this would solve the issue by having all neighbour switches see the uplink as a root port. However, Cisco Meraki MX cannot be configured with a bridge priority and cannot be forced to be the root of the spanning tree.
Related: Contact us for a quote if you need a price.
Megatron Technology Pte Ltd (est. 1990, UEN 199002644W) is an authorised Cisco Networking Partner and Managed Services Provider in Singapore, and a Fortinet reseller. Our in-house team of Cisco-certified engineers design, licence, procure, deploy and support Cisco Meraki, FortiGate and Cisco enterprise networks. Verify us on the Cisco Partner Locator. Contact: +65 6346 2001 · info@megatron.com.sg. See our contact page.