Configuring and Monitoring Port Security

Port Security

Displaying Port Security Settings.

Syntax: show port-security

show port-security <port number>

show port-security [<port number>-<port number>]. . .[,<port number>]

The CLI uses the same command to provide two types of port security listings:

All ports on the switch with their Learn Mode and (alarm) Action

Only the specified ports with their Learn Mode, Address Limit, (alarm) Action, and Authorized Addresses

Without port parameters, show port-securitydisplays Operating Control settings for all ports on a switch.

Figure 11-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:

11-9