show port-security
Examples
This is an example of the output from the show port-security command:
Switch# show port-security
Secure Port
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port)
Max Addresses limit in System (excluding one mac per port) : 6272
This is an example of output from the show port-security interface interface-id command:
Switch# show port-security interface gigabitethernet1/0/1
Port Security : Enabled
Port status : SecureUp
Violation mode : Shutdown
Maximum MAC Addresses : 1
Total MAC Addresses : 0
Configured MAC Addresses : 0
Aging time : 0 mins
Aging type : Absolute
SecureStatic address aging : Disabled
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
----
1
-------------------------------------------------------------------
Total Addresses in System (excluding one mac per port)
Max Addresses limit in System (excluding one mac per port) : 6272
This is an example of output from the show port-security interface gigabitethernet1/0/2 address
command:
Switch# show port-security interface gigabitethernet1/0/2 address
-------------------------------------------------------------------
Vlan
----
1
-------------------------------------------------------------------
Total Addresses: 1
Catalyst 3750 Switch Command Reference
2-366
MaxSecureAddr
(Count)
Gi1/0/1
1
Mac Address
Type
-----------
----
0006.0700.0800
SecureConfigured
Secure Mac Address Table
Mac Address
Type
-----------
----
0006.0700.0800
SecureConfigured
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
CurrentAddr
SecurityViolation
(Count)
(Count)
0
0
Ports
Remaining Age
-----
-------------
Gi1/0/2
Ports
Remaining Age
-----
-------------
Gi1/0/2
Security Action
Shutdown
: 1
(mins)
1
: 1
(mins)
1
78-16181-01