< Home

ospf timer ldp-sync hold-down

Function

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.

Format

ospf timer ldp-sync hold-down value

undo ospf timer ldp-sync hold-down

Parameters

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.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the value of the Hold-down timer for VLANIF100 to 15 seconds, during which the interface waits for the establishment of an LDP session before setting up the OSPF neighbor relationship.
<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ospf timer ldp-sync hold-down 15
# Set the value of the Hold-down timer for GE0/0/1 to 15 seconds, during which the interface waits for the establishment of an LDP session before setting up the OSPF neighbor relationship.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >