< 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 configuration.

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. An integer ranging from 0 to 65535, in seconds

Views

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

Default Level

2: Configuration level

Usage Guidelines

By default, the interval is 10 seconds.

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

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] ospf timer ldp-sync hold-down 15
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >