Network fundamentalsIntermediate22 min read

What Does Unknown unicast Mean?

Reviewed byJohnson Ajibi· Senior Network & Security Engineer · MSc IT Security

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

When a switch receives a frame but doesn't know which port the destination device is on, it must flood the frame out all ports except the one it arrived on. This is called an unknown unicast because the destination MAC address is not known to the switch. Flooding helps ensure the frame eventually reaches the correct device, but it can also waste bandwidth and create security risks if it happens too often.

Commonly Confused With

Unknown unicastvsBroadcast

A broadcast frame has a destination MAC of FF:FF:FF:FF:FF:FF, which every device must process. An unknown unicast has a specific MAC address that the switch does not know. While both are flooded, broadcast is intentional and used for protocols like ARP, while unknown unicast is a result of missing information in the MAC table.

A switch receives a frame with destination MAC FF:FF:FF:FF:FF:FF, it is a broadcast, always flooded. A frame with destination MAC 00:1A:2B:3C:4D:5E that is not in the table, it is an unknown unicast, flooded until learned.

Unknown unicastvsMulticast

Multicast frames are sent to a group MAC address (e.g., 01:00:5E:xx:xx:xx) and are typically forwarded using IGMP snooping, not just flooding. Unknown unicast is for a specific host MAC address. A switch may also flood multicast if IGMP snooping is not enabled, but the operational reason is different.

A video conference using a multicast address, the switch forwards it only to subscribed ports. A frame to a single device with unknown MAC, the switch floods it to all ports.

Unknown unicastvsKnown unicast

A known unicast is a frame whose destination MAC is in the switch's table, so the switch can forward it directly to the specific port. Unknown unicast requires flooding because the destination is not in the table.

PC-A sends a frame to PC-B, and the switch knows PC-B is on port 2, it sends only out port 2 (known unicast). If the switch didn't know PC-B, it would flood (unknown unicast).

Must Know for Exams

Unknown unicast is a core concept for several major IT certification exams, including the CompTIA Network+ (N10-008 and N10-009), Cisco CCNA (200-301), and Juniper JNCIA-Junos. In CompTIA Network+, the term appears under 'Network Operations' and 'Network Troubleshooting' domains. You need to understand how switches use MAC address tables and what happens when an unknown MAC address is encountered. Specifically, the objective requires you to explain the switching process, including flooding for unknown unicasts, and to know how to use command line tools to verify MAC tables (e.g., 'show mac address-table' on Cisco or 'show ethernet-switching table' on Juniper).

For the Cisco CCNA, unknown unicast is a fundamental part of the 'Switching Fundamentals' section. Questions often test your knowledge of how a Layer 2 switch processes a frame: if the destination MAC is not in the CAM table, the switch floods it. You may also be asked about the effect of VLANs on flooding, unknown unicast flooding occurs only within the same VLAN, not across VLANs. CCNA exam questions can present a topology and ask you to determine how many ports a frame will be flooded out of, given the MAC table state and the VLAN configuration.

In Juniper JNCIA, the concept is similar but with Junos-specific commands and architecture. You might need to know that the Ethernet switching table for unknown unicast forwarding works the same way, and how to configure storm control to limit unknown unicast traffic. The exam also tests knowledge of the 'flood-next-hop' concept in Junos.

For general IT certification exams, you may see multiple-choice questions asking: 'What does a switch do when it receives a frame with an unknown destination MAC address?' The correct answer is 'Floods the frame out all ports except the incoming port.' The traps often include 'drops the frame' or 'sends it to the default gateway.' Another common question is about the effect on performance: 'Which type of traffic can cause excessive flooding in a switch?' Answer: 'Unknown unicast frames.' You should also know that the MAC address table is built by examining source MAC addresses. Exam authors love to test whether you can differentiate between unknown unicast, broadcast, and multicast flooding. With broadcast, the frame is flooded regardless of the destination address (FF:FF:FF:FF:FF:FF). With unknown unicast, the flooding happens only when the MAC address is not known. This subtle difference appears in exam scenarios where you must decide what happens to a specific frame.

Simple Meaning

Imagine you are working at the front desk of a large office building. You have a list that tells you exactly which desk each employee sits at. That list is like a switch's MAC address table, it maps each employee's name (MAC address) to their desk (port). When a delivery arrives for an employee, you check your list to see which desk to send it to.

Now, what happens if an employee you have never seen before sends a package to another employee, and you do not have the recipient's desk number in your list? You cannot just leave the package at the front desk, it needs to reach the person. So you have to ask everyone in the building, 'Does this package belong to you?' You send a message to every floor and every office, hoping the right person hears you and responds. That is exactly what a switch does with an unknown unicast frame. It sends the frame out every port (except the one it came from), flooding the entire network until the correct device replies.

Once the correct device responds, the switch learns which port that device is on and adds it to its table. The next time a frame needs to go to that device, the switch can send it directly without flooding. The problem is that flooding uses up bandwidth and can make the network slower, especially if the MAC address table is small or if there are many unknown destinations. This is why network engineers try to keep MAC address tables healthy and avoid excessive unknown unicast traffic.

Full Technical Definition

An unknown unicast is a Layer 2 Ethernet frame that arrives at a switch with a destination MAC address that is not present in the switch's CAM (Content Addressable Memory) table, also called the MAC address table. When this occurs, the switch cannot determine the correct egress port for the frame. According to the IEEE 802.1D bridging standard, the switch must then flood the frame out all active ports within the same VLAN, except the ingress port where the frame was received. This behavior ensures that the frame eventually reaches the intended destination if that device is connected to the network, relying on the destination device to respond and thus allow the switch to learn its MAC address-to-port mapping.

The CAM table in a switch is built dynamically by examining the source MAC addresses of incoming frames. Each time a frame arrives on a port, the switch records the source MAC address and associates it with that port, adding an entry to the table with an aging timer (typically 300 seconds). If no frames are received from that source within the aging period, the entry is removed. A MAC address is considered 'unknown' either because it has never been learned, because its entry has aged out, or because the switch was rebooted and the table was cleared. In networks with asymmetric routing or where devices send traffic destined for hosts behind a router (e.g., a default gateway), the MAC address of the remote host may not be in the local switch table, triggering unknown unicast flooding.

Flooding unknown unicasts can have serious performance implications, especially in large broadcast domains. It consumes bandwidth on all links, wastes CPU cycles on switches and end devices that must inspect the flooded frames, and poses a security risk because the frames are sent to unintended recipients (though switches do not forward frames to other VLANs). Network engineers use techniques to mitigate excessive unknown unicast flooding. These include: enabling port security to limit the number of MAC addresses per port, using VLANs to reduce broadcast domain sizes, configuring MAC address aging timers appropriately, implementing storm control to limit unknown unicast flooding rates, and in some enterprise networks, using features like 'Unknown Unicast Flooding (UUF) control' or 'Unicast Flood Suppression'. Spanning Tree Protocol (STP) also plays a role by ensuring there are no loops that could cause unknown unicast frames to circulate endlessly. Unknown unicast is a normal but controlled behavior in Ethernet switching that balances reliability with network efficiency.

Real-Life Example

Think of a large hotel with hundreds of rooms. The front desk (the switch) has a registration book (MAC address table) that lists each guest's name and their room number. When a guest wants to send a message to another guest, they bring it to the front desk. The front desk clerk checks the registration book to see which room the recipient is in.

If the recipient's name is in the book, the clerk sends a bellhop directly to that room, that is a known unicast, efficient and fast. But if the recipient checked in just a few minutes ago and the clerk hasn't added their name to the book yet, the clerk doesn't know which room to send the message to. The clerk cannot just throw the message away, it might be important. So the clerk sends a bellhop to every single room in the hotel, knocking on each door and asking, 'Is this guest here?' This is the unknown unicast flood.

Eventually, the correct guest opens their door and receives the message. The bellhop then runs back to the front desk and says, 'I found them, they are in room 214.' The clerk writes that down, so next time a message comes for that guest, it goes directly to room 214 without bothering everyone else. This is exactly how a switch learns MAC addresses. The problem is that flooding wastes the bellhop's time and annoys all the other guests who didn't need the message. In a network, that wasted time is bandwidth, and the annoyed guests are devices that have to process unwanted frames. That is why network administrators try to keep the MAC address table well-populated and fresh, so unknown unicast floods happen as rarely as possible.

Why This Term Matters

Understanding unknown unicast is crucial for anyone managing or troubleshooting a local area network, because it directly affects network performance, security, and reliability. In a typical office network, switches are the backbone connecting all devices. If the MAC address tables on these switches are not properly maintained, excessive unknown unicast flooding can consume a large percentage of available bandwidth. For example, in a flat network with many devices talking to many others, like in a school or a busy office, a switch that floods unknown unicasts can cause congestion on uplinks, slowing down traffic for everyone. This is especially problematic in networks with slow links or where voice and video traffic need consistent low latency.

From a security perspective, unknown unicast flooding sends frames to ports where they are not intended. While switches do not forward these frames out of the VLAN, any device on the same VLAN can potentially see the flooded frame. If an attacker is connected to one of those ports, they can capture these frames using a packet sniffer, leading to information leakage. This is one reason why network segmentation using VLANs is recommended, it limits the scope of flooding to a smaller broadcast domain.

unknown unicast behavior is a key concept in understanding how switches learn and age out MAC addresses. Network engineers must configure aging timers carefully: too short and the table empties often, causing more floods; too long and stale entries can cause frames to be sent to wrong ports when a device moves. Features like MAC address notification, port security, and storm control are all designed to manage unknown unicast flooding. Therefore, mastering this concept helps in designing efficient networks, troubleshooting performance issues, and passing certification exams that cover Layer 2 switching fundamentals.

How It Appears in Exam Questions

Exam questions typically present a network scenario with a switch and several connected devices. You might be shown a partial MAC address table and asked what the switch will do when it receives a frame with a specific destination MAC. For example: 'Switch SW1 has the following MAC table entries: MAC-A on port 1, MAC-B on port 2. A frame arrives on port 3 with source MAC-C and destination MAC-D. What does SW1 do?' The answer: The switch will add MAC-C to the table associated with port 3, and then flood the frame out ports 1 and 2 (because MAC-D is unknown). You must also remember that the frame is not sent back out the port it arrived on, this is a critical detail.

Another common question pattern involves VLANs. For instance: 'A switch has two VLANs configured: VLAN 10 and VLAN 20. A frame with unknown destination MAC arrives on an access port in VLAN 10. Out which ports will the switch flood the frame?' The answer: All other ports that are in VLAN 10, including trunk ports carrying VLAN 10. Ports in VLAN 20 will not receive the frame. This tests your understanding that flooding is VLAN-specific.

Configuration questions may ask you to identify the command to view the MAC address table (e.g., 'show mac address-table' on Cisco) or to configure a feature that limits unknown unicast flooding, such as 'storm-control unicast level pps 100' on Cisco switches. Troubleshooting scenarios might describe a network slowdown and ask what could be the cause. The answer could be 'a large amount of unknown unicast flooding due to a device with an incorrect MAC address sending frames to many destinations.' You might also see a question about the aging timer: 'A network engineer notices that the switch is flooding many unknown unicasts. The MAC address table entries seem to disappear quickly. What should the engineer check?' Answer: The MAC address table aging timer.

exam questions sometimes ask about security implications. For example: 'What is a risk of excessive unknown unicast flooding?' The risk is that an attacker on the same VLAN can sniff flooded frames, potentially capturing sensitive data. So you may be asked to choose a mitigation technique, such as using port security, VLAN segmentation, or enabling storm control.

Practise Unknown unicast Questions

Test your understanding with exam-style practice questions.

Practise

Example Scenario

A small office uses a single unmanaged switch to connect five computers. The computers are named PC-A, PC-B, PC-C, PC-D, and PC-E. The switch's MAC address table is initially empty. PC-A sends a frame to PC-C. The switch looks at the table and does not find PC-C's MAC address, so it floods the frame out ports 2, 3, 4, and 5 (all port except the one PC-A is on). All computers receive the frame, but only PC-C accepts it because the destination MAC address matches its own. PC-C then sends a reply frame to PC-A, with source MAC of PC-C. The switch now learns PC-C's MAC address on the port where it was received (port 3) and adds it to the table. When PC-A sends a second frame to PC-C, the switch finds PC-C's MAC address in the table and forwards the frame only out port 3. The flooding stops.

Now, suppose later that day, the network administrator unplugs PC-C and moves it to a different physical port (port 4). The switch's MAC table still has PC-C's address mapped to port 3. When PC-A sends a frame to PC-C, the switch looks up the MAC address, finds it in the table, and forwards the frame out port 3. But PC-C is no longer there, it is on port 4. The frame is sent to the wrong place and PC-C never receives it. PC-A will not get a reply, and eventually the switch's aging timer will remove the stale entry. After that, if PC-A sends another frame, the switch will treat it as an unknown unicast and flood it, eventually reaching PC-C on port 4. This scenario illustrates why aging timers are necessary and why switch ports should be secured or configured to quickly learn new MAC addresses when devices move.

Common Mistakes

Thinking that a switch drops a frame when the destination MAC is unknown.

A switch must ensure the frame reaches its destination, so it floods the frame out all ports except the ingress port. Dropping the frame would lose data and break communication.

Remember that switches flood unknown unicast frames to all ports (within the same VLAN) to find the destination.

Confusing unknown unicast with broadcast traffic.

Broadcast traffic has a special destination MAC address (FF:FF:FF:FF:FF:FF) that signals all devices must process the frame. Unknown unicast has a specific, but unrecognized, MAC address. Switches flood both, but the behavior and purpose are different.

Broadcast is destined for all; unknown unicast is destined for one device whose location the switch doesn't know.

Believing that unknown unicast flooding occurs only when a switch is first powered on.

Unknown unicasts can occur any time a MAC address entry ages out, a device is moved, or a new device is introduced. It is an ongoing process, not just at startup.

MAC address table entries age out over time, so floods happen regularly even in stable networks.

Assuming that unknown unicast flooding sends frames out all ports including the incoming port.

Switches never forward a frame back out the port it came from, this would cause loops and waste resources. The frame is flooded only out other ports in the same VLAN.

Always exclude the ingress port when counting flood ports.

Exam Trap — Don't Get Fooled

{"trap":"When a switch receives a frame with a destination MAC address that is not in the table, it will send the frame to the default gateway.","why_learners_choose_it":"Learners often think the default gateway is a fallback for unknown destinations, confusing Layer 2 forwarding (MAC-based) with Layer 3 routing (IP-based).","how_to_avoid_it":"Remember that a switch operates at Layer 2 and has no concept of a default gateway.

The default gateway is used by end devices when the destination IP is on a different subnet. Switches only look at MAC addresses and flood unknown unicasts to all ports in the VLAN."

Step-by-Step Breakdown

1

Frame arrives on ingress port

A switch receives an Ethernet frame on one of its ports. The frame contains a source MAC address and a destination MAC address. This step is the starting point for any forwarding decision.

2

Switch learns source MAC

The switch examines the source MAC address of the incoming frame and records it in the MAC address table, associating it with the port on which the frame arrived. If the entry already exists, the switch updates the timestamp to keep it fresh. This is how the table grows.

3

Lookup destination MAC in table

The switch then checks its MAC address table for the destination MAC address. If there is a match, the switch knows which port to forward the frame out of (known unicast). If there is no match, the switch proceeds to step 4.

4

Flood unknown unicast

When the destination MAC is not found, the switch must flood the frame out all ports that are in the same VLAN as the incoming port, except the ingress port. This ensures the frame reaches the intended device regardless of where it is connected.

5

Destination device responds

The destination device receives the flooded frame (since it was sent to all ports). It processes the frame and typically sends a reply. The reply frame carries the device's MAC address as the source, allowing the switch to learn its location in step 2 on the next cycle.

6

Table entry created for future frames

After the reply, the switch has an entry for that MAC address. Subsequent frames addressed to that device can now be forwarded directly (known unicast) without flooding. The entry remains until it ages out or the switch is rebooted.

Practical Mini-Lesson

In a real-world network, unknown unicast flooding is not a failure, it is the default behavior that guarantees delivery. However, a network professional must know how to manage it to maintain performance and security. The first thing to understand is the MAC address table. On a Cisco switch, you can view it with 'show mac address-table'. The output lists MAC addresses, their associated VLANs, and the ports they are on. Look for entries that are 'dynamic' (learned) versus 'static' (manually configured). For example, you might see: 'Vlan 10 - 0050.7966.6800 - DYNAMIC - Gi0/1'. This tells you that the device with that MAC is reachable via GigabitEthernet0/1 in VLAN 10.

If you suspect too many unknown unicasts are flooding, you can check the 'show interface' statistics for 'broadcast' or 'multicast' counters, but unknown unicast flooding is often not directly counted. Instead, look for excessive 'output drops' on ports or high CPU usage on the switch. Some switches provide a 'storm-control unicast level' command to limit the rate of unknown unicast frames. For example, 'storm-control unicast level pps 500' will drop unknown unicast frames if they exceed 500 packets per second. This is a common exam topic for CCNA.

What can go wrong? The most common issue is the 'MAC flap', when a MAC address appears on two different ports quickly, often due to a loop or a device moving. The switch will constantly update the table, causing frames to be forwarded to the wrong port, and eventually the unknown unicast flooding increases as entries are removed and relearned. Another problem is 'unicast flood due to asymmetric routing', for example, when a router sends frames to a switch with source MAC of the router but destination MAC of a host that the switch has not learned because the host only sends to the router via a different path. In such cases, static MAC entries can help.

Finally, in a production environment, you should configure port security to limit the number of MAC addresses per port, use VLANs to shrink broadcast domains, and set aging timers appropriately (default 300 seconds is usually fine). Always monitor the MAC table during troubleshooting, an unexpectedly high number of dynamic entries could indicate a network loop or a denial-of-service attack using MAC flooding. The bottom line: unknown unicast is a normal part of switching, but a good network engineer keeps it under control.

Memory Tip

Unknown unicast: if the MAC is not in the table, the switch is 'unable', it floods. 'U' for Unknown, 'F' for 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

Frequently Asked Questions

Does unknown unicast flooding happen on every frame that has a destination MAC not in the table?

Yes, always. That is the standard behavior defined by IEEE 802.1D. The switch must flood it to all ports in the same VLAN, except the incoming port, to ensure delivery.

Can unknown unicast flooding be disabled?

Some enterprise switches allow you to disable unknown unicast flooding per VLAN using features like 'Unknown Unicast Flooding Control', but this can cause connectivity loss if the destination is not learned. It is usually not recommended.

How does a switch know which MAC addresses are unknown?

The switch maintains a table of known MAC addresses learned from source addresses of incoming frames. Any MAC address not in that table is considered unknown. The table can also be populated statically by an administrator.

What happens if the destination device is offline when an unknown unicast is flooded?

The flooded frame is sent to all ports, but the destination device never receives it because it is offline. No reply is generated, so the switch never learns the MAC address, and subsequent frames will continue to be flooded.

Does unknown unicast flooding occur in a network with all static MAC address entries?

If you manually configure all MAC addresses in the switch table, then every frame will have a known destination, and no unknown unicast flooding will occur. However, this is impractical in large networks.

Is unknown unicast flooding a security vulnerability?

Yes, because flooded frames are sent to ports where they are not intended. An attacker on the same VLAN can capture these frames using a packet sniffer, potentially gaining access to sensitive data.

Summary

Unknown unicast is a fundamental Layer 2 switching behavior that ensures no frame is lost when a switch does not know the location of the destination device. Instead of dropping the frame, the switch floods it out all ports in the same VLAN (except the incoming port), relying on the destination device to reply and thereby teach the switch its MAC address. While this mechanism is essential for normal network operation, excessive unknown unicast flooding can degrade performance, waste bandwidth, and create security risks. Network professionals must understand how the MAC address table is built and aged, how VLANs confine flooding, and what tools exist to control flooding (such as storm control, port security, and static MAC entries).

For certification exams, particularly CompTIA Network+, Cisco CCNA, and Juniper JNCIA, mastering unknown unicast is crucial. You must know the difference between unknown unicast, broadcast, and multicast, as well as the conditions that cause flooding. Exam questions will test your ability to analyze MAC tables, predict frame forwarding behavior, describe the switch learning process, and identify troubleshooting steps for performance issues linked to excessive flooding. The most common exam trap is confusing unknown unicast with broadcast, or assuming the switch drops the frame.

Takeaway: If you remember that 'unknown' means 'not in the table' and that the switch 'floods to find the destination', you will correctly answer most questions. Always check the VLAN context, and never forget that the switch never sends the frame back out the port it came from. By mastering this concept, you lay a strong foundation for understanding all of Layer 2 switching.