Administrator Guide

Shut down the second port to learn the MAC address.
INTERFACE mode
station-move-violation shutdown-offending
Shut down both the rst and second port to learn the MAC address.
INTERFACE mode
station-move-violation shutdown-both
Display a list of all of the interfaces congured with MAC learning limit or station move violation.
CONFIGURATION mode
show mac learning-limit violate-action
Recovering from Learning Limit and Station Move Violations
After a learning-limit or station-move violation shuts down an interface, you must manually reset it.
To reset the learning limit, use the following commands.
NOTE: Alternatively, you can reset the interface by shutting it down using the shutdown command and then re-enabling it using
the no shutdown command.
Reset interfaces in the ERR_Disabled state caused by a learning limit violation or station move violation.
EXEC Privilege mode
mac learning-limit reset
Reset interfaces in the ERR_Disabled state caused by a learning limit violation.
EXEC Privilege mode
mac learning-limit reset learn-limit-violation [interface | all]
Reset interfaces in the ERR_Disabled state caused by a station move violation.
EXEC Privilege mode
mac learning-limit reset station-move-violation [interface | all]
Disabling MAC Address Learning on the System
You can congure the system to not learn MAC addresses from LACP and LLDP BPDUs.
To disable source MAC address learning from LACP and LLDP BPDUs, follow this procedure:
Disable source MAC address learning from LACP BPDUs.
CONFIGURATION mode
mac-address-table disable-learning lacp
Disable source MAC address learning from LLDP BPDUs.
CONFIGURATION mode
mac-address-table disable-learning lldp
Disable source MAC address learning from LACP and LLDP BPDUs.
CONFIGURATION mode
mac-address-table disable-learning
572
Layer 2