show port-security
2
3
3
3
------------------------------------------------------------------------
Total Addresses: 12
Switch#
The following example shows how to display the maximum allowed number of secure MAC addresses
and the current number of secure MAC addressees on Fast Ethernet port 1:
Switch# show port-security interface fastethernet5/1 vlan
Default maximum: 22
VLAN
2
3
5
6
Switch#
The following example shows how to display the port security settings on Fast Ethernet port 1 for
VLANs 2 and 3:
Switch# show port-security interface fastethernet5/1 vlan 2-3
Default maximum: 22
VLAN
2
3
Switch#
The following example shows how to display all secure MAC addresses configured on Fast Ethernet port
1 with aging information for each address.
Switch# show port-security interface fastethernet5/1 address
------------------------------------------------------------------------
Vlan
----
2
2
2
3
3
3
4
4
4
5
6
6
------------------------------------------------------------------------
Total Addresses: 12
Switch#
The following example shows how to display all secure MAC addresses configured on VLANs 2 and 3
on
Fast Ethernet port 1 with aging information for each address:
Switch# show port-security interface fastethernet5/1 address vlan 2-3
------------------------------------------------------------------------
Vlan
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-930
0001.0001.0003
SecureSticky
0001.0001.0001
SecureConfigured
0001.0001.0002
SecureSticky
0001.0001.0003
SecureSticky
Maximum
Current
22
3
22
3
22
1
22
2
Maximum
Current
22
3
22
3
Secure Mac Address Table
Mac Address
Type
-----------
----
0001.0001.0001
SecureConfigured
0001.0001.0002
SecureSticky
0001.0001.0003
SecureSticky
0001.0001.0001
SecureConfigured
0001.0001.0002
SecureSticky
0001.0001.0003
SecureSticky
0001.0001.0001
SecureConfigured
0001.0001.0002
SecureSticky
0001.0001.0003
SecureSticky
0001.0001.0001
SecureConfigured
0001.0001.0001
SecureConfigured
0001.0001.0002
SecureConfigured
Secure Mac Address Table
Mac Address
Type
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Ports
Remaining Age(mins)
-----
-------------
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Gi1/1
-
Ports
Remaining Age(mins)
Chapter 2
OL-30934-01