unknown unicast flooding
termKept in this browser · My desk
A switch sending a unicast frame out of every port in its VLAN because its MAC table has no entry for the destination: normal for a moment, a problem when it lasts.
Cisco: when there is no entry for the frame's destination MAC address in the incoming VLAN, the unicast frame is sent to all forwarding ports in that VLAN. It is how a switch finds a host it has not heard from, and the reply ends it. It becomes a problem when the table keeps forgetting an address the traffic still uses. Cisco's document 23563 names three causes: asymmetric routing, spanning tree topology changes that shorten the table's ageing, and a full forwarding table; on hashed tables a full bucket has the same effect.
What it is. Unknown unicast flooding is a switch sending a unicast frame out of every forwarding port of its VLAN (virtual local area network), except the arrival port, because its MAC (media access control) address table has no entry for the destination. It is one of the three kinds of BUM (broadcast, unknown unicast and multicast) traffic, and the only one whose destination is a single station: the flood is the bridge's way of finding a host it has not heard from, and the reply, which teaches the table the host's port, ends it. Radia Perlman's 1985 paper states the rule (no entry for the destination: send on all links but the arrival link), and Juniper's documentation gives the purpose: flooding lets the switch learn.
When it becomes a problem. Normal for a moment, a problem when it lasts: the table keeps forgetting an address that traffic still uses. Cisco's document 23563 names three causes: asymmetric routing, spanning tree topology changes that shorten the table's ageing, and a full forwarding table; on hashed tables a full bucket has the same effect.
The commonest cause is two timers. A router keeps ARP (Address Resolution Protocol) entries for hours (4 hours is the EOS default Ivan Pepelnjak cites, and the Cisco default on the slide of a GTER 45 talk), while switches age MAC entries after 5 minutes. When a server's replies leave by another path, the switch in front of the sending router never hears the server, forgets it after 300 seconds and floods the router's traffic for the remaining 14,100 seconds of every 14,400: 97.9 per cent of the time, invisible except as a slow VLAN. Worked by hand: the router refreshes its ARP entry at second 0, the switch learns the server only from that exchange, the MAC entry expires at second 300, and nothing from the server crosses that switch again until the router's next ARP request at second 14,400; 14,100 divided by 14,400 is 0.979. Hosts are not the problem: Linux keeps a neighbour reachable for a random time around 30 seconds (base_reachable_time) and reprobes, and the GTER 45 slides contrast the 4 hours of Cisco and Juniper routers with MikroTik's 30 seconds.
Other causes. A spanning tree topology change makes bridges age their tables in the forward delay, 15 seconds by default, or flush them at once in the rapid protocol, so a port that flaps keeps the VLAN flooding; that is why Cisco puts PortFast on end-device ports. A full table, whether from growth (Request for Comments (RFC) 7348 describes top-of-rack switches that must learn hundreds of virtual machines per server and may stop learning when the table overflows) or from MAC flooding, leaves new hosts unlearned. A table that cannot learn by design floods too: Fortinet's FortiSwitchOS lets learning be turned off per port, and then traffic from unknown sources is dropped or forwarded as configured.
Why it matters beyond speed. Every flooded frame reaches every port of the VLAN, so a host that only listens sees unicast traffic that was never meant for it; this is the effect MAC flooding produces on purpose. Flooding can also skip controls applied to learned traffic: the National Vulnerability Database (NVD) record CVE-2025-20316 (24 September 2025) describes traffic from an unlearned MAC address, flooded on a switch virtual interface, bypassing an egress access control list (ACL) on Cisco Catalyst 9500X and 9600X switches, and notes that an attacker could cause it by making the VLAN flush its table and that a full table has the same effect.
Fixes. Cisco's remedy is to bring the ARP timeout and the forwarding table ageing close to each other, plus PortFast on end-device ports against topology-change ageing, port security against overflow, and switchport block unicast on ports that should never receive it; the Linux bridge has a per-port unicast flood flag. Douglas Fernando Fischer described the same mechanism on links to Brazilian Internet exchanges (IX) in 2018, where most flooded packets went to participants whose routers kept ARP for four hours; raising the switch's ageing helps, and matching the ARP and MAC timers makes sense. At exchange points the cure can be architectural: RFC 9161 (January 2022) shows that an EVPN (Ethernet virtual private network) proxy ARP/ND (Neighbor Discovery) function, with static entries for every participant, suppresses ARP/ND and unknown unicast flooding in the peering network. Storm control can bound it, but check whether a platform counts all unicast or only unknown unicast: Huawei's display separates UC (unicast) from UUC (unknown unicast), and Fortinet's storm control counts unknown unicast as its own type.
Neighbours. BUM traffic, the MAC address table, transparent bridging, topology change notification, MAC flooding, storm control and ARP.
Also known as: unknown unicast, unicast flooding, unicast flood, flooding, unicast storm
Sources
- Cisco, Unicast Flooding in Switched Campus Networks, document 23563, updated 8 February 2016 (read 2026-11-23) (summary): unknown destination flooded to all forwarding ports of the VLAN; causes asymmetric routing, topology change notifications shortening ageing, forwarding table overflow; fixes: align ARP timeout and ageing, PortFast, port security, switchport block unicast
- Radia Perlman, Digital Equipment Corporation, An Algorithm for Distributed Computation of a Spanning Tree in an Extended LAN, 1985 (read 2026-11-23): the forwarding data base of station and link, built from source fields; flood to all links but the arrival link when no entry exists; do not forward when the entry points to the arrival link; infinitely circulating packets
- Juniper Networks, MAC Table Aging (read 2026-11-23): the Ethernet switching table, also called the MAC table, organized by VLAN; unknown destinations flooded to the VLAN's other interfaces; flooding lets the switch learn
- Huawei, S12700 and S12700E V200R023C10 Command Reference, MAC Address Table Configuration Commands (read 2026-11-23) (read in a browser): display mac-address with H-H-H addresses; ageing default 300 s, 0 or 60 to 1,000,000; deletion after twice the ageing time; flapping detection on by default with error-down and quit-vlan actions; hash modes crc16 and crc32, default crc32-lower; hash conflicts make it fail to learn and broadcast
- Ivan Pepelnjak, On ARP and MAC Aging Timers, ipSpace.net, May 2026 (read 2026-11-23): EOS defaults of 4-hour ARP and 5-minute MAC ageing; the 5-minute timer as a guessed compromise
- Douglas Fernando Fischer, Unicast Storm em link para o IX, GTER 45, 22 May 2018, NIC.br registro.br (read 2026-11-23): unicast flooding on IX links from asymmetric paths, ARP 4 h against MAC ageing 5 min; matching the timers
- Cisco, Catalyst 9300 IOS XE 17.12 Security Configuration Guide, Port-Based Traffic Control, updated 28 July 2023 (read 2026-11-23) (summary): storm control on broadcast, multicast or unicast, percentage, bps or pps, 1-second interval, rising and falling thresholds, filtering by default, shutdown or trap actions; disabled by default
- Linux kernel documentation, Ethernet Bridging (read 2026-11-23): forwarding by destination MAC and VLAN tag; FDB ageing default 300 s, 0 never ages; per-port unicast, multicast and broadcast flood flags
- NIST National Vulnerability Database (NVD), CVE-2025-20316, record through the NVD API (read 2026-11-23): on Cisco Catalyst 9500X and 9600X switches, traffic from an unlearned MAC address flooded on a switch virtual interface with an egress ACL could bypass that ACL; an attacker can cause it by making the VLAN flush its MAC table, and a full table has the same effect; published 24 September 2025
- IETF, RFC 9161, Operational Aspects of Proxy ARP/ND in EVPN Networks, J. Rabadan (editor), S. Sathappan, K. Nagaraj, G. Hankins and T. King, January 2022 (read 2026-11-23): in an Internet exchange point's peering network roughly all broadcast, unknown unicast and multicast traffic comes from ARP and ND, handled in routers' slow path; proxy ARP/ND reduces it and, with static entries, suppresses ARP/ND and unknown unicast flooding
- RFC 7348, Virtual eXtensible Local Area Network (VXLAN), M. Mahalingam and others, August 2014, Independent Submission, Informational (read 2026-11-23): a 24-bit segment identifier; top-of-rack MAC tables must learn the virtual machines' addresses, and if the table overflows the switch may stop learning until idle entries age out, flooding unknown destination frames; data-plane learning with IP multicast carrying unknown destination, broadcast and multicast frames
- arp(7), Linux manual page, man7.org (read 2026-11-23): the kernel ARP cache and its /proc tunables; base_reachable_time 30 s (valid for a random time between half and one and a half times it), delay_first_probe_time 5 s, gc_stale_time 60 s, gc_thresh1, gc_thresh2 and gc_thresh3 of 128, 512 and 1,024 entries, locktime 1 s, ucast_solicit and mcast_solicit 3, unres_qlen 3; permanent entries never garbage-collected
- Fortinet, FortiSwitchOS 7.2.1 Administration Guide, Dynamic MAC address learning (read 2026-11-23): learning on or off per port, unknown sources dropped or forwarded when off; learning limit 1 to 128 per interface or VLAN, 0 (the default) meaning none; since 7.0.2 a shutdown action on violation; learned addresses deleted after 300 s by default (10 to 1,000,000, 0 never); a learning-limit violation log
- Fortinet, FortiSwitchOS 7.2.3 Administration Guide, Storm control (read 2026-11-23): disabled by default; measures packets per second of unknown unicast, unknown multicast and broadcast, each enabled separately; global by default, per port since 6.2.0; rate 0 or 2 to 10,000,000, where 0 drops all packets of the enabled types; burst-size level 0 to 4 since 6.4.3