Configuring MAC Locking clear maclock
24-10 Security Configuration
Defaults
None.
Mode
Switchcommand,Read‐Write.
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,Read‐Write.
Example
ThisexampleshowshowtoclearMAClockingbetweenMACaddress00‐a0‐c9‐0d‐32‐11andport
fe.2.3:
Matrix(rw)->clear maclock 00-a0-c9-0d-32-11 fe.2.3
all ClearsallstaticMAClockingforoneormoreports.
mac_address SpecifiestheMACaddressforwhichtheMAClockingwillbecleared.
port_string SpecifiestheportonwhichtoclearMAClocking.Foradetailed
descriptionofpossiblep o rt_stringvalues,referto“PortStringSyntax
UsedintheCLI”
onpage 4‐2.