VMware vSphere ESXi 6.7
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
To determine the driver and firmware version of a Host Bus Adapter:
esxcfg-scsidevs -a
or
esxcli storage core adapter list
vmkload_mod -s HBADriver |grep Version
[root@ESXi:~] /usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -d
Dumping all key-value instance names:
Key Value Instance: vmhba65/qlogic
Key Value Instance: vmhba64/qlogic
Key Value Instance: MOD_PARM_FCOE/qlogic
Key Value Instance: vmnic7/QLogic
Key Value Instance: vmnic6/QLogic
Key Value Instance: vmnic5/QLogic
Key Value Instance: vmnic4/QLogic
Key Value Instance: vmnic3/QLogic
Key Value Instance: QCNIC/qlogic
Key Value Instance: vmnic2/QLogic
Key Value Instance: vmnic1/QLogic
Key Value Instance: vmnic0/QLogic
[root@ESXi:~] /usr/lib/vmware/vmkmgmt_keyval/vmkmgmt_keyval -l -i vmhba64/qlogic
Listing keys:
Name: ADAPTER
Type: string
value: qfle3f-QLogic Offload FCoE:57840 v2.1.30.0 over vmnic2
ql_fcoe: v1.0.38.0 (Driver)
HBA:0x431205008000 for netdev:0000:37:00.2
Host Device Name vmhba64 (Physical)
Active NPIV Ports : 0
FW version = Storm: 7.13.20.0 MFW: 7.16.3 (Firmware)
To determine the version information for a physical network interface card in vSphere ESXi:
esxcli network nic list
esxcli network nic list
Name PCI Driver Link Speed Duplex MAC Address
vmnic0 00:02:04.00 ACME Up 1000Mbps Full ##:##:##:##:##:##
vmnic1 00:02:05.00 ACME Up 1000Mbps Full ##:##:##:##:##:##
for name in `vmkchdev -l | grep vmhba | awk '{print$5}'`;do echo $name ; echo "VID :DID SVID:SDID"; vmkchdev -l | grep $name | awk '{print $2 , $3}';printf "Driver: ";echo `esxcfg-scsidevs -a | grep $name |awk '{print $2}'`;vmkload_mod -s `esxcfg-scsidevs -a | grep $name|awk '{print $2}'` |grep -i version;echo `lspci -vvv | grep $name | awk '{print $1=$NF="",$0}'`;printf "\n";done