configure mac-locking ports learn-limit-action

configure mac-locking ports port_list learn-limit-action [disable-port | remain-enabled]

Description

Configures a port to be disabled or remain enabled when the port learns the configured maximum number of MACs.

Syntax Description

port_list Specifies one or more ports or slots and ports.
disable-port Disables the port when the configured MAC limit is reached.
remain-enabled Port remains enabled after the configured MAC limit is reached.

Default

The port remains enabled after the configured MAC limit is reached.

Usage Guidelines

This command is used for both first arrival and static MAC locking methods.

Example

The following example configures port 14 to be disabled when the configured MAC limit is reached.

configure mac-locking ports 14 learn-limit-action disable-port

History

This command was first available in ExtremeXOS 15.7.1.

Platform Availability

This command is available on all Universal switches supported in this document.