Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Prepare for the Cisco Certified Network Associate (CCNA) Practice Exam. Test your knowledge with our interactive quizzes featuring multiple choice questions, hints, and explanations. Equip yourself for success!

Practice this question and more.


When configuring port security, what command sets a specific interface to require a specific MAC address?

  1. (config)#switchport port-security mac-address MAC ADDRESS

  2. (config)#interface interface_name

  3. (config)#enable mac-address

  4. (config)#port-security mac-address

The correct answer is: (config)#switchport port-security mac-address MAC ADDRESS

The command that sets a specific interface to require a specific MAC address is correct. In the context of port security on a switch, configuring port security requires you to first enter interface configuration mode for the specific interface you want to secure. Once in that mode, using the command that specifies the MAC address allows you to bind a particular MAC address to that interface. This means that only the device with the specified MAC address will be allowed to connect and communicate through that interface, enhancing network security by preventing unauthorized devices from gaining access. The command properly formats the configuration to ensure that this MAC address is the only one recognized on that port, supporting the key principle of port security in limiting access and ensuring that only trusted devices are allowed.