show linkflap
4-22 Port Configuration
Defaults
•Ifnotspecified,informationaboutalllinkflapdetectionsettingswillbedisplayed.
•Ifport‐stringisnotspecified,informationforallportswillbedisplayed.
Mode
Switchmode,read‐only.
Usage
Thelinkflapdefaultconditionsareshowninthefollowingtable.
Examples
Thisexampleshowshowtodisplaytheglobalstatusofthelinktrapdetectionfunction:
D2(rw)->show linkflap globalstate
Linkflap feature globally disabled
Thisexampleshowshowtodisplayportsdisabledbylinkflapdetectionduetoaviolation:
D2(rw)->show linkflap downports
Ports currently held DOWN for Linkflap violations:
None.
Thisexampleshowshowtodisplaythelinkflapparameterstable:
D2(rw)->show linkflap parameters
Linkflap Port Settable Parameter Table (X means error occurred)
Port LF Status Actions Threshold Interval Downtime
-------- --------- ------- ---------- ---------- ----------
ge.1.1 disabled ....... 10 5 300
ge.1.2 enabled D..S..T 3 5 300
ge.1.3 disabled ...S..T 10 5 300
Table 4‐13providesanexplanationoftheshowlinkflapparameterscommandoutput.
totalcount Displayshowmanylinkdowntransitionshaveoccurredsincethelast
reset.
timelapsed Displaysthetimeperiodsincethelastlinkdowneventorreset.
violations Displaysthenumberoflinkflapviolationssincethelastreset.
port‐string (Optional)Displaysinformation
forspecificport(s).
Linkflap Parameter Default Condition
Linkflap global state Disabled
Linkflap port state Disabled
Linkflap action None
Linkflap interval 5
Linkflap maximum allowed link downs per 10 seconds 20
Linkflap threshold
(number of allowed link down transitions before action is taken)
10