Displaying ports configured with port flap dampening

Ports that have been disabled due to the port flap dampening feature are identified in the output of the show link-error-disable command. The following shows an example output.

device# show link-error-disable
Port 1/2/1 is forced down by link-error-disable.

Use the show link-error-disable all command to display the ports with the port flap dampening feature enabled.

For FastIron stackable devices, the output of the command shows the following.

device# show link-error-disable all
Port1/8/1 is configured for link-error-disable
            threshold:1, sampling_period:10, waiting_period:0
Port1/8/2 is configured for link-error-disable
            threshold:1, sampling_period:10, waiting_period:0
Port1/8/3 is configured for link-error-disable
            threshold:1, sampling_period:10, waiting_period:0
Port1/8/4 is configured for link-error-disable
            threshold:1, sampling_period:10, waiting_period:0
Port1/8/5 is configured for link-error-disable
            threshold:4, sampling_period:10, waiting_period:2
Port1/8/9 is configured for link-error-disable
             threshold:2, sampling_period:20, waiting_period:0

For standalone devices, the output of the command shows the following.

device# show link-error-disable all
 Port   -----------------Config---------------   ------Oper----
  #     Threshold  Sampling-Time  Shutoff-Time   State  Counter
-----   ---------  -------------  ------------   -----  -------
1/1/11          3            120           600    Idle      N/A
1/1/12          3            120           500    Down      424

In standalone devices, the show interface command indicates if the port flap dampening feature is enabled on the port.

device# show interface ethernet 1/1/15

GigabitEthernet1/1/15 is up, line protocol is up 
Link Error Dampening is Enabled
Port up for 6 seconds
  Hardware is GigabitEthernet, address is 0000.0000.010e (bia 0000.0000.010e)
  Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx
  Configured mdi mode AUTO, actual MDIX
device# show interface ethernet 1/1/17

GigabitEthernet1/1/17 is ERR-DISABLED, line protocol is down 
  Link Error Dampening is Enabled
Port down for 40 seconds
  Hardware is GigabitEthernet, address is 0000.0000.010e (bia 0000.0000.010e)
  Configured speed auto, actual unknown, configured duplex fdx, actual unknown

The line "Link Error Dampening" displays "Enabled" if port flap dampening is enabled on the port or "Disabled" if the feature is disabled on the port. The feature is enabled on the ports in the two examples above. Also, the characters "ERR-DISABLED" is displayed for the "GbpsEthernet" line if the port is disabled because of link errors.

In addition to the show commands above, the output of the show interface brief command indicates if a port is down due to link errors.

device# show interface brief ethernet 1/1/17
Port    Link     State     Dupl Speed Trunk Tag Priori MAC            Name        
1/1/17  ERR-DIS  None      None None  15    Yes level0 0000.0000.010e

The ERR-DIS entry under the "Link" column indicates the port is down due to link errors.

Note: If a port name is longer than five characters, the port name is truncated in the output of the show interface brief command.