Checking Virtual Machine and VMkernel uplinks using esxtop
search cancel

Checking Virtual Machine and VMkernel uplinks using esxtop

book

Article ID: 429824

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

You may need to verify network uplinks in the following scenarios:

  • Verifying uplinks for virtual machines or vmkernel interfaces.
  • Confirming failover to standby uplinks when an active uplink goes down.
  • Verifying the specific vmnic used by each virtual machine after changing the load balancing policy for a VM network.

Environment

VMware ESXi 7.0.x
VMware ESXi 8.0.x

Resolution

Connect to the ESXi host via SSH and run esxtop. Press [n] to display the network panel.
Refer to the TEAM-PNIC column to identify the uplink being used.

 

In the example below, the uplink for vmk0 is vmnic0.

 PORT-ID UPLINK UP SPEED FDUPLX USED-BY                         TEAM-PNIC DNAME              PKTTX/s  MbTX/s   PSZTX    PKTRX/s  MbRX/s   PSZRX %DRPTX %DRPRX

  67108869      N  -     -      - Management                            n/a vSwitch0              0.00    0.00    0.00       0.00    0.00    0.00   0.00   0.00
  67108872      N  -     -      - Shadow of vmnic0                      n/a vSwitch0              0.00    0.00    0.00       0.00    0.00    0.00   0.00   0.00
  67108873      N  -     -      - Shadow of vmnic2                      n/a vSwitch0              0.00    0.00    0.00       0.00    0.00    0.00   0.00   0.00
  67108878      N  -     -      - vmk0                               vmnic0 vSwitch0             74.07    0.07  125.00      68.38    0.07  132.00   0.00   0.00
 100663306      N  -     -      - Management                            n/a vSwitch1              0.00    0.00    0.00       0.00    0.00    0.00   0.00   0.00
 100663308      N  -     -      - Shadow of vmnic1                      n/a vSwitch1              0.00    0.00    0.00       0.00    0.00    0.00   0.00   0.00
 100663311      N  -     -      - vmk1                               vmnic1 vSwitch1              1.18    0.00  198.00       0.98    0.00  251.00   0.00   0.00
 134217741      N  -     -      - Management                            n/a vSwitch2              0.00    0.00    0.00       0.00    0.00    0.00   0.00   0.00
 134217744      N  -     -      - vmk2                                 void vSwitch2              0.00    0.00    0.00       0.00    0.00    0.00   0.00   0.00
2214592518      Y  Y 10000      Y vmnic0                                  - vSwitch0             74.07    0.07  125.00      68.58    0.07  132.00   0.00   0.00
2214592519      Y  Y 10000      Y vmnic2                                  - vSwitch0              0.00    0.00    0.00       2.94    0.00   60.00   0.00   0.00
2248146955      Y  Y 10000      Y vmnic1                                  - vSwitch1              1.18    0.00  198.00       0.98    0.00  251.00   0.00   0.00

Additional Information

Using the esxtop Utility
Network Panel

The Japanese version of this KB: esxtop を使用して仮想マシンや vmkernel のアップリンクを確認する