ip ospf ldp-sync

Enables Label Distribution Protocol (LDP) synchronization with OSPF and configures the hold down time interval for an interface.

Syntax

ip ospf ldp-sync { disable | enable }
no ip ospf ldp-sync enable

Command Default

Disabled.

Parameters

disable
Disables LDP synchronization.
enable
Enables LDP synchronization.

Modes

Interface subtype configuration mode

Examples

The following example enables LDP synchronization with OSPF for an Ethernet interface.

device# configure terminal
device(config)# interface ethernet 1/1
device(conf-if-eth-1/1)# ip ospf ldp-sync enable

The following example disables LDP synchronization with OSPF for a loopback interface.

device# configure terminal
device(config)# interface loopback 1
device(config-Looback-1)# ip ospf ldp-sync disable