efa vcenter links

Displays the links for VMware vCenter server tenants and their ESXi hosts.

Syntax

efa vcenter links [ physical | unconnected ] [ --host string | --esxi string ]
efa vcenter links virtual --esxi string

Parameters

physical
Displays the physical links for the selected device. Device can be a VMware vCenter Server or an ESXi server.
unconnected
Displays the unconnected (unused) links for the selected device. Device can be a VMware vCenter Server or an ESXi server.
virtual
Displays the virtual links created on a ESXi server.
--host
The IP address or host name of the VMware vCenter Server for which to view the physical and unconnected (unused) links.
--esxi
The IP address or host name of the ESXi tenant for which to view the physical, virtual, and unconnected (unused) links.

For VMware vCenter server tenants, physical and unconnected links are displayed. For ESXi hosts, physical, unconnected, and virtual links are displayed.

Examples

This example is list of ESXi device managed by the VMware vCenter Server with the IP 10.24.85.111.
$ efa vcenter links physical --host 10.24.85.111 
Physical Links for vCenter 10.24.85.111 
+--------------+--------+--------+-------------------+---------------+-----------+---------+--------------+---------+--------------+
| ESXi Host    | PNIC   | Driver | PNIC MAC          | Interface     | PO Number | PO Name | Device       | Missing | Missing Time |
+--------------+--------+--------+-------------------+---------------+-----------+---------+--------------+---------+--------------+
| 10.24.81.10  | vmnic3 | ntg3   | 40:f2:e9:bb:4c:83 | Ethernet 0/10 |           |         | 10.9.9.20    |         |              |
+--------------+--------+--------+-------------------+---------------+-----------+---------+--------------+---------+--------------+
| 10.24.82.20  | vmnic2 | ntg3   | 40:f2:e9:bb:58:b2 | Ethernet 0/10 |           |         | 10.9.9.30    |         |              |
+--------------+--------+--------+-------------------+---------------+-----------+---------+--------------+---------+--------------+
| 10.24.83.30  | vmnic3 | ntg3   | 40:f2:e9:bb:58:b3 | Ethernet 0/10 |           |         | 10.9.9.40    |         |              |
+--------------+--------+--------+-------------------+---------------+-----------+---------+--------------+---------+--------------+
Physical Link Details
--- Time Elapsed: 359.1528ms ---
This example is a list of virtual machines and their virtual links on the ESXi host with the IP 10.24.81.10.
$ efa vcenter links virtual --esxi 10.24.81.10 
Virtual Links for ESXi server 10.24.81.10 
+-----------------+-------------------+-------------------+------+------------+----------------+-------------+
| Virtual Machine | vNIC              | MAC               | VLAN | Port Group | vSwitch        | Distributed |
+-----------------+-------------------+-------------------+------+------------+----------------+-------------+
| 20200221 v1     | Network adapter 1 | 00:50:56:9c:75:29 | 3048 | VM Network | vSwitch0       | false       |
+-----------------+-------------------+-------------------+------+------------+----------------+-------------+
| test_vm2        | Network adapter 2 | 00:50:56:9c:7e:83 | 3048 | VM Network | vSwitch0       | false       |
+-----------------+-------------------+-------------------+------+------------+----------------+-------------+
| 20200221 v1     | Network adapter 2 | 00:50:56:9c:f6:13 | 3048 | VM Network | vSwitch0       | false       |
+-----------------+-------------------+-------------------+------+------------+----------------+-------------+
| vMotionVm       | Network adapter 1 | 00:50:56:9c:8f:fd | 10   | DPortGroup | Real-DV-Switch | true        |
+-----------------+-------------------+-------------------+------+------------+----------------+-------------+
| test_vm2        | Network adapter 1 | 00:50:56:9c:1d:09 | 10   | DPortGroup | Real-DV-Switch | true        |
+-----------------+-------------------+-------------------+------+------------+----------------+-------------+
vNIC Link Details
--- Time Elapsed: 500.4792ms ---