Configures port flap dampening for the interface, including the threshold of link flapping to shut down the port and the time interval in which it remains shut down.
Port flap dampening is disabled on the device.
Interface Ethernet configuration mode
Use the no form of the command to disable port flap dampening.
Port flap dampening allows you to configure a wait period before a port, whose link goes down then up, becomes enabled. This feature is available for all front ports on the device.
If the port link state toggles, from down to up or from up to down, for a specified number of times within a specified period, the interface is physically disabled for the specified wait period. Once the wait period expires, the port‘s link state is re-enabled. However, if the wait period is set to zero (0) seconds, or you want to re-enable the port before the wait period expires, the port must be manually re-enabled. To re-enable the port, reenter the link-error-disable command on the disabled port.
The following example shows the configuration of port flap dampening. The toggle threshold is set to 10 times. The sampling time is set to 3 seconds. The wait time is set to 10 seconds.
device# configure terminal device(config)# interface Ethernet 1/4 device(conf-if-eth-1/4)# link-error-disable 10 3 10