set maclock static
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
C2(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
port‐string
value
Defaults
None.
Mode
Switch command, read‐write.
Example
This example shows how to set the maximum number of allowable static MACs to 2 on
C2(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
23-56 Authentication and Authorization Configuration
.3.2:
ge
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 7‐2.
Specifies the maximum number of static MAC addresses allowed per
port. Valid values are 0 to 20.
.3.1:
ge
Need help?
Do you have a question about the SecureStack C2 C2G170-24 and is the answer not in the manual?