Users Guide

Remove statically-configured secure MAC addresses configuration example
OS10# clear mac address-table secure sticky vlan 1
OS10#clear mac address-table secure sticky interface port-channel 128
OS10#clear mac address-table secure sticky address 00:00:00:00:00:01 vlan 100
View statically-configured secure MAC addresses
To view the statically-configured secure MAC addresses, use the following command in EXEC mode:
show mac address-table secure {{dynamic | static | sticky} {vlan vlan-id | interface
{ethernet node/slot/port[:subport] | port-channel}}}
View statically-configured secure MAC addresses example
OS10# show mac address-table secure sticky
VlanId MAC Address Type Interface
1 4c:76:25:e5:4f:51 sticky ethernet1/1/5
1 4c:76:25:e5:4f:55 sticky ethernet1/1/6
1 4c:76:25:e5:4f:59 sticky ethernet1/1/7
os10# show mac address-table secure dynamic
VlanId MAC Address Type Interface
10 4c:76:25:e5:4f:51 dynamic port-channel120
11 4c:76:25:e5:4f:55 dynamic ethernet1/1/6
12 4c:76:25:e5:4f:59 dynamic ethernet1/1/7
os10# show mac address-table secure static
VlanId MAC Address Type Interface
10 4c:76:25:e5:4f:51 static port-channel120
11 4c:76:25:e5:4f:55 static ethernet1/1/6
12 4c:76:25:e5:4f:59 static ethernet1/1/7
View the number of secure MAC addresses on the system
To view the number of secure MAC addresses on the system, use the following command in EXEC mode:
show mac address-table count [interface {ethernet slot/port:subport | port-channel
number | vlan vlan-id}]
View the number of secure MAC addresses on the system example
OS10# show MAC address-table count
MAC Entries for all vlans :
Dynamic Address Count: 10000
Total secure dynamic MAC addresses: 5000 of (10000)
Static Address (User-defined) Count : 5000
Total secure static MAC addresses:200 of (5000)
Total secure sticky MAC addresses :0
Total MAC Addresses in Use: 15000
View port-security parameters for all interfaces
To view port-security parameters for all interfaces, use the following command in EXEC mode:
show switchport port-security [interface {ethernet node/slot/port[:subport] | port-
channel port-channel-number}]
View port-security parameters for all interfaces example
OS10# show switchport port-security
Global Port-security status :Enable
Interface name : eth1/1/1
Port Security :Enabled
Port Status :Error-Disable
Security
1415