Setting Port Link Traps and Link Flap Detection
5-18 Port Configuration
Example
Thisexampleshowshowtoenableflowcontrol:
B3(su)->set flowcontrol enable
Setting Port Link Traps and Link Flap Detection
Purpose
Todisableorre‐enablelinktraps,displaylinktrapstatus,andtoconfigurethelinkflapping
detectionfunction.Bydefault,allportsareenabledtosendSNMPtrapmessagesindi cating
changestotheirlinkstatus(upordown).
Thelinkflapfunctiondetectswhenalinkisgoingupand
downrapidly(alsocalled“link
flapping”)onaphysicalport,andtakestherequiredactions(disableport,andeventuallysend
notificationtrap)tostopsuchacondition.Ifleftunresolved,the“linkflapping”conditioncanbe
detrimentaltonetworkstabilitybecauseitcantriggerSpanning Treeandroutingtable
recalculation.
Commands
show port trap
UsethiscommandtodisplaywhethertheportisenabledforgeneratinganSNMPtrapmessageif
itslinkstatechanges.
Syntax
show port trap [port-string]
For information about... Refer to page...
show port trap 5-18
set port trap 5-19
show linkflap 5-20
set linkflap globalstate 5-22
set linkflap portstate 5-23
set linkflap interval 5-23
set linkflap action 5-24
clear linkflap action 5-24
set linkflap threshold 5-25
set linkflap downtime 5-25
clear linkflap down 5-26
clear linkflap 5-26