Two Cisco Catalyst switches, Switch-1 and Switch-2, are connected directly via their GigabitEthernet0/1 interfaces. Switch-1 is configured with `switchport trunk native vlan 99` and `switchport trunk allowed vlan 10,20,99`. Switch-2 is configured with `switchport trunk native vlan 10` and `switchport trunk allowed vlan 10,20,99`. A workstation connected to an access port in VLAN 99 on Switch-1 transmits an untagged broadcast frame. Assuming both trunk ports are operational, how will Switch-2 process this frame upon receiving it over the trunk link?
- Switch-2 accepts the untagged frame, assigns it to its own configured native VLAN (VLAN 10), and forwards it to ports within VLAN 10.Answer
- BSwitch-2 inspects its MAC address table for VLAN 99, identifies the originating VLAN ID from the frame header, and forwards the frame to ports in VLAN 99.
- CSwitch-2 drops the frame immediately upon arrival because the receiving trunk interface detects an incoming untagged frame on an allowed non-default VLAN.
- DSwitch-2 automatically transitions GigabitEthernet0/1 into an access port with Spanning Tree PortFast enabled to prevent Layer 2 loops caused by the native VLAN mismatch.
Answer
Switch-2 accepts the untagged frame, assigns it to its own configured native VLAN (VLAN 10), and forwards it to ports within VLAN 10.
Under IEEE 802.1Q trunking rules, frames belonging to the trunk's native VLAN are transmitted untagged. Switch-1 transmits the VLAN 99 broadcast frame without an 802.1Q tag because VLAN 99 is its local native VLAN. When Switch-2 receives this untagged frame on its trunk interface, it associates the frame with its own configured native VLAN (VLAN 10). As a result, the frame is processed within VLAN 10 on Switch-2, causing cross-VLAN traffic leakage.
Step-by-Step Solution
Key Concept
IEEE 802.1Q Native VLAN Ingress/Egress Processing and Mismatch Behavior