dynamic
(OPTIONAL) Enter the keyword
dynamic
to allow aging of
MACs even though a learning limit is configured.
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 configuring
the sticky mac feature along with the learning limit.
Defaults
dynamic
NOTE: “Static” means manually entered addresses, which do not age.
Command
Modes
INTERFACE
Command
History
Version 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 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.
Layer 2
849