
set maclock trap
15-56 Security Configuration
Mode
Switchcommand,read‐write.
Usage
IftherearemorefirstarrivalMACsthantheallowedmaximumstaticMACs,thenonlythelatest
firstarrivalMACswillbemovedtostaticentries.Forexample,ifyousetthemaximumnumberof
staticMACsto2withthesetmaclockstaticcommand,andthenexecutedthesetmaclock
move
command,eventhoughtherewerefiveMACsinthefirstarrivaltable,onlythetwomostrecent
MACentrieswouldbemovedtostaticentries.
Example
ThisexampleshowshowtomoveallcurrentfirstarrivalMACstostaticentriesonportsge.3.1‐40:
D2(rw)->set maclock move ge.3.1-40
set maclock trap
UsethiscommandtoenableordisableMAClocktrapmessaging.
Syntax
set maclock trap port-string {enable | disable}
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Whenenabled,thisfeatureauthorizestheswitchtosendanSNMPtrapmessageifanendstation
isconnectedthatexceedsthemaximumvaluesconfiguredusingthesetmaclockfirstarrivaland
setmaclockstaticcommands.ViolatingMACaddressesaredroppedfromthedevice’sfiltering
database.
Example
ThisexampleshowshowtoenableMAClocktrapmessagingonge.2.3:
D2(su)->set maclock trap ge.2.3 enable
port‐string SpecifiestheportonwhichMAClocktrapmessagingwillbeenabledor
disabled.Foradetaileddescriptionofpossibleport‐stringvalues,referto
“PortStringSyntaxUsedintheCLI”onpage 4‐1.
enable|disable EnablesordisablesMAClocktrapmessaging.