CLI Reference Guide-R07

Table Of Contents
Chapter 9
| General Security Measures
Port Security
– 271 –
Related Commands
show interfaces status (372)
shutdown (364)
mac-address-table static (436)
show port security This command displays port security status and the secure address count.
Syntax
show port security [interface interface]
interface - Specifies a port interface.
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-10/28)
Command Mode
Privileged Exec
Example
This example shows the port security settings and number of secure addresses for
all ports.
Console#show port security
Global Port Security Parameters
Secure MAC Aging Mode : Disabled
Port Security Port Summary
Port Port Security Port Status Intrusion Action MaxMacCnt CurrMacCnt
--------------------------------------------------------------------------
Eth 1/ 1 Disabled Secure/Down None 0 2
Eth 1/ 2 Enabled Secure/Up None 10 0
Eth 1/ 3 Disabled Secure/Down None 0 0
Eth 1/ 4 Disabled Secure/Down None 0 0
Eth 1/ 5 Disabled Secure/Down None 0 0
.
.
.
Table 53: show port security - display description
Field Description
Port Security The configured status (enabled or disabled).
Port Status The operational status:
Secure/Down – Port security is disabled.
Secure/Up – Port security is enabled.
Shutdown – Port is shut down due to a response to a port security violation.
Intrusion Action The configured intrusion response.