set maclock move
32-72 Authentication and Authorization Configuration
Defaults
Clear on link change is enabled by default.
Mode
Switch command, read-write.
Example
This example returns clear on link change to its default value on ge.1.1.
C3(su)->clear maclock clearonlinkchange ge.1.1
set maclock move
Use this command to move all current first arrival MACs to static entries.
Syntax
set maclock move port-string
Parameters
Defaults
None.
Mode
Switch command, read-write.
Usage
If there are more first arrival MACs than the allowed maximum static MACs, then only the latest
first arrival MACs will be moved to static entries. For example, if you set the maximum number of
static MACs to 2 with the set maclock static command, and then executed the set maclock move
command, even though there were five MACs in the first arrival table, only the two most recent
MAC entries would be moved to static entries.
Example
This example shows how to move all current first arrival MACs to static entries on ports ge.3.1-40:
C3(rw)->set maclock move ge.3.1-40
set maclock trap
Use this command to enable or disable MAC lock trap messaging.
Syntax
set maclock trap port-string {enable | disable} [threshold | violation]
port-string Specifies the port on which MAC will be moved from first arrival MACs
to static entries. For a detailed description of possible port-string values,
refer to “Port String Syntax Used in the CLI” on page 11-1.