Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Minimum LDP Configuration


To enable LDP with minimal configuration:

  1. Enable all relevant interfaces under family MPLS. In the case of directed LDP, the loopback interface needs to be enabled with family MPLS.
  2. (Optional) Configure the relevant interfaces under the [edit protocol mpls] hierarchy level.
  3. Enable LDP on a single interface, include the ldp statement and specify the interface using the interface statement.

This is the minimum LDP configuration. All other LDP configuration statements are optional.

To enable LDP on all interfaces, specify all for interface-name.

For a list of hierarchy levels at which you can include these statements, see the statement summary sections.