Setting Port Link Traps and Link Flap Detection
Enterasys D-Series CLI Reference 6-21
Setting Port Link Traps and Link Flap Detection
Purpose
Todisableorre‐enablelinktraps,displaylinktrapstatus,andtoconfigurethelinkflapping
detectionfunction.Bydefault,allportsareenabledtosendSNMPtrapmessagesindi cating
changestotheirlinkstatus(upordown).
Thelinkflapfunctiondetect swhenalinkisgoingupand
downrapidly(alsocalled“link
flapping”)onaphysicalport,andtakestherequiredactions(disableport,andeventuallysend
notificationtrap)tostopsuchacondition.Ifleftunresolved,the“linkflapping”conditioncanbe
detrimentaltonetworkstabilitybecauseitcantriggerSpanningTreeandroutingtable
recalculation.
Commands
show port trap
UsethiscommandtodisplaywhethertheportisenabledforgeneratinganSNMPtrapmessageif
itslinkstatechanges.
Syntax
show port trap [port-string]
Parameters
For information about... Refer to page...
show port trap 6-21
set port trap 6-22
show linkflap 6-22
set linkflap globalstate 6-25
set linkflap portstate 6-25
set linkflap interval 6-26
set linkflap action 6-26
clear linkflap action 6-27
set linkflap threshold 6-27
set linkflap downtime 6-28
clear linkflap down 6-28
clear linkflap 6-29
port‐string (Optional)Displayslinktrapstatusforspecificport(s).Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntaxUsed
intheCLI”onpage6‐1.