CLI Guide

Parameters
address_limit Enter the maximum number of MAC addresses that can be learned on the interface. The
range is from 1 to 1000000.
dynamic (OPTIONAL) Enter the keyword dynamic to allow aging of MACs even though a
learning limit is congured.
no-station-move (OPTIONAL) Enter the keywords no-station-move to disallow a station move
(associate the learned MAC address with the most recently accessed port) on learned
MAC addresses.
station-move (OPTIONAL) Enter the keywords station-move to allow a station move on learned
MAC addresses.
sticky (OPTIONAL) Enter the keyword sticky to allow conguring the sticky mac feature
along with the learning limit.
Defaults dynamic
NOTE: “Static” means manually entered addresses, which do not age.
Command Modes INTERFACE
Supported Modes Full–Switch
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 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 conguration) 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
eect 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 undened. When this occurs, un-congure the existing conguration rst 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 conguration.
Layer 2 819