nerdexam
Cisco

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.

Submitted by rania.sa· Mar 5, 2026Network Access

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

200-301 question #589 exhibit 1
200-301 question #589 exhibit 2

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)
  • A
    74% (14)
  • B
    5% (1)
  • C
    5% (1)
  • D
    16% (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.

ASwitchA(config-if)#switchport mode accessCorrect

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.

BSwitchA(config-if)#switchport mode trunk

`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.

CSwitchA(config-if)#switchport mode trunk

`switchport mode trunk` is incorrect for the same reason as choice B.

DSwitchA(config-if)#switchport mode access

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

#Switchport modes#VLAN configuration#Access ports

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice