CCNA Switching and Network Access Practice Question
This 200-301 practice question tests your understanding of switching and network access. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
MLS1#show running-config interface FastEthernet0/1
Building configuration...
Current configuration : 93 bytes
!
interface FastEthernet0/1
no switchport
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
You are connected to a multilayer switch MLS1. Configure FastEthernet0/1 as an access port for an IP phone and a PC, with voice VLAN 20 and data VLAN 10. Also enable PoE on the port. Then verify the configuration using 'show interfaces switchport' and 'show power inline'.
MLS1#show running-config interface FastEthernet0/1
Building configuration...
Current configuration : 93 bytes
!
interface FastEthernet0/1
no switchport
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
A
interface FastEthernet0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
power inline auto
no shutdown
This configuration correctly sets the port as an access port, assigns data VLAN 10 and voice VLAN 20, and enables PoE with 'power inline auto'. The 'no shutdown' ensures the interface is administratively up.
B
interface FastEthernet0/1
no switchport
ip address 192.168.1.1 255.255.255.0
power inline auto
no shutdown
Why wrong: This is incorrect because 'no switchport' makes the interface a routed port, which cannot support VLANs or an IP phone and PC. The IP address is unnecessary for an access port.
C
interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 10,20
power inline auto
no shutdown
Why wrong: This is incorrect because a trunk port is used to carry multiple VLANs between switches, not for connecting end devices like an IP phone and PC. The access port mode is required.
D
interface FastEthernet0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
power inline never
no shutdown
Why wrong: This is incorrect because 'power inline never' disables PoE, which is required to power the IP phone. The correct command is 'power inline auto'.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
interface FastEthernet0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
power inline auto
no shutdown
Option A is correct because it configures FastEthernet0/1 as an access port with data VLAN 10, voice VLAN 20, and PoE enabled, which is the required setup for an IP phone and PC. Option B is incorrect because 'no switchport' makes the interface a routed port (Layer 3), but it needs to be a Layer 2 access port to support an IP phone and PC. Option C is incorrect because trunk mode is used for switch-to-switch links, not for connecting end devices like an IP phone and PC. Option D is incorrect because 'power inline never' disables PoE, but the IP phone requires power; it should use 'power inline auto'.
Key principle: A trunk being up does not mean the VLAN is allowed across it. Always verify the allowed VLAN list and whether the VLAN exists on both switches.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✓
interface FastEthernet0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
power inline auto
no shutdown
Why this is correct
This configuration correctly sets the port as an access port, assigns data VLAN 10 and voice VLAN 20, and enables PoE with 'power inline auto'. The 'no shutdown' ensures the interface is administratively up.
Related concept
Access ports place end devices into a single VLAN.
✗
interface FastEthernet0/1
no switchport
ip address 192.168.1.1 255.255.255.0
power inline auto
no shutdown
Why it's wrong here
This is incorrect because 'no switchport' makes the interface a routed port, which cannot support VLANs or an IP phone and PC. The IP address is unnecessary for an access port.
✗
interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 10,20
power inline auto
no shutdown
Why it's wrong here
This is incorrect because a trunk port is used to carry multiple VLANs between switches, not for connecting end devices like an IP phone and PC. The access port mode is required.
✗
interface FastEthernet0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
power inline never
no shutdown
Why it's wrong here
This is incorrect because 'power inline never' disables PoE, which is required to power the IP phone. The correct command is 'power inline auto'.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.
✓interface FastEthernet0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
power inline auto
no shutdownCorrect answer▾
Why this is correct
This configuration correctly sets the port as an access port, assigns data VLAN 10 and voice VLAN 20, and enables PoE with 'power inline auto'. The 'no shutdown' ensures the interface is administratively up.
✗interface FastEthernet0/1
no switchport
ip address 192.168.1.1 255.255.255.0
power inline auto
no shutdownWrong answer — click to see why▾
Why this is wrong here
The specific factual error: 'no switchport' disables Layer 2 switching on the interface, preventing VLAN assignment and the use of voice VLAN.
Why candidates choose this
Candidates might think a routed port is needed for the phone or that an IP address must be assigned to the interface.
✗interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 10,20
power inline auto
no shutdownWrong answer — click to see why▾
Why this is wrong here
The specific factual error: trunk mode is inappropriate for an end-user port; it would expect VLAN tagging from the connected device, which PCs and phones do not typically provide.
Why candidates choose this
Candidates may confuse trunking with the ability to carry voice and data VLANs, not realizing that the switch uses the voice VLAN feature on an access port.
✗interface FastEthernet0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
power inline never
no shutdownWrong answer — click to see why▾
Why this is wrong here
The specific factual error: 'power inline never' explicitly disables power delivery, so the phone will not receive power.
Why candidates choose this
Candidates might think 'never' is a valid option to conserve power or misunderstand the PoE configuration commands.
Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Common exam traps
Common exam trap: an active trunk can still block the VLAN you need
A trunk being up does not prove every VLAN is crossing it. Check allowed VLAN lists, native VLAN mismatch, VLAN existence and access-port assignment.
Trap categories for this question
Command / output trap
This is incorrect because 'power inline never' disables PoE, which is required to power the IP phone. The correct command is 'power inline auto'.
Detailed technical explanation
How to think about this question
VLAN questions usually combine access-port and trunking clues. The key is to identify whether the issue is local to one switchport, caused by the trunk, or caused by the VLAN not existing where it needs to exist.
KKey Concepts to Remember
Access ports place end devices into a single VLAN.
Trunk ports carry multiple VLANs between switches.
Allowed VLAN lists decide which VLANs can cross a trunk.
Native VLAN mismatch can create confusing symptoms.
TExam Day Tips
→Use show vlan brief to verify access VLANs.
→Use show interfaces trunk to verify trunk state and allowed VLANs.
→Do not treat every same-VLAN issue as a routing problem.
Key takeaway
A trunk being up does not mean the VLAN is allowed across it. Always verify the allowed VLAN list and whether the VLAN exists on both switches.
Real-world example
How this comes up in practice
A help-desk technician troubleshoots why a newly connected PC cannot reach shared printers on the same floor. The cable is good, the switch port is active, but the PC is in VLAN 20 and the printers are in VLAN 10. The uplink trunk only allows VLAN 10. A trunk being up does not mean every VLAN crosses it.
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this 200-301 question in full detail.
Review VLAN allowed lists, native VLAN mismatch detection, and how to verify VLAN membership with show vlan brief and show interfaces trunk. Then practise related 200-301 questions on switching, trunking, and access-port configuration.
Switching and Network Access — This question tests Switching and Network Access — Access ports place end devices into a single VLAN..
What is the correct answer to this question?
The correct answer is: interface FastEthernet0/1
switchport mode access
switchport access vlan 10
switchport voice vlan 20
power inline auto
no shutdown — Option A is correct because it configures FastEthernet0/1 as an access port with data VLAN 10, voice VLAN 20, and PoE enabled, which is the required setup for an IP phone and PC. Option B is incorrect because 'no switchport' makes the interface a routed port (Layer 3), but it needs to be a Layer 2 access port to support an IP phone and PC. Option C is incorrect because trunk mode is used for switch-to-switch links, not for connecting end devices like an IP phone and PC. Option D is incorrect because 'power inline never' disables PoE, but the IP phone requires power; it should use 'power inline auto'.
What should I do if I get this 200-301 question wrong?
Review VLAN allowed lists, native VLAN mismatch detection, and how to verify VLAN membership with show vlan brief and show interfaces trunk. Then practise related 200-301 questions on switching, trunking, and access-port configuration.
What is the key concept behind this question?
Access ports place end devices into a single VLAN.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.