show linkflap
D-Series CLI Reference 4-21
Parameters
Defaults
Sendingtrapswhenlinkstatuschangesisenabledbydefault.
Mode
Switchcommand,read‐write.
Example
Thefollowingexampledisablessendingtraponge.3.1.
D2(su)->set port trap ge.3.1 disable
show linkflap
Usethiscommandtodisplaylinkflapdetectionstateandconfigurationinformation.
Syntax
show linkflap {globalstate | portstate | parameters | metrics | portsupported |
actsupported | maximum | downports | action | operstatus | threshold | interval]
| downtime | currentcount | totalcount | timelapsed | violations [port-string]}
Parameters
port‐string Specifiestheport(s)forwhichtoenableordisableporttraps.Fora
detaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage4‐1.
enable|disable Enablesordisablessendingtrapmessageswhenlinkstatuschanges.
globalstate Displaystheglobalenablestateoflinkflapdetection.
portstate Displaystheportenablestateoflinkflapdetection.
parameters Displaysthecurrentvalueofsettab lelinkflapdetectionparameters.
metrics Displayslinkflapdetectionmetrics.
portsupported Displaysportswhichcansupportthelinkflapdetectionfunction.
actsupported Displayslinkflapdetectionactionssupportedbysystem
hardware.
maximum Displaysthemaximumallowedlinkdownsper10secondssupported
bysystemhardware.
downports Displaysportsdisabledbylinkflapdetectionduetoaviolation.
action Displayslinkflapactionstakenonviolatingport(s).
operstatus Displayswhetherlinkflaphasdeactivatedport(s).
threshold Displaysthenumberofallowedlinkdowntransitionsbeforeactionis
taken.
interval Displays
thetimeperiodforcountinglinkdowntransitions.
downtime Displayshowlongviolatingport(s)aredeactivated.
currentcount Displayshowmanylinkdowntransitionsareinthecurrentinterval.