Clear Maclock - Enterasys D2 D2G124-12P Cli Reference Manual

D-series ethernet switches
Table of Contents

Advertisement

port‐string
create
enable | disable
Defaults
None.
Mode
Switch command, read‐write.
Usage
Configuring a port for MAC locking requires globally enabling it on the switch first using the set 
maclock enable command as described in "set maclock enable" on page 15‐49. 
Static MAC locking a user on multiple ports is not supported.
Statically MAC locked addresses will display in the show mac output (as described on page 12‐18) 
as address type "other" and will not remove them on link down.
Example
This example shows how to create a MAC locking association between MAC address 0e‐03‐ef‐d8‐
44‐55 and port 
D2(rw)->set maclock 0e-03-ef-d8-44-55 ge.3.2 create

clear maclock

Use this command to remove a static MAC address to port locking entry. 
Syntax
clear maclock mac-address port-string
Parameters
mac‐address
port‐string
Defaults
None.
Mode
Switch command, read‐write.
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 4‐1. 
Establishes a MAC locking association between the specified MAC 
address and port. Create automatically enables MAC locking between the 
specified MAC address and port.
Enables or disables MAC locking between the specified MAC address and 
port.
ge
.3.2: 
Specifies the MAC address that will be removed from the list of static 
MACs allowed to communicate on the port.
Specifies the port on which to clear the MAC address. For a detailed 
description of possible port‐string values, refer to "Port String Syntax Used 
in the CLI" on page 4‐1. 
clear maclock
D-Series CLI Reference 15-51

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterasys d2 d2g124-12D2g124-12D2g124-12p

Table of Contents