OR
esxcli network vswitch standard uplink add --uplink-name=<vmnic_label> --vswitch-name=<vSwitch_name>
esxcfg-vswitch -l
esxcfg-vswitch -P <vmnic_label> -V <unused_dvPort_ID_from_step_3/a> <dvSwitch_name>
esxcfg-vswitch -l
For more information, see KB article Configuring vSwitch or vNetwork Distributed Switch from the command line in ESXi/ESX (1008127).
Running the command "lspci | grep -i vmnic
" confirms that the uplinks are available on the respective ESXi hosts.
For example:
Physical connectivity:
# lspci | grep -i vmnic
0000:01:00.0 Network controller: Intel Corporation Gigabit 4P I350-t rNDC [vmnic0]
0000:01:00.1 Network controller: Intel Corporation Gigabit 4P I350-t rNDC [vmnic1]
0000:01:00.2 Network controller: Intel Corporation Gigabit 4P I350-t rNDC [vmnic2]
0000:01:00.3 Network controller: Intel Corporation Gigabit 4P I350-t rNDC [vmnic3]
The above should match list of connected vmnics in output of "esxcfg-nics -l
", e.g.:
# esxcfg-nics -l
Name PCI Driver Link Speed Duplex MAC Address MTU Description
vmnic0 0000:01:00.0 igbn Up 1000Mbps Full b8:ca:3a:##:##:## 1500 Intel Corporation Gigabit 4P I350-t rNDC
vmnic1 0000:01:00.1 igbn Up 1000Mbps Full b8:ca:3a
:##:##:##
1500 Intel Corporation Gigabit 4P I350-t rNDCvmnic2 0000:01:00.2 igbn Up 1000Mbps Full b8:ca:3a
:##:##:##
1500 Intel Corporation Gigabit 4P I350-t rNDCvmnic3 0000:01:00.3 igbn Up 1000Mbps Full b8:ca:3a
:##:##:##
1500 Intel Corporation Gigabit 4P I350-t rNDC