configure mac-locking ports first-arrival limit-learning

configure mac-locking ports port_list first-arrival limit-learning learn_limit


Configures dynamic MAC locking on a port by restricting MAC locking on a port to a maximum number of end station addresses first connected to that port.

Syntax Description

port_list Specifies one or more ports or slots and ports.
learn_limit Specifies the maximum number of first-arrival end station MAC addresses that can be connected to the port. Valid values are 0–600.


600 first-arrival end station MAC addresses

Usage Guidelines

When the configured limit is reached, no further entries are learned. If, however, the learned entries are aged out, new MAC addresses can be learned.

You cannot specify a value that is lower than the number of MACs locked in the MAC lock station table.


The following example configures 400 as the maximum number of first-arrival MAC addresses that can connect to port 14.

configure mac-locking ports 14 first-arrival limit-learning 400


This command was first available in ExtremeXOS 15.7.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.