CN.II · CCNA practice question
An access port on a Cisco switch is connected to a Cisco IP phone with a PC plugged into the phone's switch port. How should the switch port be configured to carry data and voice traffic cleanly?
Check answer and explanation
Correct answer: switchport mode access with switchport access vlan 10 and switchport voice vlan 20
Explanation
Configuring switchport mode access along with switchport access vlan 10 and switchport voice vlan 20 allows the IP phone to receive voice VLAN assignment (typically via CDP/LLDP) while keeping the PC on the data VLAN without making the port a general trunk.
Common trap
A common trap is choosing “switchport mode dynamic desirable with no VLAN commands” instead of the answer required by the cited rule.
Source: CCNA exam topics — Network Access
Checked against the cited text on 2026-12-01.