Dell Command Line Reference Guide for the S4048–ON System 9.14.2.5

PDF

mac learning-limit

Limit the maximum number of MAC addresses (static + dynamic) learned on a selected interface.

Syntax
mac learning-limit address_limit [vlan vlan-id] [station-move-violation [dynamic]] [dynamic [no-station-move| station-move]]
Parameters
address_limit
Enter the maximum number of MAC addresses that can be learned on the interface. The range is from 1 to 1000000.
vlan vlan-id
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, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100–ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.2(1.0)
Introduced on the Z9500.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.12.0
Deprecated the no-station-move command (replaced by the mac-learning-limit mac-address-sticky command).
8.3.7.0
Introduced on the S4810.
8.3.1.0
Added the vlan option on the E-Series.
8.2.1.0
Introduced on the S-Series.
7.7.1.0
Introduced on the C-Series. Added the station-move option.
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.

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

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\