show ports link-flap-detection

show ports [port_list | all] link-flap-detection [disabled-ports | configuration | counters {refresh | no-refresh}]

Description

Displays the link-flap detection status for ports.

Syntax Description

ports Physical ports.
port_list List of ports that you want to see link-flap detection information.
all Shows link-flap detection information for all ports in the system.
disabled-ports Displays ports disabled due to excessive link flapping.
configuration Displays link-flap detection configuration information: link-flap detection enabled status, link-flap detection actions enabled, threshold value, interval value.
counters Displays counters related to link flapping.
refresh Continuous refresh of output (default).
no-refresh Page by page display without continuous refresh.

Default

Output is refreshed by default.

Examples

The following example shows link-flap detection configuration for all ports:

show ports all link-flap-detection configuration
Maximum threshold for interval of 10 seconds : 200
Port      Link-Flap Actions  Threshold     Interval  Disable Time
          Detection                         (secs)         (secs)
========= ========= ======= ========== ============ =============
1         E         D--             20            6           200
2         E         D--             20            6           200
3         D         D-T             20 indefinitely until-cleared
4         E         D-T             20            5           200
5         D         D-T             20            5           200
6         D         D-T             10            5           300
…
=================================================================
> indicates Port Display Name truncated past 8 characters
Link-Flap Detection: (E) Enabled, (D) Disabled
Actions: (D) Disable port, (L) Generate log, (T) Generate SNMP trap

The following example shows link-flap detection counter information for all ports:

show ports all link-flap-detection counters
Port Link-Flap Detection Counters
Port      Port     Current      Total       Time  Threshold
          State Link Flaps Link Flaps    Elapsed   Exceeded
                                          (secs)
========= ===== ========== ========== ========== ==========
1         E              0          0          0          0
2         E              0          0          0          0
3         D              0          0          0          0
4         D F           21         21          4          1
===========================================================
> indicates Port Display Name truncated past 8 characters
Port State: E-Enabled, D-Disabled, F-Disabled by link-flap detection
0->Clear Counters  U->page up  D->page down ESC->exit

The following example shows ports disabled due to excessive link flapping:

show ports all link-flap-detection disabled-ports
Ports disabled due to excessive link flapping
Disabled            Remaining
Port(s)          Disable Time
                       (secs)
=============== =============
1               until-cleared
4                         150
=============================
> indicates Port Display Name truncated past 15 characters

History

This command was first available in ExtremeXOS 22.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.