2-462
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-01
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
show port-security
Examples This is an example of the 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 :6176
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 : Secure-up
Violation Mode : Shutdown
Aging Time : 20 mins
Aging Type : Inactivity
SecureStatic Address Aging : Enabled
Maximum MAC Addresses : 11
Total MAC Addresses : 11
Configured MAC Addresses : 3
Sticky MAC Addresses : 0
Last Source Address : 0000.0000.0000
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 :6176
This is an example of output from the show port-security interface fastethernet0/2 vlan command:
Switch# show port-security interface fastethernet0/2 vlan
Default maximum: not set, using 6176
VLAN Maximum Current
1 default 0
5 5 0
This is an example of output from the show port-security interface fastethernet0/5 address command:
Switch# show port-security interface fastethernet0/5 address