View LLDP Neighbor Information

Display information about LLDP neighbors to help you configure LLDP for maximum benefit.

About this task

Use this procedure to display LLDP neighbor information.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. To view LLDP neighbor information, enter:

    show lldp neighbor {[port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}] | [summary {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}] [med]}

Examples

The following example shows how two switches—an FA Server and an FA Proxy discover each other as LLDP neighbors.

Switch A, which is the FA Server is a 5320 Series switch (model 5320-48T-8XE) and switch B which is the proxy device is an ERS 4826GTS switch.

The following examples show neighbor discovery on non-channelized ports.

On the non-channelized port 1/1 on the FA Server, verify neighbor discovery of the proxy switch.

On the proxy switch, verify discovery of the FA Server switch.

Switch:1>enable
Switch:1#show lldp neighbor
-------------------------------------------------------------------------------
                            LLDP neighbor                                      
-------------------------------------------------------------------------------
Port: 7     Index: 71
        Time: 12 days, 21:40:30         
        ChassisId: MAC address        a4:25:1b:52:70:00
        PortId:    MAC address        a4:25:1b:52:70:04
        SysName:   5320-48T-8XE-FabricIQ
        SysCap:    rB / rB            (Supported/Enabled)
        PortDesc:  Extreme Networks 5320-48T-8XE-FabricIQ - 10GbCX Port
1/52
        SysDescr:  5320-48T-8XE-FabricIQ (8.6.0.0_B430) 
-------------------------------------------------------------------------------
Sys capability: O-Other; R-Repeater; B-Bridge; W-WLAN accesspoint; r-Router;
T-Telephone; D-DOCSIS cable device; S-Station only.
Total neighbors: 1
  

Variable Definitions

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

Variable

Value

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

Displays LLDP neighbor information on the specified port.

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), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

med

Displays LLDP neighbors learned based on LLDP-MED TLV information.

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

Displays the summary of LLDP neighbors of a port or all ports on the switch.

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), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.