Set maclock static, Clear maclock static, Set maclock static -52 clear maclock static -52 – Enterasys Networks Enterasys D2 D2G124-12P User Manual
Page 476

set maclock static
15-52 Security Configuration
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:
D2(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
Defaults
None.
Mode
Switch command, read‐write.
Example
This example shows how to set the maximum number of allowable static MACs to 2 on
ge
.3.1:
D2(rw)->set maclock static ge.3.1 2
clear maclock static
Use this command to reset the number of static MAC addresses allowed per port to the default
value of 20.
Syntax
clear maclock static port-string
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
value
Specifies the maximum number of static MAC addresses allowed per
port. Valid values are 0 to 20.