Broadcast storm

On this page 7

A broadcast storm is a condition in which broadcast or flooded frames multiply on a network faster than they can be absorbed, consuming link bandwidth and device processing until normal traffic can no longer pass. In Ethernet & switching it is most often the result of a Layer 2 loop: a redundant path between switches that is not blocked by Spanning Tree Protocol or an equivalent mechanism.

Because Ethernet frames carry no time-to-live field, a looping broadcast frame is never discarded on its own. Each switch floods it out of every port in the VLAN, the copies return through the loop, and within seconds the entire broadcast domain can be saturated.

How a broadcast storm develops

A switch forwards a frame addressed to FF:FF:FF:FF:FF:FF out of every port in the same VLAN except the one it arrived on. This flooding is normal and harmless in a loop-free topology. When two switches are connected by two active links, however, each flooded copy travels around the loop and is flooded again on every pass.

  1. A host sends an ordinary broadcast, such as an ARP request or a DHCP discover.
  2. Switch A floods the frame on both uplinks toward switch B.
  3. Switch B floods each copy back toward switch A and out to all hosts.
  4. Copies circulate indefinitely and multiply at every additional loop.
  5. Links reach line rate, and switch CPUs are overwhelmed by frames that require control-plane processing.

A side effect called MAC address table instability, or MAC flapping, accompanies most storms. The same source address appears on different ports in rapid succession, so the switch keeps rewriting its table and starts flooding unicast traffic as well, which makes the storm worse.

Causes and symptoms

Loops are the classic trigger, but any source of excessive flooding can produce the same symptoms. The table links typical causes with what an engineer observes on the network.

CauseHow it creates the stormTypical symptom
Accidental cabling loopA patch cable connects two ports of the same switch or two switches twiceSudden outage right after a cabling change
Disabled or misconfigured STPRedundant links are all forwardingNetwork-wide slowdown, MAC flapping logs
Unmanaged switch under a deskSmall switch closes a loop and ignores BPDUsOutage limited to one floor or VLAN
Faulty network interfaceA failing NIC or driver transmits continuous framesOne port shows extreme broadcast counters
Virtualization bridging errorA virtual switch bridges two physical uplinksStorm starts when a host or VM boots
Common causes of a broadcast storm

Classic indicators include port activity LEDs blinking in unison, interface utilization near 100 percent with mostly broadcast or multicast frames, switch CPU utilization at its maximum, management sessions that time out, and syslog messages reporting MAC address moves between ports.

Several Layer 2 problems look similar from a user perspective, so precise diagnosis depends on which frames are flooding and why. The following comparison helps separate them.

ConditionRoot mechanismDistinguishing sign
Broadcast stormBroadcast frames circulate or multiplyBroadcast counters dominate traffic
Unknown unicast floodingDestination missing from the MAC tableHigh unicast flood rate without a loop
Multicast floodingNo IGMP snooping, multicast sent to all portsSteady multicast load from known sources
Link congestionLegitimate traffic exceeds capacityNormal frame mix, high utilization
How a broadcast storm differs from similar conditions

The size of the broadcast domain determines the blast radius. A storm in a VLAN with 2,000 hosts affects all of them, while segmenting the network into smaller VLANs and routing between them at Layer 3 confines the damage to one segment, because routers do not forward broadcasts.

Prevention and containment

Robust networks combine loop prevention with rate limiting, so that a mistake causes a contained, short disturbance rather than an outage. The controls below are standard on managed switches.

ControlWhat it doesConfiguration note
Spanning Tree ProtocolBlocks redundant paths to form a loop-free treePrefer Rapid Spanning Tree Protocol for convergence of about 1 to 3 s
BPDU guardShuts down an edge port that receives a BPDUEnable on all access ports
Storm controlDrops broadcast traffic above a thresholdCommon thresholds are 1 to 5 percent of link speed
Loop guard and loop detectionDetects one-way links and self-loopsUseful where unmanaged devices may appear
Smaller VLANsReduces the number of hosts per broadcast domainRoute between VLANs at Layer 3
Controls that prevent or limit storms

A common mistake is to disable STP to fix slow port startup. The correct approach is to enable edge-port behavior (often called PortFast) together with BPDU guard. Another mistake is setting storm control thresholds so low that legitimate ARP and DHCP traffic is dropped during busy periods.

Stopping an active storm

During an active storm, remote management is often unusable, so recovery usually begins with physical or console access. The fastest method is to find the ports with abnormal broadcast counters or MAC flapping and shut down one link of the loop, then restore it only after the cause is understood.

After recovery, engineers review STP topology change counts, check which ports lacked BPDU guard, and confirm that link aggregation bundles formed correctly, because a misconfigured LACP bundle can behave like two independent links and recreate the loop.

Monitoring helps detect the next incident early. Alerts on broadcast packets per second, STP topology changes and MAC move notifications give operators a warning before users notice, and logs collected off-switch remain readable even when the switches themselves are overloaded.

A non-technical view

Imagine an office where someone shouts a question to the whole room, and two people standing next to mirrors keep repeating it back and forth forever. Soon nobody can hear anything else. A broadcast storm is that echo inside a network: one announcement bounces around endlessly and drowns out all normal conversation.

The usual culprit is a cable plugged in the wrong place, creating a circle. Switches have safety features that break the circle automatically, and the storm appears when those features are missing or switched off.

A concrete example

At a school, a teacher plugs a small unmanaged switch into a classroom wall socket to add printers, then connects a second cable from that switch into another wall socket to tidy the cables. Within seconds, the whole building network stops responding: phones lose registration, and the IT technician cannot reach the core switch remotely.

Using a console cable, the technician sees one access port receiving tens of thousands of broadcast frames per second and MAC flapping messages for hundreds of addresses. Shutting that port ends the outage in under a minute. The fix is permanent once BPDU guard and storm control are enabled on every classroom port, so the same mistake now disables only that single port.