Specifications

clear maclock
17-56 Security Configuration
Mode
Switchcommand,readwrite.
Usage
ConfiguringaportforMAClockingrequiresgloballyenablingitontheswitchfirstusingtheset
maclockenablecommandasdescribedinsetmaclockenableonpage 1754.
StaticMAClockingauseronmultipleportsisnotsupported.
StaticallyMAClockedaddresseswilldisplayintheshowmac
output(asdescribedonpage1419)
asaddresstype“otherandwillnotremovethemonlinkdown.
Example
ThisexampleshowshowtocreateaMAClockingassociationbetweenMACaddress0e03efd8
4455andport
ge.3.2:
D2(rw)->set maclock 0e-03-ef-d8-44-55 ge.3.2 create
clear maclock
UsethiscommandtoremoveastaticMACaddresstoportlockingentry.
Syntax
clear maclock mac-address port-string
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
TheMACaddressthatisclearedwillnolongerbeabletocommunicate ontheportunlessthefirst
arrivallimithasbeensettoavaluegreaterthan0andthislimithasnotyetbeenmet.
Forexample,ifuserB’sMACisremovedfromthestaticMACaddress
listandthefirstarrival
limithasbeensetto0,thenuserBwillnotbeabletocommunicateontheport.IfuserA’ sMACis
removedfromthestaticMACaddresslistandthefirstarrivallimithasbeensetto10,butonlyhas
7entries,user
Awillbecomethe8thentryandallowedtocommunicateontheport.
macaddress SpecifiestheMACaddressthatwillberemovedfromthelistofstatic
MACsallowedtocommunicateontheport.
portstring SpecifiestheportonwhichtocleartheMACaddress.Foradetailed
descriptionof
possibleportstringvalues,refertoPortStringSyntaxUsed
intheCLIonpage 61.