Manage virtual switches

A virtual switch provides software-based switching between VMs, hosts, and the external network. A virtual switch provides the following ports:

After you add a host to CVM, the system automatically creates a default virtual switch named vswitch0 for network management on the host. If you do not configure any backup network or migration network, the backup and migration data for VMs will be transmitted through vswitch0.

Restrictions and guidelines

A virtual switch cannot be deleted if it is being used by VMs.

Add a virtual switch

  1. On the top navigation bar, click Resources.

  1. From the left navigation pane, select Compute > Host Pool Name > Cluster Name.

  1. Click the vSwitches tab.

  1. Click Add vSwitch.

  1. Configure the parameters as described in "Parameters."

  1. Click OK.

Edit a virtual switch

  1. On the top navigation bar, click Resources.

  1. From the left navigation pane, select Compute > Host Pool Name > Cluster Name.

  1. Click the vSwitches tab.

  1. Click Edit in the Actions column for the target virtual switch.

  1. Configure the parameters as described in "Parameters."

  1. Click OK.

Delete a virtual switch

  1. On the top navigation bar, click Resources.

  1. From the left navigation pane, select Compute > Host Pool Name > Cluster Name.

  1. Click the vSwitches tab.

  1. Click Delete in the Actions column for the target virtual switch.

  1. In the dialog box that opens, click OK.

Delete a host from a virtual switch

  1. On the top navigation bar, click Resources.

  1. From the left navigation pane, select Compute > Host Pool Name > Cluster Name.

  1. Click the vSwitches tab.

  1. In the Hosts Using the vSwitch list, click Delete in the Actions column for the target host.

  1. In the dialog box that opens, click OK.

Parameters