CCNA: Cisco Certified Network Associate — Question 739
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?
Answer options
- 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
Correct answer: C
Explanation
The correct command is option C, which sets the port security to a specific MAC address without specifying a VLAN, thus allowing it to apply to the default behavior. Options A and D incorrectly specify the VLAN, which is unnecessary when simply assigning a MAC address. Option B also incorrectly attempts to specify the VLAN, which is not needed in this context.