set maclock static
18-52 Security Configuration
removedfromthestaticMACaddresslistandthefirstarrivallimithasbeensetto10,butonlyhas
7entries,userAwillbecomethe8thentryandallowedtocommunicateontheport.
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
Parameters
port‐string SpecifiestheportonwhichtosetthemaximumnumberofstaticMACs
allowed.Foradetaileddescriptionofpossibleport‐stringvalues,referto
“PortStringSyntaxUsedintheCLI”onpage 5‐2.
value SpecifiesthemaximumnumberofstaticMACaddressesallowedper
port.Validvalues
are0to20.
port‐string SpecifiestheportonwhichtoresetnumberofstaticMACaddresses
allowed.Foradetaileddescriptionofpossibleport‐stringvalues,referto
“PortStringSyntaxUsedintheCLI”onpage 5‐2.