The timer ldp-sync hold-max-cost command sets a period for an IGP process or instance to advertise the maximum cost.
The undo timer ldp-sync hold-max-cost command restores the default period.
By default, the IGP keeps advertising the maximum cost on a device before an LDP session and an LDP adjacency are reestablished.
Parameter | Description | Value |
---|---|---|
interval |
Specifies the period during which the IGP keeps the maximum cost on a device. |
The value is an integer that ranges from 0 to 65535, in seconds. |
infinite |
Specifies the maximum cost that an IGP permanently advertises on the local device. |
The IGP permanently advertises the maximum cost on the local device before an LDP session and LDP adjacency are reestablished. |
Usage Scenario
After LDP and IGP synchronization is enabled on a network with primary and backup links, if the primary link fails, LDP and IGP switch traffic to the backup link.
Configuration Impact
If an LDP session or LDP adjacency is unable to go Up, configuring infinite affects OSPF route selection because the interface keeps advertising the maximum cost.