What is the effect of entering the switchport port-security configuration command on a switch?

IT Exam Items RepositoryCategory: CCNA 2 v7What is the effect of entering the switchport port-security configuration command on a switch?

What is the effect of entering the switchport port-security configuration command on a switch?

  • It dynamically learns the L2 address and copies it to the running configuration.
  • It enables port security on an interface.
  • It enables port security globally on the switch.
  • It restricts the number of discovery messages, per second, to be received on the interface.

Explanation: The switchport port-security command is an interface configuration command used to activate the port security feature on a specific switch port,. Once entered, the switch will begin to secure the port by limiting the number of allowed MAC addresses (defaulting to one) and applying a violation mode (defaulting to shutdown) if an unauthorized device is detected,. Unlike DHCP snooping, port security is not enabled globally but must be configured on each individual access or trunk port.

Related exam: CCNA 2 v7 Course Final Exam Answers