Search the VMware Knowledge Base (KB)
View by Article ID

Migrating virtual machines between vSwitch or PortGroups to vDS or dvPortgroups (1010612)

  • 21 Ratings
Language Editions


This article provides steps for migrating virtual machines from vSwitch Portgroups to vNetwork Distributed Switch dvPortgroups.


vCenter Server introduces a new feature that allows you to mass-move virtual machines from one dvPortgroup to another.
To initiate a migration:
  1. Go to the Summary page of the dvSwitch.
  2. Click Migrate Virtual Machine Networking.
  3. Choose a Source and Destination dvPortgroup.
  4. Click Show Virtual Machines.
  5. Choose the virtual machines you want to migrate.
Execute the above procedure with the following order:
  1. Create a Distributed Switch with at least as many Uplink Ports as physical NICs connected to the vSwitch.
  2. In the Distributed Switch, create as many Portgroups as you already have in the vSwitch.
  3. Assign uplinks to each Portgroup in the dvSwitch.
  4. Break each teaming and transfer NIC or NIC(s) from each vSwitch to a corresponding uplink group in dvSwitch.
  5. Migrate the Virtual Adapters and the virtual machines to the appropriate Portgroups.
  6. Transfer the remaining uplinks to the uplink groups associated with the appropriate Portgroups.
  7. Remove the vSwitches and their Portgroups.
Note: If the virtual machine contains virtual machine snapshots at the time of the networking migration, the networking is migrated, but the legacy portgroups continue to remain. To clear these legacy portgroups, you must delete all snapshots on the virtual machines, which automatically removes the legacy portgroups. For more information on deleting snapshots, see Consolidating snapshots (1007849).

Note: If the virtual machine you need to migrate to the vDS is the vCenter server itself then you should not use this feature. To migrate a vCenter server to the vDS:
  1. Right click on the vCenter virtual machine and select Edit Settings.
  2. Click on the network adapter and change the portgroup for the network adapter to one of the portgroups located on the vDS.
Using Migrate Virtual Machine Networking option can cause a virtual machine to briefly be disconnected from the network. This brief network disconnect may result in the vCenter server not being able to complete its own transition to the vDS.

Additional Information

For more information about vSwitch migration in vSphere 6.0, see the Migrate Virtual Machine Networking to the vSphere Distributed Switch section of the vSphere 6.0 Networking guide.

For information regarding the migration of Service Console or VMkernel ports, including management VMkernel ports, see Migrating Service Console and/or VMkernel port from Standard Switches to Distributed Switch (1010614).



See Also

Update History

01/28/2016 - Added ESXi and vCenter Server 6.0 to Products. Added a link to the ESXi 6.0 Networking documentation.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 21 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 21 Ratings