An engineer is troubleshooting traffic flow on switch SW-BuildingA. A connected device sends an Ethernet frame that arrives on interface GigabitEthernet0/4. The frame has a source MAC address of 0050.56a1.1a2b and a destination MAC address of 0050.56b2.2c3d. When the switch performs a lookup for the destination MAC address in its MAC address table, it identifies an existing dynamic entry mapping 0050.56b2.2c3d to GigabitEthernet0/4. Which action will the switch perform for this frame?
- Learns or updates the source MAC address entry on GigabitEthernet0/4 and filters (drops) the frame.Answer
- BFloods the frame out all active interfaces assigned to the VLAN except GigabitEthernet0/4.
- CForwards the frame back out interface GigabitEthernet0/4 to reach the destination host.
- DGenerates a Layer 2 ICMP redirect frame back to the sender host and drops the original frame.
Answer
The switch updates or records the source MAC address entry on the ingress port (GigabitEthernet0/4) and filters (drops) the frame without forwarding it.
When a Layer 2 switch receives a frame, it reads the source MAC address to update its MAC address table. Next, it looks up the destination MAC address. If the destination MAC address maps to the exact same port on which the frame arrived, the switch filters (drops) the frame because the destination node is already on that local segment and does not need switch forwarding.
Step-by-Step Solution
Key Concept
Frame Filtering and MAC Address Table Lookup Rules