White Papers

Table Of Contents
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 configuration) 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 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.
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 dynamic clears the MAC address table of all MAC address learned
dynamically.
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.
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)
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
This command is supported on physical interfaces, static LAGs, and LACP LAGs.
Related
Commands
show mac learning-limit displays details of the mac learning-limit.
mac learning-limit station-move-violation
Specify the actions for a station move violation.
Syntax
mac learning-limit station-move-violation {log | shutdown-both | shutdown-
offending | shutdown-original}
To disable a configuration, use the no mac learning-limit station-move-violation
command, then the configured keyword.
736 Layer 2