Packet Storm Detected – Kill It Fast on Your Network
Your network is choking on a packet storm. Here's how to stop it right now and why it happens.
You See 'Packet Storm Detected' and Your Network's Dead
I know this error makes you want to throw your switch out the window. I've been there. But let's fix it now.
First, Kill the Storm – Right Now
If you can still log into your switch, run this command immediately on the affected ports (Cisco IOS example):
Switch(config)# interface GigabitEthernet0/1
Switch(config-if)# storm-control broadcast level 0.5
Switch(config-if)# storm-control action shutdown
Switch(config-if)# shutdown
Switch(config-if)# no shutdown
This forces the port to drop broadcast traffic above 0.5% of bandwidth. If the storm was already active, the port will shut down and come back up. If you can't access the switch, physically unplug the cable from the switch port that's showing high activity. Look for the port with the most blinking lights. Pull the cable.
For older switches like Cisco 2950 or 3750, use:
storm-control broadcast level 10
That's 10% of the port speed. Aggressive but works on old hardware.
Why This Happens – The Real Cause
A packet storm happens when a loop exists in your network. Imagine a packet running around in circles forever, getting copied each time. Two things cause this most often:
- Two switches connected with both ports in the same VLAN without STP (Spanning Tree Protocol) enabled. Someone plugged a cable between switch A and B twice by mistake.
- A faulty NIC (network interface card) that sends out constant broadcast packets. I once saw a printer do this – it took down the whole floor.
STP is supposed to prevent loops, but if it's disabled or misconfigured, you're wide open. RSTP (Rapid Spanning Tree) works better on modern networks – it recovers in seconds. Classic STP takes 30-50 seconds.
Less Common Variations of This Error
1. Multicast Storm (Not Broadcast)
Sometimes the error says 'multicast storm'. This happens when someone streams video or audio from a server that keeps sending duplicate packets. Fix it with:
storm-control multicast level 1
Set it on the port facing the server.
2. Unicast Storm from Bad Cabling
A single bad cable can cause unicast storms. The switch sees a packet coming back on the same port it sent it out. That's a loop. Check with:
show interface status
Look for ports with high 'runts' or 'CRC errors' – that's your bad cable.
3. Storm from a Virtual Machine
In virtual environments (VMware, Hyper-V), a misconfigured virtual switch can create a loop inside the host. A VM that's set to 'promiscuous mode' and bridged wrong can flood the physical network. You'll see the storm on the host's physical NIC. Fix: disable promiscuous mode or reconfigure the virtual switch VLAN.
Real story: I had a client with 200 users – the storm came from a VM running a Minecraft server. The virtual switch had two uplinks to the same physical switch. Killed it in 2 minutes with storm-control.
How to Prevent This from Happening Again
Here's what I do on every network I touch:
- Enable STP on all switches. Use RSTP or MSTP. Never leave it disabled. Check with
show spanning-treeon Cisco. - Set storm-control on all access ports. Use 0.5% broadcast, 1% multicast. You won't notice a difference in normal traffic.
- Use portfast and BPDUguard. On ports that connect to computers or printers, enable portfast and BPDUguard. If someone plugs in a rogue switch, the port shuts down immediately.
- Monitor your switches. Use SNMP or a tool like PRTG or Zabbix. Set alerts for broadcast traffic spikes. Don't wait for the storm to wake you up at 3 AM.
- Label your cables. Sounds dumb, but a missing label can cause someone to plug both ends into the same switch. Happens more than you'd think.
interface range GigabitEthernet0/1-24
spanning-tree portfast
spanning-tree bpduguard enable
You can also configure loopguard on Cisco switches – it watches for loops and puts the port into blocking state:
interface GigabitEthernet0/1
spanning-tree guard loop
That's it. Storm fixed, network back up. Next time, you'll see it coming.
Was this solution helpful?