Press "Enter" to skip to content

ESXi CLI Commands – Network

Check the status of active network connections

esxcli network ip connection list

Get list of NICs

esxcli network nic list

Get driver and firmware version

esxcli network nic get -n <vmnic#>

Get VID & DID for vmnic

for name in `vmkchdev -l | grep vmnic | 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

Sources and useful links

Determining Network/Storage firmware and driver version in ESXi

Was this page helpful?