CLI Reference Guide-R05

Table Of Contents
Chapter 9
| General Security Measures
Port Security
– 282 –
Related Commands
show interfaces status (388)
shutdown (377)
mac-address-table static (454)
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-12)
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
Eth 1/ 6 Disabled Secure/Down None 0 0
Eth 1/ 7 Disabled Secure/Down None 0 0
Eth 1/ 8 Disabled Secure/Down None 0 0
Eth 1/ 9 Disabled Secure/Down None 0 0
Eth 1/10 Disabled Secure/Down None 0 0
Eth 1/11 Disabled Secure/Down None 0 0
Eth 1/12 Disabled Secure/Down None 0 0
Console#