200-301 · Question #589
Refer to the exhibit. Switch A is newly configured. All VLANs are present in the VLAN database. The IP phone and PC A on Gi0/1 must be configured for the appropriate VLANs to establish connectivity be
The correct answer is A. SwitchA(config-if)#switchport mode access. To support both an IP phone and a PC connected to a single switch port, the port must be configured as an access port to enable both a data VLAN for the PC and a voice VLAN for the phone.
Question
Refer to the exhibit. Switch A is newly configured. All VLANs are present in the VLAN database. The IP phone and PC A on Gi0/1 must be configured for the appropriate VLANs to establish connectivity between the PCs. Which command set fulfills the requirement?
Exhibits
Options
- ASwitchA(config-if)#switchport mode access
- BSwitchA(config-if)#switchport mode trunk
- CSwitchA(config-if)#switchport mode trunk
- DSwitchA(config-if)#switchport mode access
How the community answered
(19 responses)- A74% (14)
- B5% (1)
- C5% (1)
- D16% (3)
Why each option
To support both an IP phone and a PC connected to a single switch port, the port must be configured as an access port to enable both a data VLAN for the PC and a voice VLAN for the phone.
The `switchport mode access` command is the correct foundational configuration for a port connected to an end device like an IP phone with an attached PC, as it allows for the assignment of both a data VLAN and a separate voice VLAN.
`switchport mode trunk` is incorrect because it is used for inter-switch links or links to routers that carry multiple VLANs, not for connecting end devices.
`switchport mode trunk` is incorrect for the same reason as choice B.
Assuming choices A and D are identical in their text content, `switchport mode access` is the correct mode, but other configurations for voice VLAN would typically follow.
Concept tested: Switch port voice VLAN configuration
Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3850/software/release/3se/lan_lite/configuration_guide/b_lan_lite_3se_3850_cg/b_lan_lite_3se_3850_cg_chapter_01000.html
Topics
Community Discussion
No community discussion yet for this question.

