I get error when i run (vim-cmd vmsvc/) in Esxi shell

957 Views Asked by At

I get an error when I run this command:

vim-cmd vmsvc/devices.createnic 1 e1000e

The error is:

Could not find matching network id or type

1

There are 1 best solutions below

0
On

You must specify a port group as a 3rd parameter, i.e. something like this

vim-cmd vmsvc/devices.createnic 1 e1000e "VM Network"

Port group is usually created on a standard or distributed switch.