Users Guide
Version Description
6.5.1.0 Added support for MAC Learning-Limit on the LAG.
Usage Information
This command and its options are supported on physical interfaces, static LAGs, LACP LAGs, and VLANs.
If you do not specify the vlan option, the MAC address counters are not VLAN-based. That is, the sum of the
addresses learned on all VLANs (not having any learning limit conguration) is counted against the MAC learning
limit.
MAC Learning Limit violation logs and actions are not available on a per-VLAN basis.
With the keyword no-station-move option, MAC addresses learned through this feature on the selected
interface persist on a per-VLAN basis, even if received on another interface. Enabling or disabling this option has no
eect 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 congure 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 aected. 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 undened. When this occurs, un-congure the existing conguration rst and
then reapply the limit with a lower value.
Related Commands
• mac learning-limit mac-address-sticky — replace deprecated no-station-move parameter.
• show mac learning-limit — display MAC learning-limit conguration.
mac learning-limit learn-limit-violation
Congure an action for a MAC address learning-limit violation.
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 913