Chapter 9
| General Security Measures
Port Security
– 263 –
Related Commands
show interfaces status (364)
shutdown (356)
mac-address-table static (424)
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 51: 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.