set maclock trap
23-60 Authentication and Authorization Configuration
Mode
Switchcommand,read‐write.
Usage
IftherearemorefirstarrivalMACsthantheallowedmaximumstaticMACs,thenonlythelatest
firstarrivalMACswillbemovedtostaticentries.Forexample,ifyousetthemaximumnumberof
staticMACsto2withthesetmaclockstaticcommand,andthenexecutedthesetmaclock
move
command,eventhoughtherewerefiveMACsinthefirstarrivaltable,onlythetwomostrecent
MACentrieswouldbemovedtostaticentries.
Example
ThisexampleshowshowtomoveallcurrentfirstarrivalMACstostaticentriesonportsge.3.1‐40:
C2(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’s (orstack’s)
filteringdatabase.
Example
ThisexampleshowshowtoenableMAClocktrapmessagingonfe.2.3:
C2(su)->set maclock trap fe.2.3 enable
port‐string SpecifiestheportonwhichMAClocktrapmessagingwillbeenabledor
disabled.Foradetaileddescriptionofpossibleport‐stringvalues,referto
“PortStringSyntaxUsedintheCLI”onpage 7‐2.
enable|disable EnablesordisablesMAClocktrapmessaging.