The static-route timer ldp-sync hold-down command sets the time during which a static route remains inactive and waits for an LDP session to be established.
The undo static-route timer ldp-sync hold-down command restores the default setting.
By default, the time during which a static route remains inactive and waits for an LDP session to be established is 10 seconds.
Parameter | Description | Value |
---|---|---|
timer |
Specifies the time during which a static route remains inactive and waits for an LDP session to be established. |
An integer ranging from 0 to 65535, in seconds |
infinite |
Indicates that the Hold-down timer never expires. A static route becomes active only after an LDP session is established. |
- |
100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, VLANIF interface view, XGE interface view
Usage Scenario
On an MPLS network with primary and backup links, LSRs establish LSPs based on static routes. When the LDP session of the primary link becomes faulty (the fault is not caused by a link failure) or the primary link recovers, configuring synchronization between LDP and static routes minimizes traffic loss during traffic switchover and switchback. After synchronization between LDP and static routes is enabled, and the static-route timer ldp-sync hold-down command is run, the recovered static route becomes temporarily inactive. It waits for an LDP session to be established before the Hold-down timer expires, which synchronizes LDP and the static route.
If the Hold-down timer expires, the static route becomes active regardless of whether an LDP session has been established.Precautions
The command cannot be run on loopback interfaces or the Null0 interface.