set maclock enable
Use this command to enable MAC locking globally or on one or more ports.
Syntax
set maclock enable [port-string]
Parameters
port-string
Defaults
If port-string is not specified, MAC locking will be enabled globally.
Mode
Switch command, read-write.
Usage
When enabled and configured, MAC locking defines which MAC addresses, as well as how many
MAC addresses are permitted to use specific port(s).
MAC locking is disabled by default at device startup. Configuring one or more ports for MAC
locking requires globally enabling it on the device and then enabling it on the desired ports.
Example
This example shows how to enable MAC locking on
C3(su)->set maclock enable ge.2.3
set maclock disable
Use this command to disable MAC locking globally or on one or more ports.
Syntax
set maclock disable [port-string]
Parameters
port-string
Defaults
If port-string is not specified, MAC locking will be disabled globally on the switch.
Note: MAC locking needs to be enabled globally and on appropriate ports for it to function.
(Optional) Enables MAC locking on specific port(s). For a detailed
description of possible port-string values, refer to
in the
CLI" on page 11-1.
(Optional) Disables MAC locking on specific port(s). For a detailed
description of possible port-string values, refer to
in the
CLI" on page 11-1.
"Port String Syntax Used
.2.3:
ge
"Port String Syntax Used
Enterasys C3 Configuration Guide 32-65
set maclock enable