Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show ldp neighbor



Display Label Distribution Protocol (LDP) neighbor information.



Display standard information about LDP neighbors for all routing instances.

brief | detail | extensive

(Optional) Display the specified level of output.


(Optional) Display information about LDP neighbors that are automatically targeted using the loopback addresses.

instance instance-name

(Optional) Display information for the specified routing instance.

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.


(Optional) Display information about the specified LDP neighbor.

Required Privilege Level


Output Fields

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

Table 1: show ldp neighbor Output Fields

Field Name

Field Description

Level of Output


IP address of the neighbor.

All levels


Interface over which the neighbor was discovered.

All levels

Label space ID

Label space identifier advertised by the neighbor.

All levels

Hold time

Remaining hold time before the neighbor expires, in seconds.

All levels

Transport address

Address to which the neighbor wants the local route to establish the LDP session.


Configuration sequence

Counter that increments whenever the neighbor changes its configuration.


Up for

Length of time the LDP neighbor has been in operation.

detail extensive

Reference count

Reference count for the LDP neighbor.


Hold time

Displays the neighbor's hold time. The hold time is the proposed hold times for the local and peer routers.


Proposed local/peer

Hold time value proposed by the local router and the peer router.


Sample Output

show ldp neighbor extensive

show ldp neighbor auto-targeted extensive

Release Information

Command introduced before Junos OS Release 7.4.

neighbor-address option added in Junos OS Release 8.5.