Enterasys Networks D2G124-12P Benutzerhandbuch
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.
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.
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
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.
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.
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
“
allowed. For a detailed description of possible port‐string values, refer to
“
value
Specifies the maximum number of static MAC addresses allowed per
port. Valid values are 0 to 20.
port. Valid values are 0 to 20.