clear maclock

Use this command to clear MAC locking from one or more static MAC addresses.

Syntax

clear maclock {all | mac-address} port-string

Parameters

all Clears all static MAC locking for one or more ports.
mac-address Specifies the MAC address for which the MAC locking will be cleared.
port-string Specifies the port on which to clear MAC locking.

Defaults

None.

Mode

All command modes.

Example

This example shows how to clear MAC locking between MAC address 00-a0-c9-0d-32-11 and port ge.2.3:

System(rw)->clear maclock 00-a0-c9-0d-32-11 ge.2.3