To Identify currently running NIC Card Driver Version on ESXi Host with esxcli command line.
Login to ESXi Host through SSH.
- 1. Run command to obtain the Network driver type:
Command:-
# esxcfg-nics -l
or
# esxcli network nic list
- 2. Run the ethtool -i command to check the NIC Driver version:-
Command:-
# ethtool -i vmnic0
- 3. Run below command to get list of all NICs present in ESXi Host.
Command:-
# for a in $(esxcfg-nics -l|awk '{print $1}'|grep [0-9]) ;do ethtool -i $a;done