Command Line to Find MAC Address on VMware ESXi Servers


Find MAC Addresses on ESXi Servers

How to locate MAC addresses on VMware ESXi servers using command line interface.
  1. Enable root login for SSH/SCP clients (click for my blog on how to enable RL)
  2. Login to VMware ESXi via SSH
  3. Run the command-  vim-cmd hostsvc/net/info | grep “mac =”

Now you have your list of MAC addresses. Login to VMWare vSphere client and match the MAC addresses to the Network Adapters section.


 vim-cmd hostsvc/net/info | grep "mac ="



Please enter your comment!
Please enter your name here