The timer ldp-sync hold-max-cost command sets the Hold-max-cost time during which all interfaces enabled with synchronization between LDP and IS-IS advertise link state PDUs (LSPs) carrying the maximum route cost.
The undo timer ldp-sync hold-max-cost command restores the default setting.
The default Hold-max-cost time is 10 seconds.
Parameter | Description | Value |
---|---|---|
infinite | Enables IS-IS to advertise LSPs carrying the maximum route cost before LDP sessions are reestablished. | - |
interval | Specifies the Hold-max-cost time during which IS-IS advertises LSPs carrying the maximum route cost on a local device. | The value is an integer ranging from 0 to 65535, in seconds. |
Usage Scenario
After synchronization between LDP and IS-IS is enabled, if the LDP session over the active link fails but the IS-IS route for the active link is reachable, IS-IS advertises the LSPs carrying the maximum route cost so that the IS-IS route and LDP session over a standby link can become reachable at the same time.
To set the Hold-max-cost time, run the timer ldp-sync hold-max-cost command.
Precautions
If the timer ldp-sync hold-max-cost infinite command is executed and the LDP session is Down, interfaces enabled with LDP and IS-IS synchronization keep advertising LSPs carrying the maximum route cost, which affects IS-IS routing.
If both the timer ldp-sync hold-max-cost command and the isis timer ldp-sync hold-max-cost command in the interface view are executed, the isis timer ldp-sync hold-max-cost command takes effect.