How do you create a vmkernel port on a virtual distributed switch with esxcli?
# esxcli network ip interface add --help
# esxcli network vswitch dvs --help
please also refer : http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=100812...
Thanks,
This works on a standard switch but it doesn't work for me on a vds. Have you tried it? The documentation says something about some functions not being available on the vds...
Little late to the party ...
Run the following command to find your dvs-name and dvport-id you wish to add the vmkernal too.
esxcfg-vswitch -l
Once you have determined the correct information use the following command:
esxcli network ip interface add --interface-name=vmk0 --dvs-name=DSwitch --dvport-id=51
Note - Make certain to change the dvs-name and dvport-id to match your environment.