show lldp neighbors
Syntax
Release Information
Command introduced in JUNOS Release 9.0 for EX Series switches.
Description
Display the information about neighboring devices learned by the switch by using the Link Layer Discovery Protocol (LLDP).
Options
- none
Display LLDP neighbor information for all neighboring interfaces.
- interface interface
(Optional) Display LLDP neighbor information for a selected interface.
Required Privilege Level
view
List of Sample Output
show lldp neighborsshow lldp neighbors interface ge-1/0/22.0
Output Fields
Table 1 lists 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 |
|---|---|
Local Interface | List of local interfaces for which neighbor information is available. |
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. |
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). |
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). |
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 Info | Details of the management information: Address Type (such as ipv4), Address (such as 10.204.34.35), 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). |
Sample Output
show lldp neighbors
user@switch> show lldp neighborsLocal Interface Chassis Id Port info System Name me0.0 00:18:fe:ad:a5:00 11 hnyc-ssw4 ge-0/0/43.0 00:1f:12:3a:0d:c0 ge-0/0/42.0 corp-e48t1-nyc ge-0/0/42.0 00:1f:12:3a:0d:c0 ge-0/0/43.0 corp-e48t1-nyc ge-0/0/38.0 00:1f:12:3a:0d:c0 ge-0/0/39.0 corp-e48t1-nyc ge-0/0/45.0 00:1f:12:3a:0d:c0 ge-0/0/44.0 corp-e48t1-nyc ge-0/0/41.0 00:1f:12:3a:0d:c0 ge-0/0/40.0 corp-e48t1-nyc ge-0/0/39.0 00:1f:12:3a:0d:c0 ge-0/0/38.0 corp-e48t1-nyc ge-0/0/40.0 00:1f:12:3a:0d:c0 ge-0/0/41.0 corp-e48t1-nyc ge-0/0/44.0 00:1f:12:3a:0d:c0 ge-0/0/45.0 corp-e48t1-nyc
show lldp neighbors interface ge-1/0/22.0
user@switch>show lldp neighbors interface ge-1/0/22.0
LLDP Neighbor Information:
Local Information:
Index: 78 Time to live: 20 Time mark: Mon Apr 6 12:02:25 2009 Age: 2 secs
Local Interface : ge-1/0/22.0
Local Port ID : 297
Neighbour Information:
Chassis type : Mac address
Chassis ID : 00:1f:12:31:c3:40
Port type : Locally assigned
Port ID : 146
Port description : ge-0/0/22.0
System name : corp-e24p1-nyc
System Description : Juniper Networks, Inc. ex3200-24p Espresso, version 9.5I0 [shayan] Build date: 2009-03-23 08:58:45 UTC
System capabilities
Supported: Bridge Router
Enabled : Bridge Router
Management Info
Type : IPv4
Address : 10.204.96.216
Port ID : 34
Subtype : 1
Interface Subtype : 2
OID : 1.3.6.1.2.1.31.1.1.1.1.34
Organization Info
OUI : 0.18.15
Subtype : 1
Index : 1
Info : 03A8360000
Organization Info
OUI : 0.18.15
Subtype : 2
Index : 2
Info : FF0100
Organization Info
OUI : 0.18.15
Subtype : 3
Index : 3
Info : 0100000000
Organization Info
OUI : 0.18.15
Subtype : 4
Index : 4
Info : 05EA
Organization Info
OUI : 0.18.15
Subtype : 1
Index : 5
Info : 424A30323038313930363038

