A network engineer observes that hosts in VLAN 10 on Switch-1 are unexpectedly communicating with hosts in VLAN 20 on Switch-2 across a direct 802.1Q trunk link. Upon reviewing the interface configurations, the engineer finds that Switch-1 has its trunk native VLAN set to VLAN 10, while Switch-2 has its trunk native VLAN set to VLAN 20. When a host in VLAN 10 on Switch-1 sends an uncompressed Ethernet broadcast frame, what is the exact behavior of Switch-2 when it receives this frame?
- Switch-2 accepts the untagged frame and forwards it out all active ports belonging to VLAN 20.Answer
- BSwitch-2 inspects the 802.1Q header tag of VLAN 10 and drops the frame because it does not match native VLAN 20.
- CCDP detects the native VLAN mismatch upon receiving the frame and dynamically changes Switch-2's native VLAN to VLAN 10 to preserve VLAN isolation.
- DSwitch-2 blocks the frame because PortFast on the trunk interface automatically transitions the port into an STP blocking state.
Answer
Switch-2 accepts the untagged frame and forwards it out all active ports belonging to VLAN 20.
When a switch transmits a frame for its configured native VLAN over an IEEE 802.1Q trunk link, it strips the VLAN tag and sends the frame untagged. When the receiving switch accepts an untagged frame on an 802.1Q trunk port, it associates that frame with its own locally configured native VLAN. Because Switch-1 has native VLAN 10 and Switch-2 has native VLAN 20, frames originating in VLAN 10 leave Switch-1 untagged and are ingested into VLAN 20 by Switch-2, causing cross-VLAN traffic leakage.
Step-by-Step Solution
Key Concept
IEEE 802.1Q Native VLAN Tagging and Mismatch Behavior
Estimated Time:1m 30s