Supported Platforms
Related Documentation
show lldp neighbors
Syntax
Release Information
Command introduced in Junos OS 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 interfaces. |
interface interface | — | (Optional) Display LLDP neighbor information for a selected interface. |
Required Privilege Level
view
Related Documentation
List of Sample Output
show lldp neighborsshow lldp neighbors interface ge-0/0/2
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)
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. |
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. |
LLDP Neighbor Information | Information about both the local system (the switch) and a neighbor system on the interface (appears when the interface option is used). |
Local Information | Information about the local system (appears when the interface option is used). |
Index | Local interface index (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). |
Time mark | Date and timestamp of information (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 | 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, Router, and Telephone) that are supported or enabled by the system on the interface (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 organization identifier (OID) (appears when the interface option is used). The Interface Subtype displays:
|
Media Info | Additional details about the endpoint device appear 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 listing remote information by organizationally unique identifier (OUI), Subtype, Index, and Info (appears when the interface option is used). |
Age | How long the neighbor has been identified (appears when the interface option is used and NetBIOS snooping is enabled on the switch). |
Local Interface | Name of the local physical interface (appears when the interface option is used and NetBIOS snooping is enabled on the switch). |
Parent Interface | Name of the aggregated Ethernet interface, if any, to which the interface belongs (appears when the interface option is used and NetBIOS snooping is enabled on the switch). |
Chassis ID | Chassis identifier of the chassis type listed (appears when the interface option is used and NetBIOS snooping is enabled on the switch). |
Port description | Port description (appears when the interface option is used and NetBIOS snooping is enabled on the switch). |
System name | NetBIOS name of the host (appears when the interface option is used and NetBIOS snooping is enabled on the switch). |
Sample Output
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 newyork31 xe-3/0/5.0 ae31.0 b0:c6:9a:63:80:40 xe-0/0/1.0 newyork31 xe-3/0/6.0 ae31.0 b0:c6:9a:63:80:40 xe-0/0/2.0 newyork31 xe-3/0/7.0 ae31.0 b0:c6:9a:63:80:40 xe-0/0/3.0 newyork31 xe-3/0/0.0 ae31.0 b0:c6:9a:63:80:40 xe-0/1/0.0 newyork31 xe-3/0/1.0 ae31.0 b0:c6:9a:63:80:40 xe-0/1/1.0 newyork31 xe-3/0/2.0 ae31.0 b0:c6:9a:63:80:40 xe-0/1/2.0 newyork31 xe-3/0/3.0 ae31.0 b0:c6:9a:63:80:40 xe-0/1/3.0 newyork31
show lldp neighbors interface ge-0/0/2
user@switch> show lldp neighbors interface ge-0/0/2
LLLDP Neighbor Information: Local Information: Index: 1 Time to live: 240 Time mark: Wed Dec 1 10:23:24 2010 Age: 29 secs Local Interface : ge-0/0/2.0 Parent Interface : - Local Port ID : 507 Ageout Count : 0 Neighbour Information: Chassis type : Mac address Chassis ID : 00:1f:12:38:7f:c0 Port type : Locally assigned Port ID : 507 Port description : ge-0/0/2.0 System name : bng-l48p5-dev System Description : Juniper Networks, Inc. ex4200-48p , version 10.4I0 Build date: 2010-11-30 09:32:17 UTC System capabilities Supported : Bridge Router Enabled : Bridge Router Management Info Type : IPv4 Address : 10.204.96.235 Port ID : 34 Subtype : 1 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 : 0.12.f Subtype : 1 Index : 1 Info : 22A8360000 Organization Info OUI : 0.12.f Subtype : 2 Index : 2 Info : 030100
show 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 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 : 0.18.15 Subtype : 1 Index : 1 Info : 036CA00010 Organization Info OUI : 0.18.15 Subtype : 1 Index : 2 Info : 002303 Organization Info OUI : 0.18.15 Subtype : 2 Index : 3 Info : 014001AE Organization Info OUI : 0.18.15 Subtype : 5 Index : 4 Info : 3436313044303141 Organization Info OUI : 0.18.15 Subtype : 6 Index : 5 Info : 62313064303162325F392E62696E Organization Info OUI : 0.18.15 Subtype : 7 Index : 6 Info : 61313064303162325F392E62696E Organization Info OUI : 0.18.15 Subtype : 8 Index : 7 Info : 30374E353130313033343234 Organization Info OUI : 0.18.15 Subtype : 9 Index : 8 Info : 4176617961 Organization Info OUI : 0.18.15 Subtype : 10 Index : 9 Info : 34363130 Organization Info OUI : 0.18.15 Subtype : 1 Index : 10 Info : 000028003C Organization Info OUI : 0.18.15 Subtype : 3 Index : 11 Info : 00000000 Organization Info OUI : 0.18.15 Subtype : 4 Index : 12 Info : 000000000000000000000000 Organization Info OUI : 0.18.15 Subtype : 5 Index : 13 Info : 00000000 Organization Info OUI : 0.18.15 Subtype : 6 Index : 14 Info : 00000000 Organization Info OUI : 0.18.15 Subtype : 7 Index : 15 Info : 01
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 : 169.254.58.17 System name : JNPRU\