show lldp neighbors
Syntax
show lldp neighbors <interface interface-name> detail
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 |
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 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. |
|
Information about both local and neighbor systems on
the interface (appears when the |
|
Information about local systems on the interface (appears
when the |
|
Information about both local and 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 |
|
Name of the local physical interface (appears when the |
|
Name of the |
|
Local port identifier (appears when the interface option is used). |
|
Information about neighbor systems on the interface (appears
when the |
|
Type of chassis identifier supplied, such as |
|
Chassis identifier of type listed (appears when the |
|
Type of port identifier supplied, such as |
|
Port identifier of type listed (appears when the |
|
Port description (appears when the |
|
Name supplied by the system on the interface (appears
when the |
|
Description supplied by the system on the interface (appears
when the |
|
Capabilities (such as |
|
Details of the management address: |
|
One or more entries listing remote information by Organizationally
Unique Identifier ( |
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.
Field Name |
Field Description |
---|---|
|
Information about all neighbors in the system. |
|
Information about neighbors on a local interface. |
|
Local interface index. |
|
Number of seconds for which neighbor information is valid for this interface. |
|
Date and timestamp information. |
|
Age (in seconds) of the neighbor since the TLV is received from the neighbor. |
|
Local Interface for which the neighbor detail is displayed. |
|
Name of the |
|
Local port identifier. |
|
Number of times the neighbor information has been aged out on this interface. |
|
Information about the neighbor systems. |
|
Type of chassis identifier supplied, such as |
|
List of chassis identifiers for all neighbors in the system. |
|
Capabilities (such as |
|
Port description. |
|
Name supplied by the system. |
|
Description supplied by the system. |
|
Capabilities (such as |
|
Details about the management address and management interface of the neighbor. |
|
LLDP MED device class value of the neighbor system. |
|
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
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 (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 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 : 8
Release Information
Command introduced in Junos OS Release 9.6.
detail
option introduced in Junos
OS Release 19.1R2.