The dldp delaydown-timer command sets the timeout value of the DelayDown timer.
The undo dldp delaydown-timer command restores the default timeout value of the DelayDown timer.
The default timeout value of the DelayDown timer is 1 second.
Parameter |
Description |
Value |
---|---|---|
time |
Specifies the timeout value of the DelayDown timer. |
The value is an integer ranging from 1 to 5, in seconds. |
Usage Scenario
If a DLDP interface in Active, Advertisement, or Probe state receives a Port-Down event, the interface enters Inactive state and clears the neighbor information. In some cases, the interface is Down for a short time. For example, failure of the Tx fiber on a port may cause jitter of optical signals on the Rx fiber, which makes the port Down and then Up again. To prevent the neighbor information from being deleted immediately in this case, the DLDP interface first enters the DelayDown state and starts the DelayDown timer. Before the DelayDown timer times out, the interface retains the neighbor information and responds to only Port-Up events. You can use the dldp delaydown-timer command to set the timeout value of the DelayDown timer.
If the DLDP interface does not receive any Port-Up event when the DelayDown timer times out, the interface deletes the neighbor entry and enters the Inactive state.
If the DLDP interface receives the Port-Up event before the DelayDown timer times out, the interface returns to the previous state.
Prerequisites
DLDP has been enabled globally using the dldp enable command.
Precautions
After the dldp delaydown-timer command is executed, the DLDP status is not affected by the Up/Down jitter within the timeout value of the DelayDown timer.