another interface. Enabling or disabling this option has no effect on already learned
MAC addresses.
After the MAC address learning limit is reached, the MAC addresses do not age out
unless you add the dynamic option. To clear statistics on MAC address learning,
use the clear counters command with the learning-limit parameter.
NOTE: If you configure this command on an interface in a routed VLAN, and
after the MAC addresses learned reaches the limit set in the mac learning-
limit command, IP protocols are affected. For example, VRRP sets multiple
VRRP Masters and OSPF may not come up.
When a channel member is added to a port-channel and there is not enough ACL
CAM space, the MAC limit functionality on that port-channel is undefined. When
this occurs, un-configure the existing configuration first and then reapply the limit
with a lower value.
Related
Commands clear counters — Clear counters used in the show interface command.
clear mac-address-table — clears the MAC address table of all MAC address
learned dynamically.
mac learning-limit mac-address-sticky — Replaces deprecated no-station-move
parameter.
show mac learning-limit — displays MAC learning-limit configuration.
mac learning-limit learn-limit-violation
Configure an action for a MAC address learning-limit violation.
Z9500
Syntax mac learning-limit learn-limit-violation {log | shutdown}
To return to the default, use the no mac learning-limit learn-limit-
violation {log | shutdown} command.
Parameters log Enter the keyword log to generate a syslog message on a
learning-limit violation.
shutdown Enter the keyword shutdown to shut down the port on a
learning-limit violation.
Defaults none
Command
Modes
INTERFACE (conf-if-interface-slot/port)
Layer 2 1143