Learn to export vSphere distributed port group configurations to a file. The configuration file allows you to preserve valid port group configurations, enabling distribution of these configurations to other deployments.
You can export port group information at the same time you export distributed switch configurations. See Back Up and Restore a vSphere Distributed Switch Configuration.
Export vSphere Distributed Port Group Configurations
Learn how to export a distributed port group configurations to a file. The configuration preserves valid network configurations, enabling distribution of these configurations to other deployments.
Procedure
Results
You now have a configuration file that contains all the settings for the selected distributed port group. You can use this file to create multiple copies of this configuration on an existing deployment, or overwrite settings of existing distributed port groups to conform to the selected settings.
What to do next
- To create a copy of the exported distributed port group, see Import a vSphere Distributed Port Group Configuration.
- To overwrite settings on an existing distributed port group, see Restore a vSphere Distributed Port Group Configuration.
Import a vSphere Distributed Port Group Configuration
Learn how to import to create a distributed port group from a configuration file.
If an existing port group has the same name as the imported port group, the new port group name has a number appended in parentheses. The settings from the imported configuration are applied to the new port group and the settings of the original port group remain unchanged.
Procedure
- On the vSphere Client Home page, click Networking and navigate to the distributed switch.
- Right-click the distributed switch and select .
- Browse to the location of your saved configuration file and click Next.
- Review the import settings before completing the import.
- Click Finish.
Restore a vSphere Distributed Port Group Configuration
Learn how to use the restore option to reset the configuration of an existing distributed port group to the settings in a configuration file.