Setting Up vSphere Networking with vSphere Distributed Switch
A distributed switch functions as a single virtual switch across all associated hosts. A distributed switch allows virtual machines to maintain a consistent network configuration as they migrate across multiple hosts. See Networking Using vSphere Distributed Switches.
Like a vSphere standard switch, each distributed switch is a network hub that virtual machines can use. A distributed switch can forward traffic internally between virtual machines or link to an external network by connecting to uplink adapters.
Each distributed switch can have one or more distributed port groups assigned to it. Distributed port groups group multiple ports under a common configuration and provide a stable anchor point for virtual machines that are connecting to labeled networks. Each distributed port group is identified by a network label, which is unique to the current datacenter. A VLAN ID, which restricts port group traffic to a logical Ethernet segment within the physical network, is optional.
You can create distributed switches by using the vSphere Client. After you have created a distributed switch, you can add hosts by using the vSphere Client, create distributed port groups, and edit distributed switch properties and policies with the vSphere Client. You can add and remove uplink ports by using vicfg-vswitch.
See the vSphere Networking documentation and the white paper available through the Resources link at for information about distributed switches and how to configure them using the vSphere Client.
You can add and remove distributed switch uplink ports with vicfg-vswitch.
After the distributed switch has been set up, you can use vicfg-vswitch to add or remove uplink ports. Specify one of the options listed in Connection Options in place of <conn_options>.
vicfg-vswitch <conn_options> - -add-dvp-uplink <adapter_name> - -dvp <DVPort_id> <dvswitch_name>
vicfg-vswitch <conn_options> - -del-dvp-uplink <adapter> - -dvp <DVPort_id> <dvswitch_name>