clear maclock
SecureStack C2 Configuration Guide 18-51
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
ConfiguringoneormoreportsforMAClockingrequiresgloballyenablingitontheswitchfirst
usingthesetmaclockenablecommandasdescribedin“setmaclockenable”onpage 18‐49.
Example
ThisexampleshowshowtocreateaMAClockingassociationbetweenMACaddress0e‐03‐ef‐d8‐
44‐55andport
ge.3.2:
C2(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,read‐write.
Usage
TheMACaddressthatisclearedwillnolongerbeabletocommunicateontheportunlessthefirst
arrivallimithasbeensettoavaluegreaterthan0andthislimithasnotyetbeenmet.
Forexample,ifuserB’sMACisremovedfromthestaticMACaddress
listandthefirstarrival
limithasbeensetto0,thenuserBwillnotbeabletocommunicateontheport.IfuserA’sMACis
create EstablishesaMAClockingassociationbetweenthespecifiedMAC
addressandport.CreateautomaticallyenablesMAClockingbetweenthe
specifiedMACaddress
andport.
enable|disable EnablesordisablesMAClockingbetweenthespecifiedMACaddressand
port.
mac‐address SpecifiestheMACaddressthatwillberemovedfromthelistofstatic
MACsallowedtocommunicateontheport.
port‐string SpecifiestheportonwhichtocleartheMACaddress.Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntaxUsed
intheCLI
”onpage 5‐2.