To recover the configuration of a vSphere Distributed Switch, you can restore its settings from the configuration file that you previously exported.
This procedure restores only the vSphere Distributed Switch configuration of a vCenter Server instance.
The restore operation changes the settings on the vSphere Distributed Switch back to the settings saved in the configuration file. The operation overwrites the current settings of the vSphere Distributed Switch and its port groups. The operation does not delete existing port groups that are not a part of the configuration file.
The vSphere Distributed Switch configuration is part of the vCenter Server backup. If you want to restore the entire vCenter Server instance, see
Restore vCenter Server.
Procedure
- In a web browser, log in to the vCenter Server by using the vSphere Client (https://<vcenter_server_fqdn>/ui).
- Select .
- In the inventory expand .
- Expand the Management networks folder, right-click the distributed switch and select .
- On the Restore switch configuration page, click Browse, navigate to the location of the configuration file for the distributed switch, and click Open.
- Select the Restore distributed switch and all port groups radio-button and click Next.
- On the Ready to complete page, review the changes and click Finish.
- Repeat these steps for the other vSphere Distributed Switch.
- Review the switch configuration to verify that it is as you expect after the restore.