set maclock disable
23-54 Authentication and Authorization Configuration
MAClockingisdisabledbydefaultatdevicestartup.ConfiguringoneormoreportsforMAC
lockingrequiresgloballyenablingitonthedeviceandthenenablingitonthedesiredports.
Example
ThisexampleshowshowtoenableMAClockingonfe.2.3:
C2(su)->set maclock enable fe.2.3
set maclock disable
UsethiscommandtodisableMAClockinggloballyorononeormoreports.
Syntax
set maclock disable [port-string]
Parameters
Defaults
Ifport‐stringisnotspecified,MAClockingwillbedisabledgloballyonthesw itch.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtodisableMAClockingonfe.2.3:
C2(su)->set maclock disable fe.2.3
set maclock
UsethiscommandtocreateastaticMACaddress‐to‐portlocking,andtoenableordisableMAC
lockingforthespecifiedMACaddressandport.
Syntax
set maclock mac-address port-string {create | enable | disable}
Parameters
port‐string (Optional)DisablesMAClockingonspecificport(s).Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntaxUsed
intheCLI”onpage 7‐2.
mac‐address SpecifiestheMACaddressforwhichMAClockingwillbecreated,
enabledordisabled.
port‐string Specifiestheportonwhichtocreate,enableordisableMAClockingfor
thespecifiedMAC.Foradetaileddescriptionofpossibleport‐string
values,referto“PortStringSyntaxUsedintheCLI
”onpage 7‐2.