View Global LLDP Information

About this task

Use this procedure to view global LLDP information, to know which LLDP settings and parameters are configured.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. Display LLDP local system data:

    show lldp local-sys-data [med]

  3. Display the LLDP neighbor system information:

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

  4. Display the list of ports:

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

  5. Display the LLDP reception statistics:

    show lldp rx-stats [port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}]

  6. Display the LLDP statistics:

    show lldp stats

  7. Display the LLDP transmission statistics:

    show lldp tx-stats [port {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]}]

Examples

View global LLDP information:

Switch:1#show lldp
802.1ab Configuration:
------------------------------------
             TxInterval: 30
       TxHoldMultiplier: 4
            ReinitDelay: 1
                TxDelay: 1
   NotificationInterval: 5

View the LLDP local system data on the switch:

Switch:1#show lldp local-sys-data

======================================================================
                             LLDP Local System Data

======================================================================

               ChassisId: MAC Address        b0:ad:aa:4c:54:00
               SysName  : LLDP agent
               SysDescr : VSP-4450GSX-PWR+ (6.0.1.0)  BoxType: VSP-4450
               SysCap   : Br / Br
----------------------------------------------------------------------
Capabilities Legend: (Supported/Enabled)
B= Bridge,    D= DOCSIS,    O= Other,     R= Repeater,
S= Station,   T= Telephone, W= WLAN,      r= Router

View the LLDP neighbor information. You can also view this on a specific port.

Switch:1#show lldp neighbor

===============================================================================
                                      LLDP Neighbor
===============================================================================

Port: 1/28      Index    : 1                  Time: 0 day(s), 01:16:25
                Protocol : LLDP
                ChassisId: MAC Address        a4:25:1b:52:54:00
                PortId   : MAC Address        a4:25:1b:52:54:1b
                SysName  : BEB
                SysCap   : Br / Br
                PortDescr: VSP8404 - Gbic1000BaseT Port 1/28
                SysDescr : VSP8404 (4.5.0.0) 
                Address  : 192.0.2.47
-------------------------------------------------------------------------------

Total Neighbors : 1

-------------------------------------------------------------------------------
Capabilities Legend: (Supported/Enabled)
B= Bridge,    D= DOCSIS,    O= Other,     R= Repeater,
S= Station,   T= Telephone, W= WLAN,      r= Router

View the LLDP neighbor summary of all ports on the switch. You can also view this on a specific port.

Note

Note

The EDM tab (Edit > Diagnostics > 802_1ab > LLDP > Neighbor > ) displays only IPv4 addresses. Use CLI to see both IPv4 and IPv6.

Switch:1#show lldp neighbor summary 

========================================================================================================================
                                                 LLDP Neighbor Summary
========================================================================================================================
LOCAL            IP/IPv6         CHASSIS            REMOTE            
PORT       PROT  ADDR            ID                 PORT               SYSNAME       SYSDESCR                      
------------------------------------------------------------------------------------------------------------------------
1/4        LLDP  0.0.0.0         f8:15:47:e1:dd:00  f8:15:47:e1:dd:06  VSP-4450GSX-~ VSP-4450GSX-PWR+ (6.0.1.0)
1/12       LLDP  192.0.2.77     a4:25:1b:53:6c:00  a4:25:1b:53:6c:28  VSP-7254XTQ   VSP-7254XTQ (6.0.0.0)         
1/13       LLDP  192.0.2.34     00:14:0d:e3:40:00  00:14:0d:e3:40:c1  ERS-8606      ERS-8606 (7.2.10.1)           
1/14       LLDP  192.0.2.78     a4:25:1b:52:34:00  a4:25:1b:52:34:28  VSP-7254XSQ   VSP-7254XSQ (6.0.0.0)         
1/24       LLDP  192.0.2.94     00:13:65:a3:8c:00  00:13:65:a3:8c:18                Ethernet Routing Switch 5520-~
1/25       CDP   192.0.2.89     --                 FastEthernet2/0/5  cisco3750.Tr~ cisco WS-C3750-48P running on~
1/27       CDP   0.0.0.0         --                 FastEthernet3/0/6  Switch        cisco WS-C3750-48TS running o~
1/48       LLDP  192.0.2.76     b0:ad:aa:4e:dc:00  b0:ad:aa:4e:dc:68  VSP-8404      VSP-8404 (6.0.0.0)
------------------------------------------------------------------------------------------------------------------------
Total Neighbors : 8

View the LLDP administrative status of all ports on the switch. You can also view this on a specific port.

Switch:1#show lldp port

======================================================================
                             LLDP Admin Port Status

======================================================================
----------------------------------------------------------------------
Port       AdminStatus  ConfigNotificationEnable  CdpAdminState
----------------------------------------------------------------------
1/1        txAndRx      disabled                  disabled
1/2        txAndRx      disabled                  disabled
1/3        txAndRx      disabled                  disabled
1/4        txAndRx      disabled                  disabled
...
...

View the LLDP reception statistics. You can also view this on a specific port.

Switch:1#show lldp rx-stats

=============================================================================
                                 LLDP Rx-Stats

=============================================================================

Port      Frames      Frames   Frames   TLVs        TLVs           AgeOuts
Num       Discarded   Errors   Total    Discarded   Unsupported
                                        (Non FA)    (Non FA)
-----------------------------------------------------------------------------
1/1       0           0        0        0           0              0
1/2       0           0        0        0           0              0
1/3       0           0        0        0           0              0
1/4       0           0        0        0           0              0
...
...

View the LLDP statistics:

Switch:1#show lldp stats

==============================================================
                                   LLDP Stats

==============================================================
Inserts    Deletes    Drops      Ageouts
--------------------------------------------------------------
4          0          0          0
--------------------------------------------------------------

View the LLDP transmission statistics:

Switch:1#show lldp tx-stats

======================================================================
                                 LLDP Tx-Stats

======================================================================

PORT NUM                 FRAMES
----------------------------------------------------------------------
1/1                      95
1/2                      95
1/3                      95
1/4                      95
1/5                      95
...
...

Display LLDP-MED local system data:

Switch:1#show lldp local-sys-data med
======================================================================================
                             LLDP Local System Data
======================================================================================

               ChassisId: MAC Address        d4:78:56:f1:65:00
               SysName  : VSP-4450GSX-PWR+
               SysDescr : VSP-4450GSX-PWR+ (w.x.y.z)
               SysCap   : Br / Br

        MED Capabilities:       CNLSI
        MED Device Type:        Network Connectivity Device
        MED Power Device Type:  PSE Device
        HWRev: 03               FWRev: VU-Boot 2012.04-00034-g57194a8 
        SWRev: v5.7.3.005       SerialNumber: 16JP1160E51D
        ManufName: Extreme Networks. ModelName: VSP-4450GSX-PWR+
        Asset ID: 16JP1160E51D

--------------------------------------------------------------------------------------

Port: 1/1 

  MED Enabled Capabilities: CNLI
  MED Network Policy:
    Application Type: Voice
      VLAN ID: 412
      L2 Priority: 3
      DSCP Value: 57
      Tagging: Tagged Vlan
      Policy defined
    Application Type: Voice-Signaling
      VLAN ID: 7
      L2 Priority: 6
      DSCP Value: 24
      Tagging: Tagged Vlan
      Policy defined
  MED Location - Coordinate-based LCI:
    Latitude:  +12.3 (degrees) North
    Longitude: +42   (degrees) East
    Altitude:  +45   (meters)
    Datum: World Geodesic System (WGS84)
  MED Location - Civic Address LCI:
    Country code: RO
    Country: Romania
    City: Bucuresti
    Block: 12
    Street: Calea Floreasca
    Floor: 3
  MED Location - Emergency Call Service ELIN:
    ECS ELIN: 121416182022
  MED Extended Power via MDI:
    Power Value: 16.0 Watt
    Power Type: PSE
    Power Source: Primary
    Power Priority: Low

--------------------------------------------------------------------------------------
Capabilities Legend: (Supported/Enabled)
B= Bridge,    D= DOCSIS,    O= Other,     R= Repeater,
S= Station,   T= Telephone, W= WLAN,      r= Router
MED Capabilities Legend: (Supported/Enabled)
  C= Capabilities, N= Network Policy; L= Location Identification; 
  I= Inventory; S= Extended Power via MDI - PSE; D= Extended Power via MDI - PD.

Variable Definitions

The following table defines parameters for the show lldp command.

Variable

Value

local-sys-data

Displays the LLDP local system data.

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

Displays the LLDP neighbor system information. You can also view this on a specific 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.

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

Displays the LLDP administrative status 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.

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

Displays the LLDP reception statistics on all ports on the switch, or on a specific 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.

stats

Displays the LLDP statistics.

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

Displays the LLDP transmission statistics on all ports on the switch or on a specific 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.