link-error-disable

Configures port flap dampening on an interface.
Syntax
link-error-disable toggle-threshold sampling-time-in-sec wait-time-in-sec
no link-error-disable toggle-threshold sampling-time-in-sec wait-time-in-sec
Command Default

Port flap dampening is not configured.

Parameters
toggle-threshold
Specifies the number of times a port link state goes from up to down and down to up before the wait period is activated. The value ranges from 1 through 50.
sampling-time-in-sec
Specifies the amount of time, in seconds, during which the specified toggle threshold can occur before the wait period is activated. The default value is 0 and indicates that the time is forever. The value ranges from 0 through 65535.
wait-time-in-sec
Specifies the amount of time, in seconds, for which the port remains disabled (down) before it becomes enabled. The value ranges from 0 through 65535. A value of 0 indicates that the port will stay down until an administrative override occurs.
Modes

Interface configuration mode

Usage Guidelines

A RUCKUS device counts the number of times a port link state toggles from "up to down", and not from "down to up".

The sampling time or window (the time during which the specified toggle threshold can occur before the wait period is activated) is triggered when the first "up to down" transition occurs.

If the port link state toggles 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 link state is re-enabled. However, if the wait period is set to zero (0) seconds, the port link state will remain disabled until it is manually re-enabled.

You can configure the port flap dampening feature on the LAG virtual interface using the link-error-disable command. Once configured on the LAG virtual interface, the feature is enabled on all ports that are members of the LAG. You cannot configure port flap dampening on port members of the LAG.

The no form of the command re-enables a port that was disabled by port flap dampening once the wait period expires.

Examples

The following example configures port flap dampening on an interface.

device(config)# interface ethernet 1/1/1
device(config-if-e10000-1/1/1)# link-error-disable 10 3 10