A Cisco Catalyst switch receives an ingress Ethernet frame tagged for VLAN 10 on port GigabitEthernet0/1. The frame contains a source MAC address of 0010.AB12.3456 and a destination MAC address of 0020.CD34.5678. Prior to receiving this frame, the switch MAC address table contains a dynamic entry listing 0010.AB12.3456 on port GigabitEthernet0/2 in VLAN 10, and a static entry listing 0020.CD34.5678 on port GigabitEthernet0/3 in VLAN 10. Port GigabitEthernet0/4 is an active access port configured in VLAN 20, while port GigabitEthernet0/5 is an active 802.1Q trunk port allowing VLANs 10 and 20. Which two actions does the switch perform upon processing this frame?
- It updates the MAC address table entry for 0010.AB12.3456 to associate it with port GigabitEthernet0/1 in VLAN 10.Answer
- It forwards the frame exclusively out port GigabitEthernet0/3.Answer
- CIt floods the frame out all operational ports across all VLANs, including GigabitEthernet0/4, because the source MAC address moved ports.
- DIt drops the frame immediately because receiving a previously learned dynamic source MAC address on a different port indicates a Layer 2 loop.
- EIt forwards the frame out GigabitEthernet0/3 and replicates a copy out trunk port GigabitEthernet0/5 tagged with VLAN 10.
Answer
The switch updates its MAC address table entry for source MAC 0010.AB12.3456 to port GigabitEthernet0/1 in VLAN 10, and forwards the frame directly out port GigabitEthernet0/3.
When an Ethernet switch receives a frame, it performs learning and forwarding independently. First, it reads the source MAC address 0010.AB12.3456 and updates the MAC address table entry to map to port GigabitEthernet0/1 in VLAN 10. Second, it looks up the destination MAC address 0020.CD34.5678 in the MAC table for VLAN 10. Because a matching entry exists for GigabitEthernet0/3, the switch forwards the frame directly out GigabitEthernet0/3 without flooding.
Step-by-Step Solution
Key Concept
Layer 2 MAC address table dynamic learning, station movement handling, and known unicast forwarding logic.