Clear maclock, Clear maclock -56 – Enterasys Networks D-Series User Manual
Page 518
clear maclock
17-56
Security Configuration
Mode
Switch command, read‐write.
Usage
Configuring a port for MAC locking requires globally enabling it on the switch first using the set
maclock enable command as described in “
Static MAC locking a user on multiple ports is not supported.
Statically MAC locked addresses will display in the show mac output (as described on page
)
as address type “other” and will not remove them on link down.
Example
This example shows how to create a MAC locking association between MAC address 0e‐03‐ef‐d8‐
44‐55 and port
ge
.3.2:
D2(rw)->set maclock 0e-03-ef-d8-44-55 ge.3.2 create
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.
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 “