Restricts MAC locking on a port to a maximum number of static (management defined) MAC addresses for end stations connected to this port.
port_list | Specifies one or more ports or slots and ports. |
learn_limit | Specifies the maximum number of static end station MAC addresses that can be connected to the port. Valid values are 0–64. |
64 static end station MAC addresses.
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 set a value that is lower than the number of MACs locked in the MAC lock station table.
You cannot configure the learning limit on both a port and a port-VLAN (Virtual LAN). If the learning limit is configured on a port, configuration on a port-VLAN will is not allowed. Similarly, if the learning limit is configured on a port-VLAN, configuration on port is not allowed.
The following example configures 40 as the maximum number of static MAC addresses that can connect to port 14.
configure mac-locking ports 14 static limit-learning 40
This command was first available in ExtremeXOS 15.7.1.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.