set maclock clearonlinkchange

Use this command to manage the behavior of first arrival MAC locking with link state change.

Syntax

set maclock clearonlinkchange port-string {enable | disable}

Parameters

port-string Specifies the port or ports on which to apply the command.
enable | disable Enable or disable clearing of first arrival MAC locks with a change in link state.

Defaults

Clear on link change is enabled by default.

Mode

All command modes.

Usage

If you disable clearing of first arrival MAC locking, first arrival MAC addresses will be maintained on a loss of link.

Example

This example shows how to configure a port to maintain first arrival MAC address locks on a port through a link state change.

System(su)->set maclock clearonlinkchange ge.1.1 disable