Users Guide

Table Of Contents
To clear the error-disabled state of all interfaces that was caused by a MAC address learning limit violation, use the following
command in CONFIGURATION mode:
errdisable reset cause mac-learn-limit violation
To clear the error-disabled state of all interfaces that was caused by a MAC address movement violation, use the following
command in CONFIGURATION mode:
errdisable reset cause mac-move-violation
To clear the error-disabled state of all interfaces that was caused by all violation incidents, use the following command in
CONFIGURATION mode:
errdisable reset cause all
Recover an error-disabled state of interfaces automatically
To automatically recover error-disabled interfaces that was caused by a MAC address learning limit violation, use the
following command in CONFIGURATION mode:
errdisable recovery cause mac-learn-limit violation
To automatically recover error-disabled interfaces that was caused by a MAC address movement violation, use the following
command in CONFIGURATION mode:
errdisable recovery cause mac-move-violation
Configure the recovery interval timer to delay the recovery of an error-disabled interface in CONFIGURATION mode. The
range is from 30 to 65,535 in seconds.
errdisable recovery interval 30
Configure secure static MAC addresses
To configure a secure static MAC address, use the following command in CONFIGURATION mode:
mac address-table static mac-address vlan vlan-id interface {ethernet node/slot/
port[:subport] | port-channel number}
NOTE:
The configured MAC address becomes secure MAC address only if you enable the port security feature on the
interface.
Secure static MAC addresses configuration example
OS10# configure terminal
OS10(config)#interface port-channel 1
OS10(conf-if-po-1)#switchport port-security
OS10(config-if-port-sec)#no disable
OS10(config-if-po-1)#exit
OS10(config)# mac address-table static 03:ab:cd:21:ba:01 vlan 1 interface port-channel 1
Remove statically-configured secure MAC addresses
To remove statically-configured secure MAC addresses, use the following command in EXEC mode:
clear mac address-table secure {{dynamic | sticky} {address mac_addr | vlan vlan-id |
interface {ethernet node/slot/port[:subport] | port-channel}} | all}
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
1194
Security