When creating a switch using “esxcfg-vswitch” it is possible to specify the number of ports for the new switch by adding placing a ‘:’ followed by the number of ports right after the vswitch name. So for example to create a vswitch named vSwitch7 with 256 ports the command would be:
esxcfg-vswitch -a vSwitch7:256

One Response to “Adding a Virtual Switch (vswitch) to VMware ESX with a specific number of ports”
  1. Virtualization Short Take #13 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers says:

    [...] ran across this very useful tip for creating a vSwitch with a specific number of ports. It looks like Dwight Hubbard, the [...]

Leave a Reply

You must be logged in to post a comment. Login »