Configuring MAC Locking clear maclock
24-10 Security Configuration
Defaults
None.
Mode
Switchcommand,ReadWrite.
Usage
Whenenabled,thisauthorizesthedevicetosendanSNMPtrapmessageifanendstationis
connectedthatexceedsthemaximumvaluesconfiguredusingthesetmaclockfirstarrivalandset
maclockstaticcommands.ViolatingMACaddressesaredroppedfromthedevice’sroutingtable.
Example
ThisexampleshowshowtoenableMAClocktrapmessagingonfe.2.3:
Matrix(rw)->set maclock trap fe.2.3 enable

clear maclock

UsethiscommandtoclearMAClockingfromoneormorestaticMACaddresses.
Syntax
clear maclock {all | mac-address port-string}
Parameters
Defaults
None.
Mode
Switchcommand,ReadWrite.
Example
ThisexampleshowshowtoclearMAClockingbetweenMACaddress00a0c90d3211andport
fe.2.3:
Matrix(rw)->clear maclock 00-a0-c9-0d-32-11 fe.2.3
allClearsallstaticMAClockingforoneormoreports.
mac_addressSpecifiestheMACaddressforwhichtheMAClockingwillbecleared.
port_string SpecifiestheportonwhichtoclearMAClocking.Foradetailed
descriptionofpossibleport_stringvalues,refertoPortStringSyntax
UsedintheCLIonpage 42.