Specifications

2-221
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
show port-security
Examples This is an example of output from the show port-security command:
Switch# show port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security
Action
(Count) (Count) (Count)
----------------------------------------------------------------------------
---
Fa0/1 11 11 0 Shutdown
Fa0/5 15 5 0 Restrict
Fa0/11 5 4 0 Protect
----------------------------------------------------------------------------
---
Total Addresses in System :21
Max Addresses limit in System :1024
This is an example of output from the show port-security interface fastethernet0/2 command:
Switch# show port-security interface fastethernet0/2
Port Security :Enabled
Port status :SecureUp
Violation mode :Shutdown
Maximum MAC Addresses :11
Total MAC Addresses :11
Configured MAC Addresses :3
Aging time :20 mins
Aging type :Inactivity
SecureStatic address aging :Enabled
Security Violation count :0
This is an example of output from the show port-security address command:
Switch# show port-security address
Secure Mac Address Table
-------------------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
(mins)
---- ----------- ---- ----- -------------
1 0001.0001.0001 SecureDynamic Fa0/1 15 (I)
1 0001.0001.0002 SecureDynamic Fa0/1 15 (I)
1 0001.0001.1111 SecureConfigured Fa0/1 16 (I)
1 0001.0001.1112 SecureConfigured Fa0/1 -
1 0001.0001.1113 SecureConfigured Fa0/1 -
1 0005.0005.0001 SecureConfigured Fa0/5 23
1 0005.0005.0002 SecureConfigured Fa0/5 23
1 0005.0005.0003 SecureConfigured Fa0/5 23
1 0011.0011.0001 SecureConfigured Fa0/11 25 (I)
1 0011.0011.0002 SecureConfigured Fa0/11 25 (I)
-------------------------------------------------------------------
Total Addresses in System :10
Max Addresses limit in System :1024