Specifications

Configuring Link Flap Detection
January 29, 2009 Page 3 of 4
Example Link Flap Detection Configuration
PoEdevices(forexample,VoIPphonesorwirelessaccesspoints)connectedtoaMatrixNdevice
areexperiencingintermittentpowerlosses,thoughtheMatrixNdeviceitselfhasnotexperienced
anycorrespondingpowerlosses.Thenetworkadministratorenableslinkflapdetectiononarange
ofPoEportstowhichthePoE
devicesareconnected.
Matrix(rw)->set linkflap portstate enable ge.1.1-12
Thenetworkadministratoralsosetsvaluesfortheinterval,threshold,anddowntimeontheports.
Matrix(rw)->set linkflap interval ge.1.1-12 20
Matrix(rw)->set linkflap threshold ge.1.1-12 8
Matrix(rw)->set linkflap downtime ge.1.1-12 600
Ifthelinkflapthresholdisexceededwithinthelinkflapinterval(eightlinkflapconditionswithin
20seconds,asconfiguredabove),theMatrixNdevicewill,bydefault,disabletheport(for600
seconds,asconfiguredabove)andgeneratebothasyslogentryandanSNMPt r ap. Thesedefault
actions
canbechangedbyusingtheset linkflap actioncommand.
TheMatrixNdevicedisablesportsge.1.1andge.1.2whenexcessivelinkflappingoccursonthe
ports.Thenetworkadministratorcancheckthestatusoftheportsandthenumberoflinkflap
conditionsthatoccurredbyusingthe
show linkflap metricscommand.
Whiletheportsaredisabled,thenetworkadministratorreplacesthepotentiallyfaultyEthernet
cablesconnectingtheportstothePoEdevices.Thenetworkadministratorthenenablestheports.
Matrix(rw)->clear linkflap down ge.1.1-2
IfnoadditionalpowerlossesoccuronthePoEdevicesandnoadditionallinkflappingconditions
occur,thenetworkadministra tordisableslinkflapdetectiononthePoEports.
Matrix(rw)->set linkflap portstate disable ge.1.1-12
Link Flap Detection Display Commands
Table 1listslinkflapdetectionshowcommandsforMatrixNSeries,SecureStack,DSeries,
GSeries,andISeriesdevices.
Refertothedevice’sCLIReferenceGuideorConfigurationGuide foradescriptionoftheoutputof
eachcommand.
Table 1 Link Flap Detection Show Commands
Task Command
Display whether the port is enabled for generating
an SNMP trap message if its link state changes.
show port trap [port-string]
Display link flap detection state and configuration
information.
The show linkflap parameters and show
linkflap metrics commands provide summary
views of your current link flap detection
configuration.
show linkflap {globalstate | portstate
| parameters | metrics | portsupported
| actsupported | maximum | downports |
action | operstatus | threshold |
interval] | downtime | currentcount |
totalcount | timelapsed | violations
[port-string]}