200-301 Question 176
Single answerA network engineer is configuring a switch port to support both a desktop computer and an IP phone. The IP phone will connect to the switch directly, and the desktop computer will connect to the IP phone. How should the switch port be configured to enable proper communication for both devices?
- A
Configure the port as an access port and use the 'switchport voice vlan' command to assign a voice VLAN.
- B
Configure the port as a trunk port to allow both data and voice traffic.
- C
Configure the port as an access port and assign it to the voice VLAN.
- D
Configure the port as a trunk port and use the 'switchport mode dynamic auto' command.
Show answer and explanation
Correct answer: A
Explanation
To enable proper communication for both the desktop computer and the IP phone, the switch port must be configured as an access port for the data VLAN and use the 'switchport voice vlan' command to specify a separate VLAN for voice traffic. This configuration ensures that the voice and data traffic are properly tagged and handled by the network while keeping the port in access mode.
- A. Correct.
Correct. Configuring the port as an access port and using the 'switchport voice vlan' command allows the separation of voice and data traffic while keeping the port in access mode.
- B. Incorrect.
Incorrect. Trunk ports are generally used for inter-switch connections or connecting to devices that need to pass multiple VLANs. They are not appropriate for this scenario.
- C. Incorrect.
Incorrect. Assigning the port to the voice VLAN as an access port would prevent data traffic (for the desktop computer) from being transmitted correctly.
- D. Incorrect.
Incorrect. Dynamic auto mode on a trunk port is used for negotiating trunking configurations, which is irrelevant in this access port scenario.