set maclock static
23-56 Authentication and Authorization Configuration
Usage
TheMACaddressthatisclearedwillnolongerbeabletocommunicateontheportunlessthefirst
arrivallimithasbeensettoavaluegreaterthan0andthislimithasnotyetbeenmet.
Forexample,ifuserB’sMACisremovedfromthestaticMACaddress
listandthefirstarrival
limithasbeensetto0,thenuserBwillnotbeabletocommunicateontheport.IfuserA’ sMACis
removedfromthestaticMACaddresslistandthefirstarrivallimithasbeensetto10,butonlyhas
7entries,user
Awillbecomethe8thentryandallowedtocommunicateontheport.
Example
ThisexampleshowshowtoremoveaMACfromthelistofstaticMACsallowedtocommunicate
onport
ge.3.2:
C2(rw)->clear maclock 0e-03-ef-d8-44-55 ge.3.2
set maclock static
UsethiscommandtosetthemaximumnumberofstaticMACaddressesallowedperport.Static
MACsareadministrativelydefined.
Syntax
set maclock static port-string value
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtosetthemaximumnumberofallowablestaticMACsto2onge.3.1:
C2(rw)->set maclock static ge.3.1 2
clear maclock static
UsethiscommandtoresetthenumberofstaticMACaddressesallowedperporttothedefault
valueof20.
Syntax
clear maclock static port-string
port‐string SpecifiestheportonwhichtosetthemaximumnumberofstaticMACs
allowed.Foradetaileddescriptionofpossibleport‐stringvalues,referto
“PortStringSyntaxUsedintheCLI”onpage 7‐2.
value SpecifiesthemaximumnumberofstaticMACaddressesallowedper
port.Validvalues
are0to20.