Set maclock disable, Set maclock, Set maclock disable -50 set maclock -50 – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 474

Advertising
background image

set maclock disable

15-50 Security Configuration

Usage

When enabled and configured, MAC locking defines which MAC addresses, as well as how many 
MAC addresses are permitted to use specific port(s).

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: 

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

Defaults

If port‐string is not specified, MAC locking will be disabled globally on the stack or standalone 
device.

Mode

Switch command, read‐write.

Example

This example shows how to disable MAC locking on 

ge

.2.3: 

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

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 4‐1. 

mac‐address

Specifies the MAC address for which MAC locking will be created, 
enabled or disabled.

Advertising
This manual is related to the following products: