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.
Mode
Switch command, read‐write.
Example
This example shows how to disable MAC locking on
C3(su)->set maclock disable ge.2.3
set maclock
Use this command to create a static MAC address‐to‐port locking, and to enable or disable MAC
locking for the specified MAC address and port.
Syntax
set maclock mac-address port-string {create | enable | disable}
Parameters
mac‐address
port‐string
(Optional) Disables MAC locking on specific port(s). For a detailed
description of possible port‐string values, refer to "Port String Syntax Used
in the CLI" on page 7‐1.
Specifies the MAC address for which MAC locking will be created,
enabled or disabled.
Specifies the port on which to create, enable or disable MAC locking for
the specified MAC. For a detailed description of possible port‐string
values, refer to "Port String Syntax Used in the CLI" on page 7‐1.
.2.3:
ge
.2.3:
ge
SecureStack C3 Configuration Guide 26-61
set maclock disable
Need help?
Do you have a question about the SECURESTACK C3 and is the answer not in the manual?
Questions and answers