Technical Documentation

show lldp neighbors

Syntax

show lldp neighbors
<interface interface-ids>

Release Information

Command introduced in JUNOS Release 9.0 for EX-series switches.

Description

Display learned information about Link Layer Discovery Protocol (LLDP) on all neighboring interfaces or on selected interfaces.

Options

none — Display learned LLDP information on all neighboring interfaces and devices.

interface interface-ids(Optional) Display learned LLDP information on the selected interface or device.

Required Privilege Level

view

List of Sample Output

show lldp neighbors
show lldp neighbors interface ge-0/0/4.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

Level of Output

LLDP Remote Devices Information

LLDP Remote devices information:

  • LocalPort—The local port number.
  • ChassisId—The MAC address associated with the local system.
  • PortInfo—Port Info is either PortID or PortDescr, whichever is available.
    • PortID: — The port identification associated with the transmitting LLDP agent.
    • PortDescr: The user-configured port description. Port description can be a maximum of 256 characters.
  • SysName: The user-configured name of the local system. System name can be a maximum of 256 characters.

All levels

index

Juniper Networks internal index.

interface level

Time to Live

The age of the information propagated in LLDP frames. Time to live (TTL) value is between 0 and 65,535 seconds.

interface level

Time mark

Time filter for an entry.

interface level

Chassis type

The value used to identify a chassis. For an EX-series switch, this is the MAC address. However, this value is vendor-specific. The value for chassis type is used by LLDP to identify a device.

interface level

Port type

The neighbor's unique SNMP index for a port.

interface level

System descr

The system description containing information about the software and current image running on the system. This information is not configurable, but taken from the software.

interface level

System capabilities

The primary function performed by the system. The capabilities that the system supports are defined; for example, bridge. This information is not configurable, but based on the model of the product.

  • Supported— The capabilities the system supports.
  • Enabled— The capabilities enabled on the system.

interface level

Remote Management Address

The IPV4 management address of the system.

  • Type—The possible management address subtypes; for example IPv4, 802 media.
  • Address—The management address of the subtype system.

interface level

MED Information Detail

The LLDP MED Information:

  • EndpointClass: A set of mandatory and optional TLVs . There are three classes:
    • Class 1 (Generic Endpoints) —Apply to all endpoints that require base LLDP discovery services.
    • Class 2 (Media Endpoint ) —Apply to endpoints that have IP Media Capabilities.
    • Class 3 (Communication Endpoint ) —Apply to endpoints that support IP Media (IP Phones, and so on).
  • Media Policy Vlan Id —The configured VLAN ID for an application type running on a port.
  • Media Policy Priority— The media policy priority, defined in the VLAN tag, to mark a packet with priority.
  • Media Policy Dscp —The DSCP prioritization, used if an untagged VLAN is advertised.
  • Media Policy Tagged — Set based on the VLAN (tagged or untagged) used by an application type.

interface level

Sample Output

show lldp neighbors

user@switch> show lldp neighbors
 LLDP Remote Devices Information

  LocalPort   ChassisId          PortInfo          SysName
  ---------   ---------          ---------          -------
  ge-0/0/0.0  10.209.192.12      00 19 bb 20 de 80  AVA4C357D
  ge-0/0/1.0  10.209.192.12      00 19 bb 20 de 80  AVA4C357D
  ge-0/0/1.0  10.209.192.13      00 19 bb 20 de 81  AVA4C357E
  ge-0/0/3.0  00 19 bb 20 de 79  5                  apg-hp1
  ge-0/0/3.0  00 19 bb 20 de 80  3                  apg-hp1
  ge-0/0/4.0  00 19 bb 20 de 79  5                  apg-hp1
  ge-0/0/4.0  00 19 bb 20 de 80  3                  apg-hp1
  ge-0/0/5.0  00 19 bb 20 de 81  ge-0/0/3           Ball1
  ge-0/0/6.0  00 19 bb 20 de 82  ge-0/0/4           Ball2

show lldp neighbors interface ge-0/0/4.0

user@switch>show lldp neighbors interface ge-0/0/4.0
LLDP Remote Device Information Detail

  Index 6 Time Mark Wed Jun 20 07:34:11 2007 Time To Live 120 seconds
  Local Port    : ge-0/0/4.0
  ChassisType   : mac-address
  ChassisId     : 00 19 bb 20 de 80
  PortType      : local
  PortId        : 3
  SysName       : apg-hp1
  System Descr  : ProCurve J9049A Switch 2900-24G, revision T.11.X1, ROM K....
  PortDescr     : 3
            .
            .
            .

  System Capabilities Supported  : bridge, router
  System Capabilities Enabled    : bridge

  Remote Management Address
     Type    : ipv4
     Address : 10.204.34.35


  Index 7 Time Mark Wed Jun 20 07:34:11 2007 Time To Live 120 seconds
  Local Port    : ge-0/0/4.0
  ChassisType   : mac-address
  ChassisId     : 00 19 bb 20 de 79
  PortType      : local
  PortId        : 5
  SysName       : apg-hp1
  System Descr  : ProCurve J9049A Switch 2900-24G, revision T.11.X1, ROM K....
  PortDescr     : 3
            .
            .
            .

  System Capabilities Supported  : bridge, router
  System Capabilities Enabled    : bridge

  Remote Management Address
     Type    : ipv4
     Address : 10.204.34.35

Updated: 2009-04-02