set maclock disable
15-50 Security Configuration
Usage
Whenenabledandconfigured,MAClockingdefineswhichMACaddresses,aswellashowmany
MACaddressesarepermittedtousespecificport(s).
MAClockingisdisabledbydefaultatdevicestartup.ConfiguringoneormoreportsforMAC
lockingrequiresgloballyenablingitonthedeviceandthenenablingit
onthedesiredports.
Example
ThisexampleshowshowtoenableMAClockingonge.2.3:
D2(su)->set maclock enable ge.2.3
set maclock disable
UsethiscommandtodisableMAClockinggloballyorononeormoreports.
Syntax
set maclock disable [port-string]
Parameters
Defaults
Ifport‐stringisnotspecified,MAClockingwillbedisabledgloballyonthestackorstandalone
device.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtodisableMAClockingonge.2.3:
D2(su)->set maclock disable ge.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 4‐1.
mac‐address SpecifiestheMACaddressforwhichMAClockingwillbecreated,
enabledordisabled.