show lldp neighbors
Syntax
show lldp neighbors
<interface interface>
Description
Display the information about neighboring devices learned by the switch by using the Link Layer Discovery Protocol (LLDP).
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 is
not assigned to the VLAN.
Options
interface interface | (Optional) Display LLDP neighbor information for a selected interface. |
Required Privilege Level
view
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.
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 |
This field displays the port information received from neighbors. |
System name |
List of system names gathered from neighbors. Includes the host name and the domain name. |
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 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 |
The port description field uses the configured port description, the 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). |
System Description |
Description supplied by the system on the interface (appears when the interface option is used). |
System capabilities |
Capabilities (such as Bridge, Bridge Router, and Bridge 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 (indexed by the |
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). |
Sample Output
- show lldp neighbors
- show lldp neighbors interface ge-0/0/8
- 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
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 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/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
Release Information
Command introduced in Junos OS Release 9.0.