- Enterasys Ethernet Switches Reference Manual

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
Ifportstringisnotspecified,MAClockingwillbedisabledgloballyonthestackorstandalone
device.
Mode
Switchcommand,readwrite.
Example
ThisexampleshowshowtodisableMAClockingonge.2.3:
D2(su)->set maclock disable ge.2.3
set maclock
UsethiscommandtocreateastaticMACaddresstoportlocking,andtoenableordisableMAC
lockingforthespecifiedMACaddressandport.
Syntax
set maclock mac-address port-string {create | enable | disable}
Parameters
portstring (Optional)DisablesMAClockingonspecificport(s).Foradetailed
descriptionofpossibleportstringvalues,refertoPortStringSyntaxUsed
intheCLIonpage 41.
macaddress SpecifiestheMACaddressforwhichMAClockingwillbecreated,
enabledordisabled.