OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Errdisable Commands : errdisable link-flap-setting
errdisable link-flap-setting
Use this command to configure the link-flap errdisable feature:
An interface should change state as up-down to complete one cycle of a link flap.
The LED does not glow when an interface is in the errdisable state.
Errdisable is supported only on physical interfaces.
A LAG interface does not go into the errdisable state when all of its member ports are in the errdisable state
The error disable computation is based on a sliding window of time. The window size is configurable in seconds. This window is taken as the current time to the last <t> second, where <t> is the configured window size. If the accumulated link flap count reaches the maximum flap count for a particular sliding window, a link flap error disable fault is triggered.
Note: Any previous flapping accumulated is flushed when you execute this command.
Command Syntax
errdisable link-flap-setting max-flaps <1-100> time <1-1800>
Parameters
<1-100>
Maximum flap count
<1-1800>
Sliding window size in seconds
Default
Five flaps in ten seconds:
Maximum flap count: 5
Sliding window size: 10 seconds
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#errdisable link-flap-setting max-flaps 5 time 20
Last modified date: 07/06/2023