configure mac-locking ports first-arrival link-down-action

configure mac-locking ports port_list first-arrival link-down-action [clear-macs | retain-macs]

Description

Clears or retains first arrival MAC locking addresses when the link goes down.

Syntax Description

port_list Specifies one or more ports or slots and ports.
clear-macs First arrival MAC locking addresses will be cleared when the link goes down.
retain-macs First arrival MAC locking addresses will be retained when the link goes down.

Default

When the link goes down, by default, all the first arrival MAC locking addresses will be removed (cleared).

Usage Guidelines

If you specify retain-macs, the first arrival MAC locking addresses will be retained even when the link goes down.

Example

The following example disables the clearing of first arrival MAC locking addresses on port 14.

configure mac-locking ports 14 first-arrival link-down-action retain-macs

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.