Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show ldp path



Display Label Distribution Protocol (LDP) label-switched paths (LSPs).



Display standard information about all LDP LSPs for all routing instances.

brief | detail | extensive

(Optional) Display the specified level of output.


(Optional) Restrict the output to entries that match the specified destination prefix.

instance instance-name

(Optional) Display information for the specified routing instance only.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system. This option is only supported on Junos OS.

Required Privilege Level


Output Fields

Table 1 describes the output fields for the show ldp path command. Output fields are listed in the approximate order in which they appear.

Table 1: show ldp path Output Fields

Field Name

Field Description

Output Session (label)

Session ID and labels that this system has sent using LDP. These correspond to MPLS packets received.

Input Session (label)

Session ID and labels that this system has received using LDP. These correspond to MPLS packets transmitted.


MPLS route.

Attached route

Route corresponding to the LSP.

Ingress route

The router acts as the ingress for the LSP.

Reference count

Reference count for the LDP neighbor.

Transit route

Names of the forwarding equivalence class (FEC) filters on the transit routers.

Global label

MPLS label that is used globally.

Sample Output

show ldp path extensive

Release Information

Command introduced before Junos OS Release 7.4.