Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show lldp neighbors

Syntax

Description

Display information about LLDP neighbors.

For information about interface names, see Interface Naming Overview. For information about interface names for TX Matrix routers, see TX Matrix Router Chassis and Interface Names. For information about FPC numbering on TX Matrix routers, see Routing Matrix with a TX Matrix Router FPC Numbering.

For information about extended port names in the Junos Fusion technology, see Understanding Junos Fusion Ports .

Options

interface interface-name

(Optional) Display the neighbor information about a particular physical interface.

Note:

Starting with Junos OS Release 14.2, you can also display LLDP neighbor details for management interfaces, such as fxp or me, on MX Series routers.

detail

(Optional) Display detailed information about LLDP neighbors.

Required Privilege Level

view

Output Fields

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

Table 1: show lldp neighbors Output Fields

Field Name

Field Description

LLDP Remote Devices Information

Information about remote devices.

LocalInterface

List of local interfaces for which neighbor information is available.

ChassisId

List of chassis identifiers for neighbors.

PortInfo

List of port information gathered from neighbors. This could be the port identifier or port description.

SysName

List of system names gathered from neighbors.

LLDP Neighbor Information

Information about both local and neighbor systems on the interface (appears when the interface option is used).

Local Information

Information about local systems on the interface (appears when the interface option is used).

Neighbor Information

Information about both local and neighbor system on the interface (appears when the interface option is used).

Index

Local interface index (appears when the interface option is used).

Time Mark

Date and timestamp of information (appears when the interface option is used).

Time To Live

Number of seconds for which this information is valid (appears when the interface option is used).

Local Interface

Name of the local physical interface (appears when the interface option is used).

Parent Interface

Name of the ae interface to which the interface belongs

Local Port ID

Local port identifier (appears when the interface option is used).

Neighbor Information

Information about neighbor systems on the interface (appears when the interface option is used).

Chassis type

Type of chassis identifier supplied, such as MAC address (appears when the interface option is used).

Chassis ID

Chassis identifier of type listed (appears when the interface option is used).

Port type

Type of port identifier supplied, such as local (appears when the interface option is used).

Port ID

Port identifier of type listed (appears when the interface option is used).

Port description

Port description (appears when the interface option is used).

System name

Name supplied by the system on the interface (appears when the interface option is used).

System Description

Description supplied by the system on the interface (appears when the interface option is used).

System Capabilities

Capabilities (such as bridge or router) that are Supported or Enabled by the system on the interface (appears when the interface option is used).

Management address

Details of the management address: Address Type (such as ipv4 and ipv6), Address (such as 10.204.34.35, 1fd::1a10), Interface Number, Interface Subtype, and Organization Identifier (OID) (appears when the interface option is used).

Organization Info

One or more entries listing remote information by Organizationally Unique Identifier (OUI), Subtype, Index, and Info (appears when the interface option is used).

Table 2 describes the output fields for the show lldp neighbors detail command. Output fields are listed in the approximate order in which they appear.

Table 2: show lldp neighbors detail Output Fields

Field Name

Field Description

LLDP Neighbor Information

Information about all neighbors in the system.

Local Information

Information about neighbors on a local interface.

Index

Local interface index.

Time To Live

Number of seconds for which neighbor information is valid for this interface.

Time Mark

Date and timestamp information.

Age

Age (in seconds) of the neighbor since the TLV is received from the neighbor.

Local Interface

Local Interface for which the neighbor detail is displayed.

Parent Interface

Name of the ae interface to which the interface belongs

Local Port ID

Local port identifier.

Ageout Count

Number of times the neighbor information has been aged out on this interface.

Neighbor Information

Information about the neighbor systems.

Chassis type

Type of chassis identifier supplied, such as MAC address .

ChassisId

List of chassis identifiers for all neighbors in the system.

Port type

Capabilities (such as bridge or router) that are Supported or Enabled by the system.

Port description

Port description.

System name

Name supplied by the system.

System Description

Description supplied by the system.

System Capabilities

Capabilities (such as bridge or router) that are Supported or Enabled by the system.

Management address

Details about the management address and management interface of the neighbor.

Media endpoint class

LLDP MED device class value of the neighbor system.

Organization Info

One or more entries listing the organization-specific TLV sent by the neighbor.

Sample Output

show lldp neighbors interface ge-0/0/4 (Management Address is IPv4)

show lldp neighbors interface ge-0/0/4 (Management Address is IPv6)

show lldp neighbors (Management Ethernet Interfaces)

show lldp neighbors detail

Release Information

Command introduced in Junos OS Release 9.6.

detail option introduced in Junos OS Release 19.1R2.