You can export vSphere Distributed Switch and distributed port group configurations to a file.
The file preserves valid network configurations, enabling distribution of these configurations to other deployments.
vSphere Distributed Switch settings and port-group settings are imported as part of the import.
As a best practice, export the vSphere Distributed Switch configuration before preparing the cluster for VXLAN. For detailed instructions, see http://kb.vmware.com/kb/2034602.