CCNA 200-301 · Network Access · medium

An administrator configures an IEEE 802.1Q trunk on GigabitEthernet0/1 with the commands: - switchport trunk encapsulation dot1q - switchport mode trunk - switchport trunk native vlan 99 - switchport trunk allowed vlan 10,20,30 How does this switch port handle frames belonging to VLAN 40 and frames belonging to VLAN 99?

Published · Last updated · checked before publication — how we verify questions

Options

  • AVLAN 40 is tagged with 802.1Q and VLAN 99 is forwarded untagged
  • BVLAN 40 is dropped, but VLAN 99 bypasses the allowed list because it is the native VLAN
  • CBoth VLAN 40 and VLAN 99 are encapsulated inside VLAN 10
  • DBoth VLAN 40 and VLAN 99 traffic are blocked because neither is in the allowed VLAN listCorrect answer

Answer: D. Both VLAN 40 and VLAN 99 traffic are blocked because neither is in the allowed VLAN list

The switchport trunk allowed vlan 10,20,30 command restricts the trunk to forwarding only VLANs 10, 20, and 30. Therefore, VLAN 40 is pruned/dropped and VLAN 99 (even though configured as the native VLAN) is also blocked from traversing the trunk because 99 is not included in the allowed VLAN list (10,20,30).

Why the other options are wrong

  • A. VLAN 40 is tagged with 802.1Q and VLAN 99 is forwarded untagged — Neither VLAN 40 nor VLAN 99 is in the explicit allowed VLAN list (10,20,30), so both are dropped.
  • B. VLAN 40 is dropped, but VLAN 99 bypasses the allowed list because it is the native VLAN — A native VLAN must still be permitted in the allowed vlan list to traverse the trunk.
  • C. Both VLAN 40 and VLAN 99 are encapsulated inside VLAN 10 — 802.1Q trunks do not re-map disallowed VLAN IDs into VLAN 10.

All Network Access questions and the topic overview →

Cisco and CCNA are trademarks of Cisco Systems, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Cisco Systems, Inc.