liveBook · Manning

Show port-security interface

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

show port-security interface is a Cisco IOS command that displays port-security settings and status for a specified interface.

Use show port-security interface interface to verify Port Security on a specified Cisco IOS interface, including operational state, MAC limits, learned addresses, violations, and the most recent source address. section 12.1.2 section 12.3

Interpreting interface output

SW1# show port-security interface f0/1 Port Security : Enabled Port Status : Secure-up Violation Mode : Shutdown Maximum MAC Addresses : 1 Total MAC Addresses : 1 Last Source Address:Vlan : 3c57.311a.a480:1 Security Violation Count : 0 This output confirms that Port Security is active, the port is operational, one MAC address is allowed and learned, and no violation has occurred. After a violation, Port Status becomes Secure-shutdown, dynamically learned addresses are cleared, and the violation counter increases.

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Interprets operational fields and violation results, but does not configure Port Security.
Examples
Uses F0/1 output before and after a spoofed MAC address triggers a shutdown violation.
What it assumes
Assumes familiarity with Cisco IOS interfaces, MAC addresses, and Port Security terminology.
What you can do after
Diagnose Port Security state, learned-address counts, violating addresses, and shutdown conditions from interface output.
How it connects
Connects Port Security with secure MAC addresses, MAC address limits, violation modes, and error-disabled interfaces.

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.