A Cisco Catalyst switch maintains the following dynamic MAC address table entries across multiple VLANs:
| VLAN | MAC Address | Type | Port |
|---|---|---|---|
| 10 | 0050.56a1.1a01 | DYNAMIC | GigabitEthernet0/1 |
| 10 | 0050.56a2.2b02 | DYNAMIC | GigabitEthernet0/2 |
| 20 | 0050.56a1.1a01 | DYNAMIC | GigabitEthernet0/3 |
A host connected to port GigabitEthernet0/1 sends an ingress Ethernet frame tagged for VLAN 20 with a Source MAC address of and a Destination MAC address of .
How does the switch update its MAC address table and handle the forwarding of this ingress frame?
- The switch updates the VLAN 20 MAC address table entry for 0050.56a1.1a01 to port GigabitEthernet0/1 while preserving the VLAN 10 entry, and floods the frame out all active VLAN 20 ports except GigabitEthernet0/1.Answer
- BThe switch flushes the VLAN 10 entry for MAC address 0050.56a1.1a01 and drops the frame because the destination MAC address does not exist in VLAN 20.
- CThe switch forwards the frame directly out GigabitEthernet0/3 based on the pre-existing VLAN 20 entry and drops the frame on GigabitEthernet0/1 due to a port mismatch.
- DThe switch updates the VLAN 20 entry to GigabitEthernet0/1 and floods the frame out all active interfaces across all VLANs, including the ingress port GigabitEthernet0/1.
Answer
The switch updates the VLAN 20 MAC table entry for source MAC 0050.56a1.1a01 to GigabitEthernet0/1 while preserving the VLAN 10 entry, and floods the unknown unicast frame out all active interfaces belonging to VLAN 20 except the ingress port GigabitEthernet0/1.
The correct response reflects two core switching mechanics: (1) Per-VLAN MAC learning updates the MAC address table for VLAN 20 on port GigabitEthernet0/1 without impacting entries in other VLANs (such as VLAN 10). (2) Destination MAC address lookup for an unlisted MAC address causes the switch to treat the frame as unknown unicast, flooding it out all active ports in VLAN 20 except the port on which the frame was received.
Step-by-Step Solution
Key Concept
Per-VLAN MAC Address Table Operation and Unknown Unicast Flooding