efa inventory device lldp list

Lists the LLDP neighbors for a device.

efa inventory device lldp list [--ip device-ip | --type all | edge | fabric | --help]
--ip device-ip
Specifies a comma-separated range of device IP addresses. Example: 1.1.1.1-3,1.1.1.2,2.2.2.2.
--type all | edge | fabric
Type of neighbors. The default is all.
--help
Displays help.
This example demonstrates how to fetch LLDP neighbors of type fabric:
efa inventory device lldp list --ip 10.20.246.1 --type fabric 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|  DeviceIP   | Local Interface | Local Int MAC  | PO Number | Remote Interface | Remote Interface MAC | Remote System Name | Remote Interface Description | 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
| 10.20.246.1 | Ethernet 0/13   | f46e.95a2.b813 |           | Ethernet 0/13    | f46e.95a0.c813       | NH-2               | Eth 0/13                     | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/14   | f46e.95a2.b814 |           | Ethernet 0/14    | f46e.95a0.c815       | NH-2               | clusterPeerIntfMember        | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/15   | f46e.95a2.b815 |           | Ethernet 0/15    | f46e.95a0.c815       | NH-2               | clusterPeerIntfMember        | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/31   | f46e.95a2.b825 |           | Ethernet 0/3     | 489b.d57f.f009       | Bl1                | Link to 10.20.246.1 Spine    | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/32   | f46e.95a2.b826 |           | Ethernet 0/3     | 489b.d57f.6809       | Bl2                | Link to 10.20.246.1 Spine    | 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 

LLDP Neighbor Details 

--- Time Elapsed: 30.864116ms --- 
To fetch all LLDP neighbors of type edge:
efa inventory device lldp list --ip 10.20.246.1 --type edge 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|  DeviceIP   | Local Interface | Local Int MAC  | PO Number | Remote Interface | Remote Interface MAC | Remote System Name | Remote Interface Description | 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
| 10.20.246.1 | Ethernet 0/1    | f46e.95a2.b807 |           | Ethernet 0/1     | 609c.9f87.0a05       | SLX                | Eth 0/1                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/2    | f46e.95a2.b808 |           | Ethernet 0/2     | 609c.9f87.0a06       | SLX                | Eth 0/2                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/4    | f46e.95a2.b80a |           | Ethernet 0/4     | 609c.9f87.0c08       | SLX                | Eth 0/4                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/5    | f46e.95a2.b80b |           | Ethernet 0/5     | 609c.9fcd.f309       | Cedar_06           | Eth 0/5                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/6    | f46e.95a2.b80c |           | Ethernet 0/6     | 609c.9fcd.f30a       | Cedar_06           | Eth 0/6                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/7    | f46e.95a2.b80d |           | Ethernet 0/7     | 609c.9fcd.d50b       | SLX                | Eth 0/7                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/8    | f46e.95a2.b80e |           | Ethernet 0/8     | 609c.9fcd.d50c       | SLX                | Eth 0/8                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/21   | f46e.95a2.b81b |           | Ethernet 0/25    | 78a6.e145.5c2f       | L41                | Link to 10.20.246.1 Spine    | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/22   | f46e.95a2.b81c |           | Ethernet 0/25    | d884.66ea.012f       | L42                | Link to 10.20.246.1 Spine    | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/24   | f46e.95a2.b81e |           | Ethernet 0/53    | f46e.959f.1744       | SLX                | Eth 0/53                     | 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 

LLDP Neighbor Details 

--- Time Elapsed: 28.056793ms --- 
To get all LLDP neighbors, either specify –type as all or skip that parameter:
efa inventory device lldp list --ip 10.20.246.1 --type all 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|  DeviceIP   | Local Interface | Local Int MAC  | PO Number | Remote Interface | Remote Interface MAC | Remote System Name | Remote Interface Description | 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
| 10.20.246.1 | Ethernet 0/1    | f46e.95a2.b807 |           | Ethernet 0/1     | 609c.9f87.0a05       | SLX                | Eth 0/1                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/2    | f46e.95a2.b808 |           | Ethernet 0/2     | 609c.9f87.0a06       | SLX                | Eth 0/2                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/4    | f46e.95a2.b80a |           | Ethernet 0/4     | 609c.9f87.0c08       | SLX                | Eth 0/4                      |
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/5    | f46e.95a2.b80b |           | Ethernet 0/5     | 609c.9fcd.f309       | Cedar_06           | Eth 0/5                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/6    | f46e.95a2.b80c |           | Ethernet 0/6     | 609c.9fcd.f30a       | Cedar_06           | Eth 0/6                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/7    | f46e.95a2.b80d |           | Ethernet 0/7     | 609c.9fcd.d50b       | SLX                | Eth 0/7                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/8    | f46e.95a2.b80e |           | Ethernet 0/8     | 609c.9fcd.d50c       | SLX                | Eth 0/8                      | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/13   | f46e.95a2.b813 |           | Ethernet 0/13    | f46e.95a0.c813       | NH-2               | Eth 0/13                     | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/14   | f46e.95a2.b814 |           | Ethernet 0/14    | f46e.95a0.c815       | NH-2               | clusterPeerIntfMember        | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/15   | f46e.95a2.b815 |           | Ethernet 0/15    | f46e.95a0.c815       | NH-2               | clusterPeerIntfMember        | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/21   | f46e.95a2.b81b |           | Ethernet 0/25    | 78a6.e145.5c2f       | L41                | Link to 10.20.246.1 Spine    | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/22   | f46e.95a2.b81c |           | Ethernet 0/25    | d884.66ea.012f       | L42                | Link to 10.20.246.1 Spine    | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/24   | f46e.95a2.b81e |           | Ethernet 0/53    | f46e.959f.1744       | SLX                | Eth 0/53                     | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/31   | f46e.95a2.b825 |           | Ethernet 0/3     | 489b.d57f.f009       | Bl1                | Link to 10.20.246.1 Spine    | 
+             +-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 
|             | Ethernet 0/32   | f46e.95a2.b826 |           | Ethernet 0/3     | 489b.d57f.6809       | Bl2                | Link to 10.20.246.1 Spine    | 
+-------------+-----------------+----------------+-----------+------------------+----------------------+--------------------+------------------------------+ 

LLDP Neighbor Details 

--- Time Elapsed: 139.100194ms ---