Reference Guide
vlan 
vlan-id
E-Series only: Enter the keyword then the VLAN ID. The range is from 
1 to 4094.
dynamic (OPTIONAL) Enter the keyword dynamic to allow aging of MACs 
even though a learning limit is configured.
station-move-
violation
(OPTIONAL) Enter the keywords station-move to allow a station 
move on learned MAC addresses.
Defaults
• On S-Series, the default behavior is dynamic.
NOTE: “Static” means manually entered addresses, which do not age.
Command Modes INTERFACE
Command History
This guide is platform-specific. For command information about other platforms, refer to the 
relevant 
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.12.0 Deprecated the no-station-move command (replaced by the 
mac-learning-limit mac-address-sticky command).
Version 8.3.7.0 Introduced on the S4810.
Version 8.3.1.0 Added the vlan option on the E-Series.
Version 8.2.1.0 Introduced on the S-Series.
Version 7.7.1.0 Introduced on the C-Series. Added the station-move option.
Version 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 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.
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.
828










