enable mac-locking ports

disable mac-locking ports [port_list | all]

Description

Enables MAC locking on the specified port.

Syntax Description

port_list Specifies one or more ports or slots and ports.
all Specifies all ports.

Default

MAC locking is disabled by default.

Usage Guidelines

To enable MAC locking on a specific port, you must enable MAC locking on the switch and on the port. Use the enable mac-locking command to enable MAC locking on the switch.

You cannot enable MAC locking on a port if limit-learning or lock-learning is configured on the port for any VLAN (Virtual LAN).

Example

The following example enables MAC locking on port 14.

enable mac-locking ports 14

History

This command was first available in ExtremeXOS 15.7.1.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.