clear maclock
Enterasys C3 Configuration Guide 32-67
clear maclock
Use this command to remove a static MAC address to port locking entry.
Syntax
clear maclock mac-address port-string
Parameters
Defaults
None.
Mode
Switch command, read-write.
Usage
The MAC address that is cleared will no longer be able to communicate on the port unless the first
arrival limit has been set to a value greater than 0 and this limit has not yet been met.
For example, if user B’s MAC is removed from the static MAC address list and the first arrival
limit has been set to 0, then user B will not be able to communicate on the port. If user A’s MAC is
removed from the static MAC address list and the first arrival limit has been set to 10, but only has
7 entries, user A will become the 8th entry and allowed to communicate on the port.
Example
This example shows how to remove a MAC from the list of static MACs allowed to communicate
on port
ge.3.2:
C3(rw)->clear maclock 0e-03-ef-d8-44-55 ge.3.2
set maclock static
Use this command to set the maximum number of static MAC addresses allowed per port. Static
MACs are administratively defined.
Syntax
set maclock static port-string value
Parameters
mac-address Specifies the MAC address that will be removed from the list of static
MACs allowed to communicate on the port.
port-string Specifies the port on which to clear the MAC address. For a detailed
description of possible port-string values, refer to “Port String Syntax Used
in the CLI” on page 11-1.
port-string Specifies the port on which to set the maximum number of static MACs
allowed. For a detailed description of possible port-string values, refer to
“Port String Syntax Used in the CLI” on page 11-1.
value Specifies the maximum number of static MAC addresses allowed per
port. Valid values are 0 to 20.