Reference Guide
mac learning-limit
Limit the maximum number of MAC addresses (static + dynamic) learned on a selected interface.
S5000
Syntax
mac learning-limit [address_limit ] | [learn-limit-violation] |
[station-move-violation]
Parameters
address_limit Enter the maximum number of MAC addresses that can be
learned on the interface. The range is 1 to 1000000.
learn-limit-
violation
(OPTIONAL) Enter the learn-limit-violation keyword
to specify an action when the learn limit is reached.
station-move-
violation
(OPTIONAL) Enter the keywords station-move to specify
an action when the station move limit is reached.
Defaults Default behavior is dynamic.
NOTE: “Static” means manually entered addresses, which do not age.
Command
Modes
INTERFACE
Command
History
Version 9.0(1.3) Introduced on the S5000.
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 is 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, learned MAC addresses start to age
out. 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.
Layer 2
871










