The commands contained in this KB can be used on a live ESXi system to get HBA and NIC driver and firmware details as well as generating hardware compatibility links.
ESXi 6x
ESXi 7x
ESXi 8x
It can be cumbersome to get HBA/NIC firmware/driver details on a live ESXi system, these commands streamline the procedure.
For NIC Firmware/Driver versions and HCL links, copy/paste the following command to a live ESXi system:
echo -e "\n\n";localcli network nic list; /usr/lib/vmware/vm-support/bin/nicinfo.sh | egrep -w "Name:|Version|Driver:" | awk '!seen[$0] {print "\033[33;1m" $0 "\033[m"} {++seen[$0]}' | awk '/Driver:/{print "\n\n"}1'| sed "s|Name:||"; for u in `vmkchdev -l | grep vmnic | awk '{print $2,$3,$5}'| sort -uk1,1 | awk '{print $3}'`; do da=$(vmkchdev -l | grep $u | awk '{print $2}' | awk -F ":" '{print $1}'); de=$(vmkchdev -l | grep $u | awk '{print $2}' | awk -F ":" '{print $2}'); df=$(vmkchdev -l | grep $u | awk '{print $3}' | awk -F ":" '{print $1}'); dg=$(vmkchdev -l | grep $u | awk '{print $3}' | awk -F ":" '{print $2}'); dn=$(vmkchdev -l | grep $u | awk '{print $5}'); echo "";localcli network nic list | egrep $u | awk '{print $3}'; echo "http://partnerweb.vmware.com/comp_guide2/search.php?deviceCategory=io\&VID=$da\&DID=$de\&SVID=$df\&SSID=$dg\&details=1";done
For HBA Firmware/Driver versions and HCL links, copy/paste the following command to a live ESXi system:
echo -e "\n\n";localcli storage core adapter list;for b in `esxcfg-scsidevs -a | awk '{print $1}'`;do echo "";echo -e "\033[0;31m$b\033[0m";v=$(esxcfg-scsidevs -a | grep $b | awk '{print $2}');aa=$(vmkload_mod -s $v |grep -i -A 1 $v | awk -F "/" '{print $6}');ab=$(vmkload_mod -s $v |grep -i -A 1 $v | grep Version | sed 's/Version//g');echo "Driver: $aa";echo "Version $ab";vsish -e cat /storage/scsifw/adapters/$b/info | grep "firmware";bb=$(vmkchdev -l | grep $b | awk '{print $2}' | awk -F ":" '{print $1}');bc=$(vmkchdev -l | grep $b | awk '{print $2}' | awk -F ":" '{print $2}');bd=$(vmkchdev -l | grep $b | awk '{print $3}' | awk -F ":" '{print $1}');be=$(vmkchdev -l | grep $b | awk '{print $3}' | awk -F ":" '{print $2}');echo "";echo -e "\033[0;31mHCL Link $b\033[0m";echo "http://partnerweb.vmware.com/comp_guide2/search.php?deviceCategory=io\&VID=$bb\&DID=$bc\&SVID=$bd\&SSID=$be\&details=1";echo "-------------------------------------------------";done
Example of command output for NICs:
Name PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description
------ ------------ ------- ------------ ----------- ----- ------ ----------------- ---- -----------
vmnic0 0000:0f:00.0 ixgben Up Up 1000 Full ##:##:##:##:##:2c 1500 Intel(R) Ethernet Controller 10 Gigabit X540-AT2
vmnic1 0000:0f:00.1 ixgben Up Up 1000 Full ##:##:##:##:##:2e 1500 Intel(R) Ethernet Controller 10 Gigabit X540-AT2
vmnic2 0000:48:00.0 bnxtnet Up Up 10000 Full ##:##:##:##:##:ca 1500 Broadcom BCM57416
vmnic3 0000:48:00.1 bnxtnet Up Up 10000 Full ##:##:##:##:##:cb 1500 Broadcom BCM57416 r
Driver: ixgben
Firmware Version: 4.03.0 0x80000389
Version: 1.13.1.0
vmnic0
vmnic1
Driver: bnxtnet
Firmware Version: 218.0.152.0 /pkg 218.0.166.0
Version: 223.0.152.0
vmnic2
vmnic3
bnxtnet
http://partnerweb.vmware.com/comp_guide2/search.php?deviceCategory=io\&VID=14e4\&DID=16d8\&SVID=14e4\&SSID=1592\&details=1
ixgben
http://partnerweb.vmware.com/comp_guide2/search.php?deviceCategory=io\&VID=8086\&DID=1528\&SVID=8086\&SSID=0001\&details=1
Example of command output for HBAs:
HBA Name Driver Link State UID Capabilities Description
-------- --------- ---------- ------------- ------------------- -----------
vmhba0 pvscsi link-n/a pscsi.vmhba0 (0000:03:00.0) VMware Inc. PVSCSI SCSI Controller
vmhba1 vmkata link-n/a ide.vmhba1 (0000:00:07.1) Intel Corporation PIIX4 for 430TX/440BX/MX
vmhba0
Driver: pvscsi
Version : 0.1-4vmw.703.0.20.19193900
firmware Version: 2.0.1
HCL Link vmhba0
http://partnerweb.vmware.com/comp_guide2/search.php?deviceCategory=io\&VID=15ad\&DID=07c0\&SVID=15ad\&SSID=07c0\&details=1
-------------------------------------------------
vmhba1
Driver: vmkata
Version : 0.1-1vmw.703.0.20.19193900
firmware Version: 12.0
HCL Link vmhba1
http://partnerweb.vmware.com/comp_guide2/search.php?deviceCategory=io\&VID=8086\&DID=7111\&SVID=15ad\&SSID=1976\&details=1
-------------------------------------------------