Configuring MAC Locking
Defaults
None.
Mode
Switch command, Read‐Write.
Usage
When enabled, this authorizes the device to send an SNMP trap message if an end station is
connected that exceeds the maximum values configured using the set maclock firstarrival and set
maclock static commands. Violating MAC addresses are dropped from the device's routing table.
Example
This example shows how to enable MAC lock trap messaging on fe.2.3:
Matrix(rw)->set maclock trap fe.2.3 enable
clear maclock
Use this command to clear MAC locking from one or more static MAC addresses.
Syntax
clear maclock {all | mac-address port-string}
Parameters
all
mac_address
port_string
Defaults
None.
Mode
Switch command, Read‐Write.
Example
This example shows how to clear MAC locking between MAC address 00‐a0‐c9‐0d‐32‐11 and port
fe.2.3:
Matrix(rw)->clear maclock 00-a0-c9-0d-32-11 fe.2.3
24-10 Security Configuration
Clears all static MAC locking for one or more ports.
Specifies the MAC address for which the MAC locking will be cleared.
Specifies the port on which to clear MAC locking. For a detailed
description of possible port_string values, refer to "Port String Syntax
Used in the CLI" on page 4‐2.
clear maclock