Specifications
Security Configuration Command Set
Configuring MAC Locking
10-72 SecureStack A2 Configuration Guide
10.3.6.5 set maclock
Use this command to create a static MAC address and enable or disable MAC locking for the
specified MAC address and port. When created and enabled, the specified MAC address is the only
MAC that will be permitted to communicate on the port.
set maclock mac_address port-string {create | enable | disable}
Syntax Description
Command Defaults
None.
Command Mode
Read-Write.
Example
This example shows how to create a MAC locking association between MAC address
00-a0-c9-0d-32-11 and port fe.3.2:
NOTE: Configuring one or more ports for MAC locking requires globally enabling it on
the device first using the set maclock enable command as described in
Section 10.3.6.3.
mac_address Specifies the MAC address for which MAC locking will
be created, enabled or disabled.
port-string 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
Section 3.1.1.
create Establishes a MAC locking association between the
specified MAC address and port. Create automatically
enables MAC locking between the specified MAC
address and port.
enable | disable Enables or disables MAC locking between the specified
MAC address and port.
A2(rw)->set maclock 0e:03:ef:d8:44:55 fe.3.2 create