debounce-time
Use this command to set the debounce time for a interface.
The debounce timer avoids frequent updates (churn) to higher layer protocol during interface flapping. If the status of a link changes quickly from up to down and then back to up, the port debounce timer suppresses the link status notification. If the link transitions from up to down, but does not come back up, the port debounce timer delays the link status notification.
Note: Keep the following in mind when using the debounce timer:
• Debounce is not applicable for admin down operations.
• Debounce timer is supported only for physical L2 and L3 interfaces.
• The debounce flap-count refers to the number of flaps OcNOS receives while the debounce timer is running:
• The flap-count is only updated if the timer is still running and OcNOS receives a link status event for the interface.
• The flap-count is reset at the subsequent start of the debounce timer.
• Protocol-specific timers such as BFD which depend on the link status should be configured to a minimum of 1.5 times the value of the debounce timer. Otherwise it could affect the protocol states if the debounce timer is still running.
Use the no form of this command to turn-off the debounce timer on a interface.
Command Syntax
debounce-time <250-5000>
no debounce-time
Parameters
<250-5000>
Timer value in milliseconds.
Default
By default, disabled.
Command Mode
Interface mode
Applicability
This command was introduced in OcNOS version 1.3.8.
Example
#configure terminal
(config)#interface eth1
(config-if)#debounce-time 4000
Last modified date: 10/19/2023