Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show ldp neighbor

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show ldp neighbor
<brief | detail | extensive>
<auto-targeted>
<instance instance-name>
<logical-system (all | logical-system-name)>
<neighbor-address>

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

content_copy zoom_out_map
user@host> show ldp neighbor extensive   
Address            Interface          Label space ID         Hold Time
 192.168.37.23      so-1/0/0.0         10.255.245.5:0           44
   Transport address: 10.255.245.5, Configuration sequence: 6
   Up for 00:03:37
   Reference count: 1
   Hold time: 45, Proposed local/peer: 15/45

show ldp neighbor auto-targeted extensive

content_copy zoom_out_map
user@host> show ldp neighbor auto-targeted extensive
Address            Interface          Label space ID         Hold time
10.255.107.236     lo0.0              10.255.107.236:0         41
  Transport address: 10.255.107.236, Configuration sequence: 14
  Up for 00:10:53
  Reference count: 2
  Hold time: 45, Proposed local/peer: 45/45
  Hello interval: 15
  Hello flags: targeted
  Neighbor types: Auto-targeted

Release Information

Command introduced before Junos OS Release 7.4.

neighbor-address option added in Junos OS Release 8.5.

footer-navigation