VMware Cloud Community
Pilu1978
Enthusiast
Enthusiast

Distributed switch using command line

Hi,

I would like to achieve the following with esxi command line. We have esxi 6.5/6.7 in our environment.

1. Add vmnics of a host to a existing Distributed Switch (vDS)

2. Create a VMkernel adapter and attach it to a distributed portgroup on a existing distributed vSwitch

3. Assign ip address, netmask and gateway to VMkernel interface.

Please help me with the commands.

0 Kudos
2 Replies
nachogonzalez
Commander
Commander

I think LucD​ is the right person for this

Moderator: please move to the PowerCLI thread

0 Kudos
scott28tt
VMware Employee
VMware Employee

Moderator: Thread moved to the PowerCLI area.

You should browse and search this area for examples.


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos