show port-security [e] [<port number>-<port number]. . .[,<port number>]
Without port parameters, show port-securitydisplays operating control settings for all ports on a switch. For example:
Figure 9-2. Example Port Security Listing (Ports A7 and A8 Show the Default Setting)
With port numbers included in the command, show port-securitydisplays Learn Mode, Address Limit, (alarm) Action, and Authorized Addresses for the specified ports on a switch. The following example lists the full port security configuration for a single port:
Figure 9-3. Example of the Port Security Configuration Display for a Single Port