set maclock trap
Enterasys D-Series CLI Reference 17-61
Usage
IftherearemorefirstarrivalMACsthantheallowedmaximumstaticMACs,thenonlythelatest
firstarrivalMACswillbemovedtostaticentries.Forexample,ifyousetthemaximumnumberof
staticMACsto2withthesetmaclockstaticcommand,andthenexecutedthesetmaclock
move
command,eventhoughtherewerefiveMACsinthefirstarrivaltable,onlythetwomostrecent
MACentrieswouldbemovedtostaticentries.
Example
Thisexampleshows howtomoveallcurrentfirstarrivalMACstostaticentriesonportsge.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.ViolatingMA Caddressesaredroppedfromthedevice’sfiltering
database.
Example
ThisexampleshowshowtoenableMAClocktrapmessagingonfe.2.3:
D2(su)->set maclock trap fe.2.3 enable
port‐string SpecifiestheportonwhichMAClocktrapmessagingwillbeenabledor
disabled.Foradetaileddescriptionofpossibleport‐stringvalues,referto
“PortStringSyntaxUsedintheCLI”onpage 6‐1.
enable|disable EnablesordisablesMAClocktrapmessaging.