A Cisco engineer must configure a single switch interface to meet these requirements: ✑ Accept untagged frames and place them in VLAN 20 Accept tagged frames in VLAN 30 when CDP detects a Cisco IP phone Which command set must the engineer apply?
B should be the answer.
With D, the interface operates in trunk mode. So the access configuration is not taken into account and the vlan 20 will be tagged.
My answer was C, this was chatGTP answer when I asked why it can't be C
The command set in option C is not correct because it includes "switchport mode dynamic auto," which would cause the interface to become a trunk port if the neighboring device is set to trunk mode.
In this scenario, the requirement is to accept untagged frames in VLAN 20 and tagged frames in VLAN 30 when a Cisco IP phone is detected. Therefore, the interface should be configured as an access port in VLAN 20 and a voice VLAN should be configured for VLAN 30. The command set that meets these requirements is option B:
switchport mode access
switchport access vlan 20
switchport voice vlan 30
Option A is incorrect because it sets the interface to dynamic desirable mode, which could result in the interface becoming a trunk port if the neighboring device is set to trunk or dynamic auto mode. It also allows VLAN 30 on the access port, which is not required.
Option D is incorrect because it sets the interface to trunk mode, which is not necessary for this scenario.
This configuration uses an access port, which is a common and valid setup for connecting a Cisco IP phone with a PC behind it:
Untagged frames (e.g., from the PC) are placed in VLAN 20 (access VLAN).
Tagged frames from the IP phone, detected via CDP, are placed in VLAN 30 (voice VLAN).
Cisco switches support this dual-VLAN capability on access ports when a voice VLAN is configured, making it the simplest and most reliable solution for the requirements.
Per Cisco documentation under the subtopic line Voice VLAN Configuration Guidelines, "Voice VLAN is only supported on access ports and not on trunk ports, even though the configuration is allowed.
Quoted directly from the following source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3560/software/release/12-2_44_se/configuration/guide/scg/swvoip.html#wp1033848
switchport mode access switchport access vlan 20 switchport voice vlan 30
Explanation:
switchport mode access is used to set the switchport to access mode, which allows untagged frames to enter the VLAN specified by switchport access vlan 20.
switchport access vlan 20 assigns untagged frames to VLAN 20.
switchport voice vlan 30 configures the voice VLAN for Cisco IP phones. This command ensures that tagged frames detected by CDP from a Cisco IP phone will be placed in VLAN 30.
Option B meets both of the specified requirements.
This section is not available anymore. Please use the main Exam Page.200-301 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
foreach
Highly Voted 2 years, 11 months agoWebfat
Highly Voted 2 years, 5 months agoelnook
Most Recent 4 months, 2 weeks agoxtraMiles
1 year agoJorgePit
1 year ago1b81c0c
1 year, 3 months agof2faf2e
1 year, 6 months agokyleptt
1 year, 10 months agoDa_Costa
1 year, 10 months agowakaish
1 year, 11 months agoshumps
2 years agoxbololi
2 years, 1 month agoJorro99404
2 years, 2 months agodropspablo
2 years, 3 months agoking_oat
2 years, 3 months agoomikun
2 years, 3 months agoDB_Cooper
2 years, 6 months agolinuxlife
2 years, 4 months agoTechJ
2 years, 2 months ago