set linkflap globalstate
D-Series CLI Reference 4-23
Thisexampleshowshowtodisplaythelinkflapmetricstable:
D2(rw)->show linkflap metrics
Port LinkStatus CurrentCount TotalCount TimeElapsed Violations
-------- ----------- ------------ ---------- ----------- -------------
ge.1.1 operational 0 0 241437 0
ge.1.2 disabled 4 15 147 5
ge.1.3 operational 3 3 241402 0
Table 4‐14providesanexplanationoftheshowlinkflapmetricscommandoutput.
set linkflap globalstate
Usethiscommandtogloballyenableordisablethelinkflapdetectionfunction.
Syntax
set linkflap globalstate {disable | enable}
Parameters
Defaults
Bydefault,thefunctionisdisabledgloballyandonallports.
Table 4-13 show linkflap parameters Output Details
Output Field What it displays...
Port Port designation.
LF Status Link flap enabled state.
Actions Actions to be taken if the port violates allowed link flap behavior.
D = disabled, S = Syslog entry will be generated, T= SNMP trap
will be generated.
Threshold Number of link down transitions necessary to trigger the link flap
action.
Interval Time interval (in seconds) for accumulating link down transitions.
Downtime Interval (in seconds) port(s) will be held down after a link flap
violation.
Table 4-14 show linkflap metrics Output Details
Output Field What it displays...
Port Port designation.
LinkStatus Link status according to the link flap function.
CurrentCount Link down count accruing toward the link flap threshold.
TotalCount Number of link downs since system start,
TimeElapsed Time (in seconds) since the last link down event.
Violations Number of link flap violations on listed ports since system start.
disable|enable Globallydisablesorenablesthelinkflapdetectionfunction.