What 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 enables port security globally on the switch.
  • It dynamically learns the L2 address and copies it to the running configuration.
  • It restricts the number of discovery messages, per second, to be received on the interface.
  • It enables port security on an interface.