An engineer is configuring a switch port that is connected to a VoIP handset. Which command must the engineer configure to enable port security with a manually assigned MAC address of abcd.abcd.abcd on voice VLAN 4?
A.
switchport port-security mac-address abcd.abcd.abcd vlan 4
B.
switchport port-security mac-address abcd.abcd.abcd vlan voice
C.
switchport port-security mac-address abcd.abcd.abcd
D.
switchport port-security mac-address sticky abcd.abcd.abcd vlan 4
C. switchport port-security mac-address abcd.abcd.abcd
To enable port security with a manually assigned MAC address, the engineer would use the "switchport port-security mac-address abcd.abcd.abcd" command. This command sets the allowed MAC address for the port. The VLAN assignment for the VoIP handset is separate and not included in the port-security command.
C tested successfully in PT. NB: switchport has to be in Access mode.
Switch(config-if)#switchport port-security
Switch(config-if)#switchport port-security mac-address 0040.0bbd.37b2
Switch(config-if)#
'switchport port-security mac-address abcd.abcd.abcd vlan 4' is possible. However, it is possible when it is a 'trunk' port. The problem is that it is an access port and vlan cannot be configured because it is connected to handset.
this is correct.
I tested A in an actual device and the port must be in trunk mode for it to function.
I don't think C works as intended as well, and B is just wrong for this
(Optional) Use the switchport port-security mac-address -mac-address- interface
subcommand to predefine any allowed source MAC addresses for this
interface. Use the command multiple times to define more than one MAC
address.
Enter one of these options after you enter the vlan keyword:
vlan-id—On a trunk port, you can specify the VLAN ID and the MAC address. If you do not specify a VLAN ID, the native VLAN is used.
access—On an access port, specifies the VLAN as an access VLAN.
voice—On an access port, specifies the VLAN as a voice VLAN.
It's more likely that it's access conncection becuase of the Voip, so we need to specify vlan voice as it stated here.
*Check the link in 10th step:
https://www.cisco.com/en/US/docs/switches/lan/catalyst3850/software/release/3.2_0_se/multibook/configuration_guide/b_consolidated_config_guide_3850_chapter_011111.html#ID437
A is correct the command is
switchport port-security [mac-address mac-address [vlan {vlan-id | {access | voice}}]
Example:
Switch(config-if)# switchport port-security mac-address 00:A0:C7:12:C9:25 vlan 3 voice
https://www.cisco.com/en/US/docs/switches/lan/catalyst3850/software/release/3.2_0_se/multibook/configuration_guide/b_consolidated_config_guide_3850_chapter_011111.html#ID437
and since in the questionit stated vlan 4 and you can have multiple Voice Vlans , A is more accurate than B
The "switchport port-security vlan vlan-id" command is applied on trunk ports. So it cannot be applied in this situation, due to the switchport must be configured as an access-port.
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.
Leethy
Highly Voted 2 years agoDutch012
Highly Voted 2 years, 2 months ago[Removed]
1 year, 10 months agoJSMM
4 weeks, 1 day agoac89l
1 year, 11 months agoZK23
1 year, 5 months agoae9c89a
1 year agoBoulet_Dude
1 year, 4 months agoMimon
Most Recent 3 weeks, 4 days agoadrianspa
8 months, 1 week agoShanRamu
10 months, 1 week agorodrigocalcarao
1 year ago[Removed]
1 year agowazmac
1 year, 1 month agoNet_eng_pogi
1 year, 1 month agoaskar430
1 year, 2 months agoa67c04a
1 year, 3 months agoPyoJH
1 year, 5 months agoEXD
1 year, 5 months agosquagmire
1 year, 1 month ago[Removed]
1 year, 7 months agoHayk__007
1 year, 7 months agochian
1 year, 8 months agoEallam
1 year, 10 months agoElmasquentona963
1 year, 7 months agonostal
1 year, 10 months ago