# mpls ldp sync

#### Syntax

From Interface Configuration mode and Subinterface Configuration mode:

[ no ] mpls ldp { isis | ospf } sync

From Router Configuration mode for IS-IS:

mpls ldp sync [ level-1 | level-2 | level-1-2 ]

no mpls ldp sync

From Router Configuration mode for OSPF:

mpls ldp sync [ areaId | areaIdInt ]

no mpls ldp sync

#### Release Information

Command introduced in JunosE Release 8.1.0.

#### Description

In Interface Configuration mode, synchronizes LDP with the IGP on the current interface. The no version removes the configuration for the interface.

In Router Configuration mode, synchronizes LDP with the IGP on all of the protocol's interfaces, on all interfaces in the specified level (IS-IS), or on all interfaces in the specified area (OSPF). The no version removes the configuration for all qualifying interfaces.

By default, LDP synchronization is not configured.

LDP—IGP synchronization must be configured on both sides of a link to be effective and avoid asymmetric link costs. In addition, LDP-IGP synchronization is effective only when alternate links with adequate bandwidth are available in the network.

#### Options

- level-1—Enables synchronization with LDP on all IS-IS level 1 interfaces
- level-1-2—Enables synchronization with LDP on all IS-IS level 1-2 interfaces
- level-2—Enables synchronization with LDP on all IS-IS level-2–only interfaces
- areaId—OSPF area ID in IP address format
- areaIdInt—OSPF area ID as a decimal value in the range 1–4294967295

#### Mode

Interface Configuration, Router Configuration, Subinterface Configuration