vcpguy wrote:
Hi, is there a cmd line to add ports to the existing vSwitch ?
I am trying to use a kickstart script and I would first like to add the switch and later add the ports, I don't want to create the ports and switch on the same cmd
Thanks
Do you mean portgroups or vmkernel ports?
If portgroups, then esxcfg-vswitch -A "TestPortgroup" vSwitchX
If vmk port, then esxcfg-vmknic -a vmk1 -i DHCP -p "TestPortgroup"