Quantcast
Channel: VMware Communities: Message List - VMware ESXi 5
Viewing all articles
Browse latest Browse all 61617

Re: Cmd line to add ports to a vSwitch on ESXi 5.1

$
0
0

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"


Viewing all articles
Browse latest Browse all 61617

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>