The ospf timer ldp-sync hold-down command sets the interval during which an interface waits for creating an LDP session before setting up the OSPF neighbor relationship.
The undo ospf timer ldp-sync hold-down command restores the default configuration.
| Parameter | Description | Value |
|---|---|---|
| value | Specifies the interval during which an interface waits for creating an LDP session before setting up the OSPF neighbor relationship. | An integer ranging from 0 to 65535, in seconds |
Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view, Virtual-Template interface view, BDIF interface view
By default, the interval is 10 seconds.
Usage Scenario
If an active link between two devices enabled with LDP and OSPF synchronization recovers from a fault, the OSPF module enters the Hold-down state and starts a Hold-down timer. This setting allows an interface to create an LDP session before setting up an OSPF neighbor relationship. Traffic can switch back to the active link over a reachable OSPF route for an established LDP LSP.
The ospf timer ldp-sync hold-down command sets the Hold-down timer value.