The ospf timer ldp-sync hold-max-cost command sets the interval at which OSPF link state advertisements (LSAs) are sent to advertise the maximum metric on the local device.
The undo ospf timer ldp-sync hold-max-cost command restores the default configuration.
By default, the interval is 10 seconds.
ospf timer ldp-sync hold-max-cost { value | infinite }
undo ospf timer ldp-sync hold-max-cost
| Parameter | Description | Value |
|---|---|---|
| value | Specifies the interval for sending OSPF LSAs to advertise the maximum metric on the local device. | An integer ranging from 0 to 65535, in seconds |
| infinite | Indicates that OSPF always advertises the maximum metric in LSAs on the local device before an LDP session is reestablished up. | - |
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
Usage Scenario
If an LDP session over an active link fails, run the ospf timer ldp-sync hold-max-cost command to set an interval during which traffic is still transmitted along a standby link before the LDP session over the active link is reestablished.