enable mac-locking

enable mac-locking


Enables MAC locking globally on the switch.

Syntax Description

This command has no arguments or variables.


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 ports command to enable MAC locking on a port.


The following example enables MAC locking on the switch.

enable mac-locking


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.