show lldp neighbors
Syntax
show lldp neighbors <interface interface-name> detail
Description
Display information about LLDP neighbors.
For information about extended port names in the Junos Fusion technology, see Understanding Junos Fusion Ports.
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.
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.
Field Name |
Field Description |
|---|---|
|
Information about remote devices. |
|
List of local interfaces for which neighbor information is available. |
|
|
List of aggregated Ethernet interfaces, if any, to which the local interfaces belong. |
|
List of chassis identifiers for neighbors. |
|
List of port information gathered from neighbors. This could be the port identifier or port description. |
|
List of system names gathered from neighbors, which includes the host name and the domain name. |
|
Information about both local and neighbor systems on
the interface (appears when the |
|
Information about the local system on the interface (appears when the |
|
Information about the neighbor system on the interface (appears when the
|
|
Local interface index (appears when the |
|
Date and timestamp of information (appears when the |
|
Number of seconds for which this information is valid
(appears when the |
|
|
Age (in seconds) of the neighbor since the TLV
is received from the neighbor (appears when the
|
|
Name of the local physical interface (appears when the |
|
|
Name of the aggregated Ethernet interface, if any, to which the interface belongs (appears when the interface option is used). |
|
Local interface SNMP index (appears when the interface option is used). |
|
|
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
|
|
Information about a neighbor system on the interface (appears when the |
|
Type of chassis identifier supplied, such as |
|
Chassis identifier of the chassis type listed (appears when the |
|
Type of port identifier supplied, such as |
|
Port identifier of the port type listed (appears when the |
|
Configured port description, port name, or the
SNMP ifIndex (appears when the
|
|
Name supplied by the system on the interface (appears
when the When NetBIOS snooping is enabled, this is the NetBIOS name of the host. |
|
Description supplied by the system on the interface (appears
when the |
|
Capabilities (such as |
|
Details of the management address: |
|
|
Details of management information:
The
|
|
|
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: |
|
|
One or more entries (indexed by the
|
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
user@switch> show lldp neighbors Local Interface Parent Interface Chassis Id Port info System Name xe-3/0/4.0 ae31.0 b0:c6:9a:63:80:40 xe-0/0/0.0 host.jnpr.net xe-3/0/5.0 ae31.0 b0:c6:9a:63:80:40 xe-0/0/1.0 host.jnpr.net xe-3/0/6.0 ae31.0 b0:c6:9a:63:80:40 xe-0/0/2.0 host.jnpr.net xe-3/0/7.0 ae31.0 b0:c6:9a:63:80:40 xe-0/0/3.0 host.jnpr.net xe-3/0/0.0 ae31.0 b0:c6:9a:63:80:40 xe-0/1/0.0 host.jnpr.net xe-3/0/1.0 ae31.0 b0:c6:9a:63:80:40 xe-0/1/1.0 host.jnpr.net xe-3/0/2.0 ae31.0 b0:c6:9a:63:80:40 xe-0/1/2.0 host.jnpr.net xe-3/0/3.0 ae31.0 b0:c6:9a:63:80:40 xe-0/1/3.0 host.jnpr.net
show lldp neighbors (Management Ethernet Interfaces)
user@host> show lldp neighbors Local Interface Parent Interface Chassis Id Port info System Name fxp0 - 78:fe:3d:ee:4e:00 151 x2-sw35 xe-0/0/0 - a8:d0:e5:50:26:c0 512 sitara xe-0/0/1 - a8:d0:e5:50:26:c0 513 sitara
show lldp neighbors interface ge-0/0/8
user@switch> show lldp neighbors interface ge-0/0/8
LLDP Neighbor Information:
Local Information:
Index: 1 Time to live: 120 Time mark: Thu Nov 26 06:41:24 2015 Age: 1 secs
Local Interface : ge-0/0/8
Parent Interface : -
Local Port ID : 518
Ageout Count : 0
Neighbour Information:
Chassis type : Mac address
Chassis ID : 88:e0:f3:1f:14:e0
Port type : Locally assigned
Port ID : 880
Port description : ge-0/0/8
System name : bng-nw6moj.juniper.net
System Description : Juniper Networks, Inc. ex4300-24p Ethernet Switch, kernel JUNOS 14.1I20151125_0548_rajjs, Build date: 2015-11-25 06:06:58 UTC Copyright (c) 1996-2015 Juniper Networks, Inc.
System capabilities
Supported: Bridge Router
Enabled : Bridge Router
Management address
Address Type : IPv4(1)
Address : 10.204.39.232
Interface Number : 33
Interface Subtype : ifIndex(2)
OID : 1.3.6.1.2.1.31.1.1.1.1.33.
Media endpoint class: Network Connectivity
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MAC/PHY Configuration/Status (1)
Info : Autonegotiation [supported, enabled (0x3)], PMD Autonegotiation Capability (0x1), MAU Type (0x0)
Index : 1
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MDI Power (2)
Info : MDI Power Support [PSE bit set, supported, disabled, CONTROL bit not set (0x3)], MDI Power Pair [signal], MDI Power Class [Unknown (7)]
Index : 2
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Link Aggregation (3)
Info : Aggregation Status [supported, disabled (0x1)], Aggregation Port ID (0)
Index : 3
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Maximum Frame Size (4)
Info : MTU Size (1514)
Index : 4
Organization Info
OUI : Juniper Specific (0x009069)
Subtype : Chassis Serial Type (1)
Info : Juniper Slot Serial [MS3112240009]
Index : 5
show lldp neighbors interface ge-0/0/4 (Management Address is IPv4)
user@host> show lldp neighbors interface ge-0/0/4
LLDP Neighbor Information:
Local Information:
Index: 2 Time to live: 120 Time mark: Tue Dec 31 11:47:46 2013 Age: 15 secs
Local Interface : ge-2/0/1
Parent Interface : ae0
Local Port ID : 1476
Ageout Count : 0
Neighbour Information:
Chassis type : Mac address
Chassis ID : ac:4b:c8:92:67:c0
Port type : Locally assigned
Port ID : 529
Port description : ge-1/2/3
System name : apg-hp
System Description : Juniper Networks, Inc. mx240 , version 14.1-20131222.0 [builder] Build date: 2013-12-22 09:13:26 UTC
System capabilities
Supported: Bridge Router
Enabled : Bridge Router
Management address
Address Type : IPv4(1)
Address : 10.216.98.57
Interface Number : 1
Interface Subtype : ifIndex(2)
OID : 1.3.6.1.2.1.31.1.1.1.1.1.
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MAC/PHY Configuration/Status (1)
Info : Autonegotiation [supported, enabled (0x3)], PMD Autonegotiation Capability (0x1d), MAU Type (0x0)
Index : 1
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Link Aggregation (3)
Info : Aggregation Status (0x3), Aggregation Port ID (1694498816)
Index : 2
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Maximum Frame Size (4)
Info : MTU Size (1518)
Index : 3
show lldp neighbors interface ge-0/0/4 (Management Address is IPv6)
user@host> show lldp neighbors interface ge-0/0/4
LLDP Neighbor Information:
Local Information:
Index: 1 Time to live: 120 Time mark: Thu Dec 12 07:19:45 2013 Age: 28 secs
Local Interface : ge-1/2/2
Parent Interface : -
Local Port ID : 528
Ageout Count : 0
Neighbour Information:
Chassis type : Mac address
Chassis ID : 64:87:88:65:37:c0
Port type : Locally assigned
Port ID : 1475
Port description : ge-2/0/0
System name : apg-hp1
System Description : Juniper Networks, Inc. mx240 , version 11.4R10 Build date: 2013-10-24 10:10:02 UTC
System capabilities
Supported: Bridge Router
Enabled : Bridge Router
Management address
Address Type : IPv6(2)
Address : 1fd::1a10
Interface Number : 1
Interface Subtype : ifIndex(2)
OID : 1.3.6.1.2.1.31.1.1.1.1.1.
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MAC/PHY Configuration/Status (1)
Info : Autonegotiation [supported, enabled (0x3)], PMD Autonegotiation Capability (0x5), MAU Type (0x0)
Index : 1
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Link Aggregation (3)
Info : Aggregation Status (0x1), Aggregation Port ID (0)
Index : 2
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Maximum Frame Size (4)
Info : MTU Size (1518)
Index : 3
Organization Info
OUI : Ethernet Bridged (0x0080c2)
Subtype : VLAN Name (3)
Info : VLAN ID (100), VLAN Name (vlan-100)
Index : 4
show lldp neighbors detail
user@host> show lldp neighbors detail
LLDP Neighbor Information:
Local Information:
Index: 1 Time to live: 120 Time mark: Wed Apr 3 08:25:57 2019 Age: 8 secs
Local Interface : me0
Parent Interface : -
Local Port ID : 33
Ageout Count : 0
Neighbour Information:
Chassis type : Mac address
Chassis ID : 1a:22:23:dc:d9:50
Port type : Locally assigned
Port ID : 517
Port description : ge-0/0/7.0
System name : test
System Description : Juniper Networks, Inc. ex3300-48t , version 12.3R Build date: 2014-03-13 07:02:54 UTC
System capabilities
Supported: Bridge Router
Enabled : Bridge Router
Management address
Address Type : IPv4(1)
Address : 10.221.0.111
Interface Number : 34
Interface Subtype : ifIndex(2)
OID : 1.3.6.1.2.1.31.1.1.1.1.34.
Media endpoint class: Network Connectivity
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MAC/PHY Configuration/Status (1)
Info : Autonegotiation [supported, enabled (0x3)], PMD Autonegotiation Capability (0x6c11), MAU Type (0x0)
Index : 1
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Link Aggregation (3)
Info : Aggregation Status [supported, disabled (0x1)], Aggregation Port ID (0)
Index : 2
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Maximum Frame Size (4)
Info : MTU Size (1514)
Index : 3
Organization Info
OUI : Ethernet Bridged (0x0080c2)
Subtype : Port Vid (1)
Info : VLAN ID (52),
Index : 4
Organization Info
OUI : Juniper Specific (0x009069)
Subtype : Chassis Serial Type (1)
Info : Juniper Slot Serial [GA0215270535]
Index : 5
Organization Info
OUI : Ethernet Bridged (0x0080c2)
Subtype : VLAN Name (3)
Info : VLAN ID (52), VLAN Name (vlan52)
Index : 6
Index : 7
LLDP Neighbor Information:
Local Information:
Index: 2 Time to live: 120 Time mark: Wed Apr 3 08:25:56 2019 Age: 9 secs
Local Interface : ge-0/0/2
Parent Interface : -
Local Port ID : 512
Ageout Count : 0
Neighbour Information:
Chassis type : Mac address
Chassis ID : 1a:22:23:dc:d9:50
Port type : Locally assigned
Port ID : 511
Port description : ge-0/0/2
System Description : Juniper Networks, Inc. ex4300-24p Ethernet Switch, kernel JUNOS 17.1, Build date: 2019-03-26 08:12:13 UTC Copyright (c) 1996-2019 Juniper Networks, Inc.
System capabilities
Supported: Bridge Router
Enabled : Bridge Router
Management address
Address Type : IPv4(1)
Address : 10.204.39.247
Interface Number : 33
Interface Subtype : ifIndex(2)
OID : 1.3.6.1.2.1.31.1.1.1.1.33.
Media endpoint class: Network Connectivity
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MAC/PHY Configuration/Status (1)
Info : Autonegotiation [supported, enabled (0x3)], PMD Autonegotiation Capability (0x1), MAU Type (0x0)
Index : 1
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MDI Power (2)
Info : MDI Power Support [PSE bit set, supported, disabled, CONTROL bit not set (0x3)], MDI Power Pair [signal], MDI Power Class [class1 (1)]
Index : 2
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Link Aggregation (3)
Info : Aggregation Status [supported, enabled (0x3)], Aggregation Port ID (556)
Index : 3
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Maximum Frame Size (4)
Info : MTU Size (6500)
Index : 4
Organization Info
OUI : Juniper Specific (0x009069)
Subtype : Chassis Serial Type (1)
Info : Juniper Slot Serial [MS3112240002]
Index : 5
Organization Info
OUI : Ethernet Bridged (0x0080c2)
Subtype : VLAN Name (3)
Info : VLAN ID (100), VLAN Name (vlan-100)
Index : 6
Index : 7
Index : 8show lldp neighbors interface ge-0/0/0.0 (for a VoIP AvayaTelephone with LLDP-MED Support)
user@switch>show lldp neighbors interface ge-0/0/0.0
LLDP Neighbor Information:
Local Information:
Index: 20 Time to live: 120 Time mark: Thu Apr 15 22:26:22 2010 Age: 16 secs
Local Interface : ge-0/0/0.0
Parent Interface : -
Local Port ID : 517
Ageout Count : 0
Neighbour Information:
Chassis type : Network address
Chassis ID : 0.0.0.0
Port type : Mac address
Port ID : 00:04:0d:fc:55:48
System name : AVAFC5548.juniper.net
System capabilities
Supported : Bridge Telephone
Enabled : Bridge
Management Info
Type : IPv4
Address : 0.0.0.0
Port ID : 1
Subtype : 1
Interface Subtype : ifIndex(2)
OID : 1.3.6.1.2.1.31.1.1.1.1.1
Media endpoint class: Class III Device
MED Hardware revision : 4610D01A
MED Firmware revision : b10d01b2_9.bin
MED Software revision : a10d01b2_9.bin
MED Serial number : 07N510103424
MED Manufacturer name : Avaya
MED Model name : 4610
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MAC/PHY Configuration/Status (1)
Info : Autonegotiation [supported, enabled (0x3)], PMD Autonegotiation Capability (0x1d00), MAU Type (0x0)
Index : 1
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : MDI Power (2)
Info : MDI Power Support [PSE bit set, supported, disabled, CONTROL bit not set (0x3)], MDI Power Pair [signal], MDI Power Class [Unknown (7)]
Index : 2
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Link Aggregation (3)
Info : Aggregation Status [supported, disabled (0x1)], Aggregation Port ID (0)
Index : 3
Organization Info
OUI : IEEE 802.3 Private (0x00120f)
Subtype : Maximum Frame Size (4)
Info : MTU Size (1514)
Index : 4
Organization Info
OUI : Ethernet Bridged (0x0080c2)
Subtype : Port Vid (1)
Info : VLAN ID (10),
Index : 5
Organization Info
OUI : Juniper Specific (0x009069)
Subtype : Chassis Serial Type (1)
Info : Juniper Slot Serial [BQ0208211462]
Index : 6
Organization Info
OUI : Ethernet Bridged (0x0080c2)
Subtype : VLAN Name (3)
Info : VLAN ID (10), VLAN Name (vtest)
Index : 7
show lldp neighbors interface ge-0/0/5.0 (with NetBIOS Snooping Enabled on the Switch)
user@switch> show lldp neighbors interface ge-0/0/5 Age: 299999 secs Local Interface : ge-0/0/5.0 Parent Interface : - Chassis ID : 00:10:94:00:00:02 Port description : 192.0.2.1 System name : host.juniper.net
show lldp neighbors detail (l2ng and non-l2ng platform)
user@switch show lldp neighbors detail LLDP Neighbor Information: Local Information: Index: 11 Time to live: 20 Time mark: Fri Feb 4 11:15:46 2022 Age: 3 secs Local Interface : ge-0/0/2 Parent Interface : - Local Port ID : 521 Ageout Count : 1 Neighbour Information: Chassis type : Mac address Chassis ID : 00:05:86:90:bd:c0 Port type : Interface name Port ID : ge-0/0/2 Port description : INTF2_DISECR_CE1 System name : CE1_re0
show lldp neighbors interface (l2ng and non-l2ng platform)
user@switch show lldp neighbors interface ge-0/0/2 LLDP Neighbor Information: Local Information: Index: 3 Time to live: 20 Time mark: Fri Feb 4 11:16:50 2022 Age: 3 secs Local Interface : ge-0/0/2 Parent Interface : - Local Port ID : 521 Ageout Count : 0 Neighbour Information: Chassis type : Mac address Chassis ID : 2c:6b:f5:0d:3d:c0 Port type : Interface name Port ID : ge-0/0/2 Port description : FIRST_INTF_DESC_CE2 System name : CE2_re0.example.com
Release Information
Command introduced in Junos OS Release 9.6.
detail option introduced in Junos
OS Release 19.1R2.