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 extended port names in the Junos Fusion technology, see Understanding Junos Fusion Ports.

Note:

When a port with DCBX enabled begins to exchange type, length, and value (TLV) entries, optional LLDP TLVs on that port are not advertised to neighbors in order to interoperate with a wider variety of converged network adapters (CNAs). As a result, information for those ports will not be listed in the output for this command.

Note:

The Chassis ID TLV has a subtype for Network Address Family. The supported network address families are IPv4 and IPv6. LLDP frames are validated only if the Network Address subtype of the Chassis ID TLV has a value of 1 (IPv4) or 2 (IPv6). For any other value, the transmitting device is detected by LLDP as a neighbor and displayed in the output of the show lldp neighbors command, but it is not assigned to the VLAN.

Options

none

Display learned LLDP information on all neighboring interfaces and devices.

interface interface-name

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

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.

Local Interface

List of local interfaces for which neighbor information is available.

Parent Interface

List of aggregated Ethernet interfaces, if any, to which the local interfaces belong.

Chassis Id

List of chassis identifiers for neighbors.

Port info

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

System name

List of system names gathered from neighbors, which includes the host name and the domain name.

LLDP Neighbor Information

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

Local Information

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

Neighbor Information

Information about the 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).

Age

Age (in seconds) of the neighbor since the TLV is received from the neighbor (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 aggregated Ethernet interface, if any, to which the interface belongs (appears when the interface option is used).

Local Port ID

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

Ageout Count

Number of times the complete set of information advertised by the neighbor has been deleted from LLDP neighbor information maintained by the local system because the information timeliness interval has expired (appears when the interface option is used).

Neighbor Information

Information about a neighbor system 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 the chassis type listed (appears when the interface option is used).

Port type

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

Port ID

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

Port description

Configured port description, port name, or the SNMP ifIndex (appears when the interface option is used).

System name

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

When NetBIOS snooping is enabled, this is the NetBIOS name of the host.

System Description

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

System Capabilities

Capabilities (such as Bridge, Router, and Telephone) 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 object identifier (OID) (appears when the interface option is used).

Management Info

Details of management information: Type (such as IPv4 or IPv6), Address (such as 10.204.34.35), Port ID, Subtype, Interface Subtype, and object identifier (OID) (appears when the interface option is used).

The Interface Subtype displays:

  • ifIndex(2)— IP address of the neighbor’s management Ethernet interface (me0) or virtual management Ethernet (VME) interface address (for a Virtual Chassis) that is used to manage the switch.

  • unknown(1)—Neighbor’s IP management address has been configured with set protocols lldp management-address.

Media Info

Additional details about the endpoint device when a device that supports LLDP-MED is attached to the interface. The specific details depend upon the capabilities of the device. Details might include: Media endpoint class (such as Class 3 for communication devices such as IP phones), MED Hardware revision, MED Firmware revision, MED Software revision, MED Serial number, MED Manufacturer name, MED Model name.

Organization Info

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

Sample Output

show lldp neighbors

show lldp neighbors (Management Ethernet Interfaces)

show lldp neighbors interface ge-0/0/8

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 detail

show lldp neighbors interface ge-0/0/0.0 (for a VoIP AvayaTelephone with LLDP-MED Support)

show lldp neighbors interface ge-0/0/5.0 (with NetBIOS Snooping Enabled on the Switch)

show lldp neighbors detail (l2ng and non-l2ng platform)

show lldp neighbors interface (l2ng and non-l2ng platform)

Release Information

Command introduced in Junos OS Release 9.6.

detail option introduced in Junos OS Release 19.1R2.