configure mac-locking ports static limit-learning

configure mac-locking ports port_list static limit-learning learn_limit

Description

Restricts MAC locking on a port to a maximum number of static (management defined) MAC addresses for end stations connected to this port.

Syntax Description

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.

Default

64 static 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 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. 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.

Example

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

History

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, X690, and X695 series switches.