Display Learned LLDP Neighbors

Use this procedure to verify details of the LLDP neighbors learned.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Verify details of LLDP neighbors learned:

    show lldp neighbor

  3. Verify details of LLDP neighbors learned on a specific port:

    show lldp neighbor port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Variable Definitions

The following table defines parameters for the show lldp neighbor command.

Variable

Value

port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

Displays LLDP neighbor information on the specified port.