Setting Up vSphere Networking with vSphere Standard Switches

You can use ESXCLI to set up the vSphere networking.

You can set up your virtual network by performing a set of tasks.

  1. Create or manipulate virtual switches by using esxcli network vswitch. By default, each ESXi host has one virtual switch, vSwitch0. You can create additional virtual switches or manage existing switches. See Setting Up Virtual Switches and Associating a Switch with a Network Interface.
  2. (Optional) Make changes to the uplink adapter by using esxcli network vswitch standard uplink. See Managing Uplink Adapters.
  3. (Optional) Use esxcli network vswitch standard portgroup to add port groups to the virtual switch. See #GUID-1DBC03A9-0FE1-4911-A8C1-602BA0F15759.
  4. (Optional) Use esxcli network vswitch standard portgroup set to establish VLANs by associating port groups with VLAN IDs. See #GUID-35828D08-BA61-49E0-A2AC-87CF355035DC.
  5. Use esxcli network ip interface to configure the VMkernel network interfaces. See Adding and Modifying VMkernel Network Interfaces.