set maclock trap
Enterasys B5 CLI Reference 22-67
Mode
Switchcommand,read‐write.
Usage
IftherearemorefirstarrivalMACsthantheallowedmaximumstaticMACs,thenonlythelatest
firstarrivalMACswillbemovedtostaticentries.Forexample,ifyousetthemaximumnumberof
staticMACsto2withthesetmaclockstaticcommand,andthenexecutedthesetmaclock
move
command,eventhoughtherewerefiveMACsinthefirstarrivaltable,onlythetwomostrecent
MACentrieswouldbemovedtostaticentries.
Example
Thisexampleshows howtomoveallcurrentfirstarrivalMACstostaticentriesonportsge.3.1‐40:
B5(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
ThisexampleshowshowtoenableMAClocktrapmessagingonge.2.3:
B5(su)->set maclock trap ge.2.3 enable
port‐string SpecifiestheportonwhichMAClocktrapmessagingwillbeenabledor
disabled.Foradetaileddescriptionofpossibleport‐stringvalues,referto
“PortStringSyntaxUsedintheCLI”onpage 7‐1.
enable|disable EnablesordisablesMAClocktrap messaging.