A network administrator configures interface GigabitEthernet0/2 on switch SW-CORE-01 as an 802.1Q trunk with the following commands:
text
interface GigabitEthernet0/2
switchport mode trunk
switchport trunk native vlan 50
switchport trunk allowed vlan 10,20,30
Which of the following describes how switch SW-CORE-01 will handle an incoming untagged Ethernet frame received on interface GigabitEthernet0/2?
- The switch drops the incoming untagged frame because native VLAN 50 is not present in the trunk's allowed VLAN list.Answer
- BThe switch automatically tags the incoming untagged frame with VLAN 10 because VLAN 10 is the lowest numerical allowed VLAN.
- CThe switch accepts the frame into VLAN 50 and automatically forwards it to hosts in VLAN 10 without requiring Layer 3 routing.
- DThe switch encapsulates the frame with an 802.1Q tag for VLAN 50 before sending it across the trunk link.
Answer
The switch drops the incoming untagged frame because native VLAN 50 is not present in the trunk's allowed VLAN list.
On an IEEE 802.1Q trunk link, any untagged Ethernet frame received by a switchport is associated with the native VLAN configured on that port (in this case, VLAN 50). However, the `switchport trunk allowed vlan` command acts as a strict VLAN filter on both ingress and egress. Because VLAN 50 is omitted from the allowed VLAN list (`10,20,30`), the switch filters out VLAN 50 traffic, causing the incoming untagged frame to be dropped immediately.
Step-by-Step Solution
Key Concept
802.1Q Native VLAN Ingress Filtering & Allowed VLAN Interaction