What Does Flooding Mean?
This page mentions older exam versions. See the Current Exam Context and Legacy Exam Context sections below for the updated mapping.
On This Page
Quick Definition
Flooding is what a network switch does when it gets a message but does not know which device should receive it. The switch sends the message out through every port, except the one it came in on. This makes sure the message reaches the right device, even if the switch is unsure about where that device is located. It is a basic but essential process in Ethernet networks.
Commonly Confused With
Broadcast is a type of frame with a destination MAC of FF:FF:FF:FF:FF:FF, intended for all devices. Flooding is the action a switch takes to deliver a frame whose destination is unknown. A broadcast frame is always flooded, but flooding can also apply to unicast frames with unknown destinations. The key is that broadcast is a frame type, flooding is the forwarding behavior.
A frame sent to FF:FF:FF:FF:FF:FF is a broadcast frame, and the switch will flood it. A frame sent to 00:11:22:33:44:55 that the switch does not know is a unicast frame, but the switch also floods it.
Multicast frames are sent to a group MAC address that represents multiple devices. In some cases, switches treat multicast frames similarly to broadcast frames if they are not configured for IGMP snooping, meaning they flood multicast frames out all ports. However, with IGMP snooping, the switch learns which ports have group members and only forwards the multicast frame to those ports, avoiding unnecessary flooding. Flooding of multicast traffic is a behavior, not the definition.
In a network without IGMP snooping, a multicast frame for a video stream would be flooded to all ports, even if only one computer wants to watch the video. This is inefficient compared to smart forwarding.
Normal forwarding occurs when the switch has the destination MAC address in its table, so it sends the frame only out the specific port associated with that MAC. Flooding happens when the destination MAC is absent from the table. The difference is based solely on whether the MAC address is known or unknown. Normal forwarding is efficient; flooding is a fallback.
If a switch knows that MAC address 00:11:22:33:44:55 is on port 5, it forwards the frame only to port 5. If it does not know that MAC, it floods the frame to all ports except the source port.
Must Know for Exams
Flooding is a fundamental concept tested in several major IT certification exams, including CompTIA Network+, Cisco CCNA, and Juniper JNCIA. In the CompTIA Network+ exam (N10-008 or N10-009), flooding appears under the domain of network operations and network troubleshooting. Candidates must understand how switches process frames and differentiate between unicast, broadcast, and multicast traffic.
Exam questions may present a scenario where a network technician notices high bandwidth usage on all ports after a new device is connected, and the candidate must identify that flooding from unknown unicast frames is the cause. The exam also tests knowledge of how switches learn MAC addresses and the impact of MAC table aging. In the Cisco CCNA exam (200-301), flooding is covered in depth within the Switching, VLANs, and Wireless domain.
Candidates must know the exact process of frame forwarding: when a switch receives a frame with an unknown destination MAC, it floods the frame out all ports except the ingress port. CCNA often includes questions about how flooding interacts with VLANs, and how trunk ports handle flooded frames. CCNA scenarios may ask what happens when a switch receives a broadcast frame, which the correct answer is that broadcast frames are always flooded.
CCNA tests knowledge of how STP prevents the dangers of flooding loops. For the Juniper JNCIA-Junos exam, flooding is covered in the Bridging and VLANs section. Juniper-specific questions may focus on how the Junos operating system handles unknown unicast flooding, and how to configure storm control to limit flooding rates.
In all these exams, common question types include multiple-choice, drag-and-drop, and simulation or lab-style questions. For example, a simulation might ask the candidate to look at a switch’s MAC address table output and determine which ports will receive a frame with a given destination MAC. The answer requires understanding that if the MAC is missing from the table, the frame is flooded to all ports in the same VLAN except the source port.
The candidate may also be asked to identify the cause of a broadcast storm, which is often linked to flooding loops. Understanding flooding is therefore not optional; it is a core exam objective.
Simple Meaning
Imagine you are in a large office building and you need to deliver an important envelope to a specific person, but you do not know which desk they sit at. The building has many floors and many rooms. One way to find that person is to knock on every door, on every floor, asking if this person is there, until you finally find them.
That is basically what flooding does in a computer network. A switch is a device that connects computers (and other devices) together so they can talk to each other. Each computer has its own unique address, called a MAC address, which is like a name tag.
The switch normally keeps a table, like a little address book, that tells it which address is connected to which port (the physical plug where a cable goes in). When a message (called a frame) arrives at the switch, the switch looks up the destination address in its book. If the address is in the book, the switch sends the frame only out the correct port, directly to that device.
This is efficient. But if the address is not in the book, the switch cannot look it up. It does not know where to send the frame. So, to make sure the frame is not lost, the switch sends a copy of that frame out every single port, except the one it came from.
This process is called flooding. Once the intended device receives the frame, it will usually send a reply back through the switch, which teaches the switch its address and port location. So, flooding is like a temporary, brute-force method that the switch uses while it is still learning the network layout.
It is a guaranteed way to deliver the frame, but it also uses up more network capacity because many copies of the same frame are sent. It is a fundamental behavior for switches, especially when they first start up or when a new device joins the network.
Full Technical Definition
Flooding is a data transmission function performed by network switches operating at Layer 2 (Data Link layer) of the OSI model, specifically within Ethernet networks. When a switch receives a frame, it examines the destination MAC address contained in the frame header. The switch then references its MAC address table, also known as a content-addressable memory (CAM) table, which maps MAC addresses to specific switch ports.
If the destination MAC address is not found in this table, the switch cannot determine the correct egress port. In this situation, the switch performs flooding: it forwards the frame out through every port except the ingress port where the frame was received. This behavior is defined in the IEEE 802.
1D standard for bridging and switching, which specifies that unknown unicast frames must be flooded to ensure delivery. The switch will also flood broadcast frames (destination MAC address FF:FF:FF:FF:FF:FF) because they are intended for all devices on the broadcast domain. Multicast frames may be flooded if the switch does not have multicast group membership information.
The process of flooding is a fundamental aspect of transparent bridging, which allows switches to operate without manual configuration. The switch learns the MAC address of the sending device by recording its source MAC address and the associated ingress port when a frame arrives. Over time, the switch builds its MAC address table through this learning process.
However, flooding is still necessary for frames destined to unknown addresses. Flooding has important performance implications because it generates redundant traffic. In a large network with many switches and devices, excessive flooding can lead to congestion and reduced throughput.
To mitigate these effects, network administrators often implement VLANs (Virtual Local Area Networks) to segment broadcast domains and reduce the scope of flooding. Spanning Tree Protocol (STP) is also critical because it prevents loops that could cause multiple switches to flood frames indefinitely, creating broadcast storms. An important technical detail is that flood behavior differs for unicast, broadcast, and multicast frames.
For unicast frames, flooding only occurs when the destination MAC is unknown to the switch. Broadcast frames are always flooded. Multicast frames may be flooded or forwarded selectively depending on IGMP snooping configuration.
In modern enterprise switches, flooding is a controlled process, but it remains a primary cause of network inefficiency if the MAC address table is not properly populated or if the network has many transient devices.
Real-Life Example
Think about a large hotel with hundreds of rooms, each room having a guest. The front desk clerk is like a network switch, and each room is like a device connected to a specific port. The clerk has a registration book that lists the name of every guest and which room they are staying in.
This is like the switch’s MAC address table. Most of the time, when someone calls the front desk and asks for a specific guest by name, the clerk looks in the book, finds the room number, and sends a message directly to that room. That is efficient unicast forwarding.
Now imagine a new guest arrives, checks in, and goes straight to their room without registering. The clerk does not know which room that guest is in. Later, a phone call comes for that new guest.
The clerk does not have the room number in the book. To make sure the message gets to the guest, the clerk picks up the hotel’s intercom system and broadcasts the message over every single room’s speaker, saying something like, ‘Message for Mr. Smith, please come to the front desk.
’ The message goes to every room, even the one where the guest is staying. This is exactly like flooding. The switch does not know the destination, so it sends the frame out every port.
The downside is that every other guest (device) hears a message that is not for them, which is a waste of airtime, just like flooded frames waste network bandwidth. Eventually, when the new guest responds to the message (by coming to the front desk or calling back), the clerk learns which room they are in, and adds that information to the registration book. From then on, any messages for that guest go directly to their room without disturbing everyone else.
This map between the hotel guest and the switch’s MAC address table learning shows exactly how flooding works as a temporary but necessary mechanism for delivering data when a switch has incomplete knowledge of the network.
Why This Term Matters
Flooding matters because it is a core behavior that ensures data delivery in Ethernet networks, especially when a switch is still learning about connected devices. Without flooding, any frame sent to an unknown destination would simply be dropped, which would break network communication for any new device that joins, or for any device that has been silent for a while and whose MAC address has timed out of the switch’s table. For IT professionals, understanding flooding is essential for diagnosing network performance issues.
In a well-designed network, flooding should be relatively rare because the switch’s MAC table is well-populated with active devices. However, problems arise when flooding becomes excessive, such as in a network with many devices that frequently change, or if there is a loop in the network topology causing the same frame to be flooded repeatedly. Excessive flooding can degrade network performance because it creates unnecessary traffic that consumes bandwidth on every link.
It can also cause switches to use more CPU resources to process the flooded frames. Network administrators need to know how to monitor the rate of flooding on their switches, often using tools like Simple Network Management Protocol (SNMP) to track MAC table statistics and flood counters. They also need to implement best practices like configuring port security, using VLANs to limit broadcast domains, and enabling features like Dynamic ARP Inspection to prevent certain types of flooding attacks.
In larger networks, flooding can be a vector for security issues, such as MAC flooding attacks, where an attacker sends many frames with different source MAC addresses to fill the switch’s MAC table, forcing the switch into a fail-open mode where it floods all traffic. This allows the attacker to eavesdrop on traffic that would otherwise be switched only to specific ports. Therefore, understanding flooding is not just about how switches work, but also about maintaining network performance, security, and reliability.
How It Appears in Exam Questions
Flooding appears in exam questions in several distinct patterns. One common pattern is the scenario-based question, where a network administrator notices that after connecting a new computer to a switch, the network performance degrades noticeably. The question asks what is happening, and the correct answer is that unknown unicast frames from the new device are being flooded out all ports, causing unnecessary traffic.
The distractor options might include duplex mismatch, incorrect cable type, or a virus, so candidates must recognize the specific symptom of increased broadcast or unknown traffic. Another pattern is the configuration question, often seen in CCNA, where a candidate is given a diagram of a small network with two switches connected by a trunk link. Devices are connected to each switch.
The question asks: if PC-A (connected to Switch1) sends a frame to PC-B (connected to Switch2), and Switch2 does not have PC-B’s MAC address in its table, what will Switch2 do? The correct answer is that Switch2 will flood the frame out all ports in the same VLAN except the port it received the frame on, which includes the port connected to PC-B. A variation of this is a troubleshooting question where a candidate is shown the MAC address table of a switch and a specific frame arrives.
They must decide which ports will receive the frame. If the destination MAC is not in the table, the answer is all ports in the same VLAN, except the ingress port. Another common pattern involves understanding the difference between how a switch handles a unicast frame with a known MAC (forwarding only to that port) versus an unknown MAC (flooding).
Questions also test the concept of broadcast frames, which are always flooded. A candidate might be asked: what is the difference between a broadcast frame and an unknown unicast frame? The answer: a broadcast frame is always flooded, while an unknown unicast frame is flooded only when the destination MAC is not in the table.
There are also security-related questions. For example, a scenario describes a switch that suddenly begins flooding all traffic, and the candidate must identify a potential MAC flooding attack. The solution might involve configuring port security or enabling DHCP snooping.
Finally, simulation questions in CCNA require candidates to examine a switch’s running configuration, mac address-table, and interface statistics to diagnose why a particular device is not receiving frames. They might need to identify that the switch is flooding frames because it has not learned the MAC address, possibly due to a misconfigured VLAN or a loop causing the MAC table to be unstable.
Practise Flooding Questions
Test your understanding with exam-style practice questions.
Example Scenario
A company has a small network with a 24-port switch that connects 20 employees’ computers. The switch has been running for months, so its MAC table contains the MAC addresses of all 20 computers, each mapped to the correct port. One day, an employee in the marketing department brings a laptop from home and connects it to the network to access the internet.
The laptop has a MAC address of AA:BB:CC:DD:EE:01. The switch has never seen this MAC address before. When the laptop sends its first data packet, which is a DHCP request to get an IP address, the switch receives it on port 12.
The switch learns that MAC address AA:BB:CC:DD:EE:01 is associated with port 12, and adds that entry to its MAC table. Now, the DHCP server, which is connected to port 24, responds with an IP address offer. The DHCP server sends a unicast frame to the laptop’s MAC address.
The switch receives this frame on port 24 and checks its MAC table for AA:BB:CC:DD:EE:01. It finds the entry and forwards the frame out only port 12, directly to the laptop. This is efficient.
A few hours later, the laptop is idle and the switch’s MAC table aging timer, which is typically 300 seconds, expires for that entry. The switch removes AA:BB:CC:DD:EE:01 from its table. Now, if the laptop sends a request to a printer, the switch receives that frame but has no entry for the destination printer’s MAC address.
The switch does not know where the printer is. To ensure the frame reaches the printer, the switch floods the frame out all its ports, including the ones connected to the printer, the DHCP server, and even other employee computers. The printer receives the frame, and the switch learns the printer’s MAC address from the response.
The other computers also receive this frame, but their network interfaces recognize that the destination MAC address is not theirs, so they drop it. This flooding scenario causes a brief inefficiency, but it is how the switch guarantees that no frame is lost when its knowledge is incomplete.
Common Mistakes
Believing that a switch always floods unicast frames to all ports.
A switch only floods unicast frames when the destination MAC address is not in its MAC address table. If the MAC address is known, the switch forwards the frame only out the specific port mapped to that address. Flooding is the exception, not the rule, for unicast frames.
Remember that switches learn MAC addresses and then use those learned entries to forward frames selectively. Flooding only happens when the destination is unknown.
Thinking that flooding is the same as broadcasting.
Flooding and broadcasting are related but distinct concepts. Broadcasting is a frame sent to the broadcast MAC address (FF:FF:FF:FF:FF:FF), which is always flooded. Flooding is the action of sending a frame out all ports, regardless of the destination address. A broadcast frame is always flooded, but a unicast frame can also be flooded if the destination is unknown. All broadcasts are flooded, but not all flooded frames are broadcasts.
Understand that flooding is the technique, and broadcasting is the type of frame. Both lead to the same switch behavior, but the trigger is different.
Assuming that flooding only occurs when a switch first powers on.
Flooding can occur at any time, not just at startup. The switch’s MAC address table has an aging timer; entries are removed after a period of inactivity (typically 300 seconds). If a device is idle for that long and then sends a frame, the switch may need to flood again. Also, new devices joining the network will cause flooding until their MAC address is learned. Flooding is an ongoing process in any dynamic network.
Remember that MAC table entries expire due to aging. The switch continuously learns and forgets MAC addresses, so flooding can happen repeatedly for the same device if it is not active constantly.
Confusing flooding with a broadcast storm.
A broadcast storm is a specific problem caused by a network loop where flooded frames circulate endlessly, consuming bandwidth. Flooding itself is a normal, necessary function of a switch. It only becomes a problem when loops exist and the switch keeps re-flooding the same frame, multiplying traffic exponentially.
Flooding is normal behavior. A broadcast storm is a pathological condition caused by loops and lack of Spanning Tree Protocol. Flooding does not cause a storm unless there is a loop.
Thinking that flooding always causes network problems.
Flooding is a fundamental and required behavior for Layer 2 switching. Without flooding, many frames would be dropped, and communication to unknown devices would be impossible. In small networks, occasional flooding has negligible impact. It is designed to be a temporary solution until the switch learns the correct port.
Flooding is not inherently bad. It is a necessary fallback mechanism. Problems arise only if flooding is excessive due to attacks, misconfigurations, or loops.
Exam Trap — Don't Get Fooled
{"trap":"When a switch receives a frame with a destination MAC address that is not in its MAC table, the switch drops the frame.","why_learners_choose_it":"Learners often assume that if a switch does not know where a device is, it must be safer to drop the frame to avoid wasting bandwidth. This seems logical, but it is incorrect.
The foundational design of Ethernet switches prioritizes delivery over efficiency when the path is unknown.","how_to_avoid_it":"Memorize the exact behavior: a switch never drops a frame just because the destination MAC is unknown. Instead, it floods the frame to all ports in the same VLAN (except the source port).
This is a key exam point. If you see a question about an unknown unicast frame, immediately think ‘flood’ not ‘drop’. Think of flooding as the switch’s way of saying ‘I do not know where this goes, but I will make sure it gets there somehow.
Step-by-Step Breakdown
Frame Arrives at Switch
The switch receives an Ethernet frame on one of its ports. The frame contains a source MAC address (the sender) and a destination MAC address (the intended recipient). The switch also records the ingress port number where the frame arrived.
Source MAC Learning
The switch examines the source MAC address and the associated ingress port. It checks its MAC address table to see if this source MAC is already recorded. If it is new, the switch adds an entry mapping that MAC address to that port. If it already exists and the port matches, the switch optionally resets the aging timer for that entry.
Destination MAC Lookup
The switch now looks at the destination MAC address in the frame. It searches its MAC address table for a matching entry. This lookup determines whether the switch knows the correct egress port for this destination.
Decision: Forward or Flood
If the destination MAC is found in the table, the switch forwards the frame out only the port listed in that entry. This is efficient unicast forwarding. If the destination MAC is not found, the switch prepares to flood the frame.
Flooding the Frame
The switch makes a copy of the frame, and sends it out every port in the same VLAN, except the port on which the frame was originally received. This includes trunk ports, access ports, and all other ports that belong to the same broadcast domain.
Receiving Device Responds
The intended device, which is connected to one of those ports, receives the flooded frame. This device processes the frame and typically sends a response back to the switch. When the response frame arrives, the switch learns the device’s MAC address and its port, adding it to the MAC table.
MAC Table Update and Future Forwarding
After learning the MAC address, the switch now has a direct mapping. Any subsequent frames sent to that destination will be forwarded directly to the correct port, without flooding. This completes the learning cycle, and the network becomes more efficient.
Practical Mini-Lesson
In a real-world network, flooding is a constant but normally low-volume activity. As a network professional, you need to know how to monitor and manage flooding. The first practical skill is understanding how to examine a switch’s MAC address table.
On a Cisco switch, you use the command ‘show mac address-table’ to see all learned addresses. You can also filter by VLAN with ‘show mac address-table vlan 10’. If you notice that a particular switch has a very small MAC table compared to the number of devices connected, that could indicate that the MAC table is not populating correctly, perhaps due to a misconfigured VLAN or a loop causing MAC flapping (the same MAC address appearing on different ports intermittently).
Another practical area is managing the aging time. By default, most switches have a MAC aging timer of 300 seconds. If your network has many devices that go to sleep and wake up, you might see frequent flooding when they wake up.
You can adjust the aging timer with the command ‘mac address-table aging-time 600’ to keep entries longer, reducing flooding. However, longer aging times can lead to stale entries if devices are moved, so you must balance this. You should be aware of the impact of flooding on network security.
A common attack is MAC flooding, where a device sends many frames with different source MAC addresses to fill the switch’s MAC table. When the table is full, the switch often enters a fail-open mode where it floods all frames, effectively behaving like a hub. This allows the attacker to see traffic destined for other devices.
To protect against this, you configure port security. On a Cisco switch, you can limit the number of MAC addresses allowed on a port with ‘switchport port-security maximum 1’ and set the violation mode to ‘shutdown’ or ‘restrict’. This prevents an attacker from flooding the table.
Another key practical point is understanding that flooding is per VLAN. If you have multiple VLANs, flooding in one VLAN does not affect the others. This is why segmenting a network into VLANs reduces the scope of flooding and improves performance.
Finally, you should know how to check the rate of flooding using switch counters. Commands like ‘show interface Gi0/1’ will show incrementing broadcast and multicast counters. If the numbers grow rapidly, it could indicate a problem.
Practical management of flooding involves monitoring the MAC table, tuning aging timers, implementing port security, and using VLANs to limit broadcast domains.
Memory Tip
UNKNOWN = FLOOD. If the destination MAC is unknown to the switch, the switch floods the frame out all ports (except the source). Remember: Unknown equals Flood.
Covered in These Exams
Current Exam Context
Current exam versions that test this topic — use these objectives when studying.
Legacy Exam Context
Older materials may mention these exam versions, but learners should use the current objectives for their target exam.
N10-008N10-009(current version)Related Glossary Terms
5G is the fifth generation of cellular network technology, designed to deliver faster speeds, lower latency, and support for many more connected devices than previous generations.
AAA (Authentication, Authorization, and Accounting) is a security framework that controls who can access a network, what they are allowed to do, and tracks what they did.
An A record is a type of DNS resource record that maps a domain name to an IPv4 address.
An AAAA record is a DNS record that maps a domain name to an IPv6 address, allowing devices to find each other over the internet using the newer IP addressing system.
Frequently Asked Questions
Does flooding happen only when a switch first boots up?
No, flooding can happen at any time. The switch’s MAC address table ages out entries after a period of inactivity (usually 300 seconds). If a device is idle for that long, the entry is removed. When that device sends a frame again, flooding may occur until the switch re-learns the destination.
What is the difference between flooding and a broadcast storm?
Flooding is a normal and necessary switch behavior when it does not know the destination MAC. A broadcast storm is a network problem caused by loops, where flooded frames circulate and multiply endlessly, quickly consuming all available bandwidth. Flooding is the cause, but a storm happens only when loops are present.
How can I see if my switch is flooding frames?
You can check the switch’s interface statistics using commands like ‘show interface’ or ‘show port counters’. Look for increasing counts of broadcast or multicast frames. You can also examine the MAC address table size; if it is much smaller than the number of active devices, flooding may be more frequent because many frames are not being learned.
Can flooding cause security issues?
Yes, in a MAC flooding attack, an attacker sends many frames with random source MAC addresses to fill the switch’s MAC table. When the table is full, the switch may fail open and start flooding all traffic, allowing the attacker to eavesdrop on communications. Port security can prevent this by limiting the number of MAC addresses allowed per port.
Is flooding always bad for network performance?
Not necessarily. In small networks with occasional unknown frames, flooding has minimal impact. It becomes problematic when it is excessive, such as in networks with many transient devices or loops. Proper network design with VLANs and STP minimizes the negative effects of flooding.
Do all switches flood frames the same way?
Yes, the fundamental behavior is the same across all standard Ethernet switches that follow IEEE 802.1D. However, different vendors may have slight differences in how they handle edge cases (like flooding on trunk ports or with certain security features). The core behavior of flooding unknown unicasts and always flooding broadcasts is universal.
Summary
Flooding is a fundamental mechanism in Ethernet switching that ensures frames reach their destination even when the switch does not have the destination MAC address in its forwarding table. It works by copying the incoming frame and sending it out every port except the one it came from. This behavior is essential for network operation because it allows devices to communicate without requiring the switch to have pre-existing knowledge of every device’s location.
The process is closely tied to the switch’s MAC address learning: the switch learns the source MAC of every frame it receives, and it uses that knowledge to avoid flooding in the future. For IT professionals and certification candidates, understanding flooding is crucial because it appears in multiple contexts: normal switch operation, troubleshooting performance issues, and security vulnerabilities. In exams like CompTIA Network+ and Cisco CCNA, you will be tested on the exact conditions under which flooding occurs, how it differs from broadcasting, and what happens when problems like loops or MAC flooding attacks occur.
The key takeaway is that flooding is not inherently bad-it is a necessary function. The challenge is managing its impact through proper network segmentation, use of Spanning Tree Protocol, and security measures like port security. As a network technician, you should be able to identify when flooding is normal versus when it indicates a problem.
Always remember: an unknown destination leads to flooding. This simple rule will help you in both troubleshooting and exam questions. By mastering this concept, you build a strong foundation for understanding more complex switching topics like VLANs, trunking, and STP.