CCNA Switching and Network Access Practice Question
A network administrator is configuring a switch port that connects to a Cisco IP phone, which in turn has a desktop PC attached to its PC port. The administrator wants the phone to be placed in VLAN 100 and the PC in VLAN 200 on the same physical switch port. Which configuration should be applied to the switch port?
⚠ Common exam trap
The trap here is assuming that a trunk port is required to support both a voice and data VLAN on a single switch port.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Configure the port as an access port in VLAN 200 and configure the voice VLAN as 100 using the switchport voice vlan 100 command.
The correct approach uses an access port for the PC data VLAN and the switchport voice vlan command for the phone voice VLAN. This allows the phone to tag voice traffic with VLAN 100 while the PC sends untagged traffic in VLAN 200. The phone learns the voice VLAN through CDP or LLDP-MED and can also pass through the PC data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configure the port as a trunk port and allow VLAN 100 and VLAN 200 on the trunk.
Why it's wrong here
While a trunk port can carry multiple VLANs, Cisco IP phones expect a specific configuration using the switchport voice vlan command on an access port. Simply configuring a trunk does not automatically instruct the phone to tag voice traffic with VLAN 100 or place PC data in VLAN 200. The phone may not properly separate traffic, and this is not the recommended design.
- ✗
Configure the port as an access port in VLAN 100 and enable the voice VLAN 100 on the port.
Why it's wrong here
An access port can only carry one data VLAN. Configuring the port as an access port in VLAN 100 and enabling a voice VLAN of the same number does not create separate data and voice VLANs for the attached PC and phone. The PC traffic and phone traffic would not be separated into VLAN 100 and VLAN 200 as required.
- ✗
Configure the port as a dynamic auto port and enable VLAN 100 and VLAN 200 with the switchport trunk allowed vlan command.
Why it's wrong here
Dynamic auto mode is used for trunk negotiation and does not provide the specific voice VLAN functionality needed for a Cisco IP phone. The switchport trunk allowed vlan command is used on trunk ports, not on access ports with voice VLAN. This configuration does not properly separate voice and data traffic or allow the phone to learn its VLAN.
- ✓
Configure the port as an access port in VLAN 200 and configure the voice VLAN as 100 using the switchport voice vlan 100 command.
Why this is correct
This is the correct configuration for a Cisco IP phone with a PC attached. The access VLAN (200) carries untagged data traffic from the PC, while the voice VLAN (100) carries tagged voice traffic from the phone. The switchport voice vlan command enables the phone to receive its VLAN information via CDP or LLDP-MED and tag voice frames appropriately.
Visual reference
Go deeper
Related to this question
Learn chapter
Troubleshoot: Switch Interface Down
Key term
LLDP
LLDP (Link Layer Discovery Protocol) is a vendor-neutral protocol used by network devices to advertise their identity, capabilities, and neighbors on a local Ethernet network.
Key term
CDP
CDP is a Cisco proprietary protocol used by network devices to share information about themselves with directly connected neighbors, helping network administrators discover and understand the topology.
About these practice questions
This 200-301 question is part of Courseiva's 1,450-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Cisco exam blueprint
This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.