The ospf timer ldp-sync hold-down command sets the interval during which an interface waits for creating an LDP session before setting up the OSPF neighbor relationship.
The undo ospf timer ldp-sync hold-down command restores the default setting.
By default, the interval during which an interface waits for creating an LDP session before setting up the OSPF neighbor relationship is 10 seconds.
Parameter | Description | Value |
---|---|---|
value | Specifies the interval during which an interface waits for creating an LDP session before setting up the OSPF neighbor relationship. | The value is an integer ranging from 0 to 65535, in seconds. |
Usage Scenario
After this command is configured, OSPF routes are not immediately switched to the primary link after the primary link is restored and before the LDP session is established. LSP traffic is transmitted through the backup link in a period of time specified by this command.
Prerequisites
LDP and OSPF synchronization has been enabled using the ospf ldp-sync command in the interface view.
Precautions
This command is circular in nature, and the latest configuration overrides the previous configurations.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] ospf timer ldp-sync hold-down 15
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] ospf timer ldp-sync hold-down 15