Isabel
Isabel

Reputation: 1

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

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

Upvotes: 0

Views: 1064

Answers (1)

Dmitry Krivenok
Dmitry Krivenok

Reputation: 326

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.

Upvotes: 1

Related Questions