Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show ldp neighbor

Syntax

Description

Display Label Distribution Protocol (LDP) neighbor information.

Options

none

Display standard information about LDP neighbors for all routing instances.

brief | detail | extensive

(Optional) Display the specified level of output.

auto-targeted

(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.

neighbor-address

(Optional) Display information about the specified LDP neighbor.

Required Privilege Level

view

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

Address

IP address of the neighbor.

All levels

Interface

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.

detail

Configuration sequence

Counter that increments whenever the neighbor changes its configuration.

detail

Up for

Length of time the LDP neighbor has been in operation.

detail extensive

Reference count

Reference count for the LDP neighbor.

extensive

Hold time

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

extensive

Proposed local/peer

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

extensive

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.