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 and an LDP adjacency before setting up the OSPF neighbor relationship.

The undo ospf timer ldp-sync hold-down command restores the default configuration.

By default, the interval 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 and an LDP adjacency before setting up the OSPF neighbor relationship.

An integer ranging from 0 to 65535, in seconds.

Views

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

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

If an active link between two devices enabled with LDP and OSPF synchronization recovers from a fault, the OSPF module enters the Hold-down state and starts a Hold-down timer. This setting allows an interface to create an LDP session and an LDP adjacency before setting up an OSPF neighbor relationship. Traffic can switch back to the active link over a reachable OSPF route for an established LDP LSP.

The ospf timer ldp-sync hold-down command sets the Hold-down timer value.

Example

# Set the interval to 15 seconds, during which an interface waits for creating an LDP session and an LDP adjacency before setting up the OSPF neighbor relationship.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ospf timer ldp-sync hold-down 15
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >