A network administrator needs to prevent unauthorized devices from connecting to switch ports. Which feature provides the most effective Layer 2 security by verifying the MAC address of the connected device against a database?
Port Security enables the restriction of input to an interface by limiting and identifying the MAC addresses of the stations allowed to access the port. This provides granular control over physical access, ensuring that only pre-approved hardware can establish a link and transmit data through the switch port.
Why this answer
Port Security allows administrators to secure access to ports by locking a specific MAC address to that port. This prevents unauthorized devices from gaining network access. In a Cisco enterprise environment, this is a fundamental defense-in-depth measure against unauthorized physical access.
By restricting the number and identity of MAC addresses, the network remains resilient against simple spoofing or unauthorized hardware insertions, ensuring that only trusted endpoints communicate through the designated access layer infrastructure.
Exam trap
Candidates often confuse Port Security with ACLs or VLANs. They fail to recognize that Port Security is the specific feature designed to map and restrict MAC addresses to physical switch ports.