Pages

Sunday, February 7, 2010

Use CLI to add new port groups in VMware ESX 3.5 or vSphere

If you need to add multiple port groups at once on a single vSwitch or multiple virtual switches, you can use the following commands,
esxcfg-vswitch vSwitch2 -A VMs-403
esxcfg-vswitch vSwitch2 -p VMs-403 -v 403

esxcfg-vswitch vSwitch2 -A VMs-405
esxcfg-vswitch vSwitch2 -p VMs-405 -v 405

esxcfg-vswitch vSwitch2 -A VMs-409
esxcfg-vswitch vSwitch2 -p VMs-409 -v 409


where,

vSwitch2 - Name of your virtual switch
-A - To add a new port group to the virtual switch
-p - VLAN Id of your port group

3 comments:


  1. Printing enthusiasts are constantly exploring new methods to enhance their designs, and one innovative technique is what is dtf transfer?. This process allows for vibrant, durable prints on a variety of surfaces, making it a popular choice for custom apparel and accessories. Its versatility and ease of use have made it a preferred option among hobbyists and professionals alike. As technology advances, the popularity of DTF transfers is expected to grow even further.

    ReplyDelete