set maclock disable

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 ge.2.3:

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

(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.

 

 

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 ge.2.3:

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-addressport-string{create enable disable}

Parameters

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 Port String Syntax Used in the CLI” on page 7‐1.

 

 

SecureStack C3 Configuration Guide 26-61

Page 807
Image 807
Enterasys Networks 9034313-07 manual Set maclock disable, This example shows how to enable MAC locking on ge.2.3