Identify virtual NIC(vmkernel adapter, VM NIC) and vmnic mapping from esxtop
search cancel

Identify virtual NIC(vmkernel adapter, VM NIC) and vmnic mapping from esxtop

book

Article ID: 414508

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article introduces how to identify virtual NIC(vmkernel adapter, VM NIC) and vmnic mapping from esxtop.

Resolution

For vmkernel adapters(vmk)

  1. Open a SSH session to ESXi.
  2. Enter esxtop command.
    esxtop
  3. Press "n". (This is capital sensitive.)
  4. Find the vmnic that vmk connects to.
PORT-ID      USED-BY   TEAM-PNIC   DNAME            PKTTX/s  MbTX/s   PSZTX   PKTRX/s  MbRX/s  PSZRX  %DRPTX %DRPRX
######## vmk0     vmnic0 DvsPortset-0     2.30     0.00   276.00  6.70     0.00   76.00  0.00   0.00

 

For VM NIC

  1. Take a note of which NIC of the VM is searched for.
  2. Open a SSH session to ESXi.
  3. Enter esxtop command.
    esxtop
  4. Press "n". (This is capital sensitive.)
  5. Find the vmnic that VM NIC connects to.
PORT-ID      USED-BY                  TEAM-PNIC   DNAME            PKTTX/s  MbTX/s   PSZTX   PKTRX/s  MbRX/s  PSZRX  %DRPTX %DRPRX
######## #######:<VM-NAME>.eth0   vmnic1 DvsPortset-0     0.00     0.00     0.00    3.62     0.00   60.00   0.00   0.00
########     #######:<VM-NAME>.eth1   vmnic2 DvsPortset-0     0.00     0.00     0.00    3.62     0.00   60.00   0.00   0.00