esxcli software vib install -v /path/to/vib
Step 4 – Plug-in the USB NIC and reboot for the change to go into effect. Once the host has rebooted, ESXi should automatically pickup and claim the USB NIC (e.g. vusb0)
Persisting USB NIC Bindings
Currently there is a limitation in ESXi where USB NIC bindings are picked up much later in the booth process and to ensure settings are preserved upon a reboot, the following needs to be added to /etc/rc.local.d/rc.local based on your configurations.
Below is an example which binds the physical USB NIC (vsub0) to vSwitch and the respective portgroups that are also attached on the VSS
vusb0_status=$(esxcli network nic get -n vusb0 | grep 'Link Status' | awk '{print $NF}')
count=0
while [[ $count -lt 20 && "${vusb0_status}" != "Up" ]] ]
do
sleep 10
count=$(( $count + 1 ))
vusb0_status=$(esxcli network nic get -n vusb0 | grep 'Link Status' | awk '{print $NF}')
done
if [ "${vusb0_status}" = "Up" ]; then
esxcfg-vswitch -L vusb0 vSwitch0
esxcfg-vswitch -M vusb0 -p "Management Network" vSwitch0
esxcfg-vswitch -M vusb0 -p "VM Network" vSwitch0
fi