Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

ldp

Syntax

Hierarchy Level

Description

Enable LDP routing on the router or switch.

You must include the ldp statement in the configuration to enable LDP on the router or switch.

Default

LDP is disabled on the router.

Options

transport-preference ipv4 | ipv6

Select the preferred transport for TCP connection when both IPv4 and IPv6 are enabled. If transport-preference ipv4 is configured, LDP will attempt to establish the TCP connection using IPv4. If transport-preference ipv6 is configured, LDP will attempt to establish the TCP connection using IPv6.

  • Default: ipv6

The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.

dual-transport statement introduced in Junos OS Release 16.1 for the M320 Series, MX Series, and PTX Series.

family statement introduced in Junos OS Release 16.1 for the M320 Series, MX Series, and PTX Series.

transport-preference option introduced in Junos OS Release 16.1 for the M320 Series, MX Series, and PTX Series.