An engineer captures traffic on a point-to-point trunk link between two switches. Switch-1 is configured with `switchport trunk native vlan 10`, while Switch-2 is configured with `switchport trunk native vlan 20`. When Switch-1 transmits untagged frames originating from VLAN 10 across the trunk link, how does Switch-2 process these frames upon ingress, and what operational issue occurs?
- Switch-2 assigns the received untagged frames to VLAN 20, resulting in cross-VLAN traffic leakage, while CDP continuously reports a native VLAN mismatch.Answer
- BSwitch-2 drops the untagged frames because their 802.1Q tag header contains a VLAN ID that does not match VLAN 20.
- CSwitch-2 places the trunk interface into an error-disabled state because receiving untagged frames violates STP PortFast trunk settings.
- DSwitch-2 uses the CDP native VLAN TLV to dynamically reconfigure its local trunk interface native VLAN to match VLAN 10.
Answer
Switch-2 assigns the received untagged frames to VLAN 20, resulting in cross-VLAN traffic leakage, while CDP continuously reports a native VLAN mismatch.
Under 802.1Q trunking rules, native VLAN frames are transmitted untagged. When Switch-1 forwards VLAN 10 frames across the trunk without an 802.1Q tag, Switch-2 accepts the untagged frames and assigns them to its own configured native VLAN (VLAN 20). This leads to unintended cross-VLAN traffic leakage between VLAN 10 and VLAN 20. Additionally, CDP detects this discrepancy by exchanging native VLAN details in TLVs and regularly issues syslog warnings.
Step-by-Step Solution
Key Concept
802.1Q Native VLAN Ingress Processing and Mismatch Behavior
Estimated Time:2m 0s