The ospf timer ldp-sync hold-max-cost command sets the interval at which OSPF advertises the maximum cost through LSAs.
The undo ospf timer ldp-sync hold-max-cost command restores the default interval.
By default, OSPF always advertises the maximum metric in LSAs on the local device before an LDP session is reestablished.
Parameter | Description | Value |
---|---|---|
value |
Specifies the interval at which OSPF LSAs are sent to advertise the maximum metric on the local device. |
The value is 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 and an LDP adjacency are reestablished. |
- |
100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, Global VE sub-interface view, Tunnel interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
When the primary LSP recovers from a fault, you can use the ospf timer ldp-sync hold-max-cost command to set the interval during which traffic is still transmitted along the backup LSP before the LDP session and LDP adjacency of the primary LSP are reestablished.
You can choose different parameters as required.Precautions
If this command is run more than once, the latest configuration overrides the previous ones.