
Introduction to vSphere Standard Switches
Learner Objectives
After completing this lesson, you should be able to meet the following objectives:
- Identify virtual switch connection types
- Configure and view standard switch configurations
- Distinguish between the features of standard and distributed switches
About Virtual Switches
Virtual switches connect VMs to the physical network. They provide connectivity between VMs on the same ESXi host or on different ESXi hosts. They also support VMkernel services, such as vSphere vMotion migration, iSCSI, NFS, and access to the management network.
Types of Virtual Switch Connections
A virtual switch has specific connection types:
- VM port groups
- VMkernel port: For IP storage, vSphere vMotion migration, vSphere Fault Tolerance, vSAN, vSphere Replication, and the ESXi management network
- Uplink ports
Virtual Switch Connection Examples
More than one network can coexist on the same virtual switch or on separate virtual switches.
About VLANs
ESXi supports 802.1Q VLAN tagging. Virtual switch tagging is one of the supported tagging policies:
- Frames from a VM are tagged as they exit the virtual switch.
- Tagged frames arriving at a virtual switch are untagged before they are sent to the destination VM.
- The effect on performance is minimal.
ESXi provides VLAN support by assigning a VLAN ID to a port group.
Types of Virtual Switches
A virtual network supports standard and distributed switches. Both switch types are elastic: Ports are created and removed automatically.
- Standard switch:
- Virtual switch that is configured for a single host
- Distributed switch:
- Virtual switch that is configured for an entire data center.
- Up to 2,000 hosts can be attached to the same distributed switch.
- The configuration is consistent across all attached hosts.
- Hosts must either have an Enterprise Plus license or belong to a vSAN cluster.
Adding ESXi Networking
You can add new standard switches to an ESXi host or configure existing ones using the vSphere Client or VMware Host Client.
Viewing the Configuration of Standard Switches
In the vSphere Client, you can view a host’s standard switch configuration by selecting Virtual Switches on the Configure tab.
Network Adapter Properties
- The Physical adapters pane shows adapter details such as speed, duplex, and MAC address settings.
- Although the speed and duplex settings are configurable, the best practice is to leave the settings at autonegotiate.
Distributed Switch Architecture
Standard and Distributed Switches: Shared Features
Standard and distributed switches have several features in common.
Feature | Standard Switch | Distributed Switch |
Layer 2 switch | Yes | Yes |
VLAN segmentation (802.1Q tagging) | Yes | Yes |
IPv6 support | Yes | Yes |
NIC teaming | Yes | Yes |
Outbound traffic shaping | Yes | Yes |
Cicso Discovery Protocol (CDP) | Yes | Yes |
Additional Features of Distributed Switches
Distributed switches include several features that are not part of standard switches.
Feature | Standard Switch | Distributed Switch |
Inbound traffic shaping | No | Yes |
VM network port block | No | Yes |
Private VLANs | No | Yes |
Load-based teaming | No | Yes |
Data center level management | No | Yes |
vSphere vMotion migration of virtual networking state | No | Yes |
Per-port policy settings | No | Yes |
Port state monitoring of network statistics | No | Yes |
NetFlow | No | Yes |
Port mirroring | No | Yes |
Access to NSX-T port groups | No | Yes |
Link Layer Discovery Protocol (LLDP) | No | Yes |
Review of Learner Objectives
After completing this lesson, you should be able to meet the following objectives:
- Identify virtual switch connection types
- Configure and view standard switch configurations
- Distinguish between the features of standard and distributed switches