When using the sc command ‘esxcfg-vswitch -a vSwitch1′ the created switch has the default of 64 ports.

To create a vSwitch with more or less ports, add ‘:<no ports>’ to the name of the vSwitch.

Resulting command: ‘esxcfg-vswitch -a vSwitch1:128′ to create a vSwitch with 128 ports.

Note: Viewed from ‘esxcfg-vswitch -l’ the Num ports is 64, when viewed from VI client the vSwitch properties gives 56.