Chapter 8
| General Security Measures
Port Security
show port security
Related Commands
show interfaces status (357)
shutdown (350)
mac-address-table static isolation (430)
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 - This is unit 1.
port - Port number. (Range: 1-12/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
--------------------------------------------------------------------------
Eth 1/ 1 Disabled
Eth 1/ 2 Enabled
Eth 1/ 3 Disabled
Eth 1/ 4 Disabled
Eth 1/ 5 Disabled
.
.
.
Table 49: 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.
Intrusion Action
Secure/Down
None
Secure/Up
None
Secure/Down
None
Secure/Down
None
Secure/Down
None
– 248 –
MaxMacCnt CurrMacCnt
0
2
10
0
0
0
0
0
0
0