Virtualization and Virtual Switch for CCNA: VMs, Hypervisor and Trunk

Virtualization lets you run several virtual machines on one physical server. The hypervisor includes a virtual switch (vSwitch) that connects to the physical switch over an 802.1Q trunk. The CCNA covers it under virtualization and the network.

Exam domain: Network Fundamentals · Level: Intermediate · Updated on October 17, 2026 · 2 min read

Topology diagram “Virtualization and Virtual Switch for CCNA: VMs, Hypervisor and Trunk” with 6 devices and 5 links
Topology: Virtualization and Virtual Switch for CCNA: VMs, Hypervisor and Trunk

Edit this template Download .json

Learning objectives

Devices and addressing

DeviceTypeDetails
VM-WEBServerVLAN 10
10.10.10.10
VM-APPServerVLAN 20
10.10.20.10
VM-DBServerVLAN 30
10.10.30.10
vSwitch0vSWVirtual switch
Port groups VLAN 10/20/30
SW-DCLayer 3 switchPhysical switch
G1/0/10 trunk to host
R-DCRouterGateway
Router-on-a-stick

Reference configuration (Cisco IOS)

SW-DC

interface g1/0/10
 description TRUNK-HOST-ESXI
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk allowed vlan 10,20,30
 spanning-tree portfast trunk

Verification commands

CCNA exam tips

Type 1 (bare-metal) runs directly on hardware; type 2 runs on a host operating system.

The physical port toward the host must be a trunk with the VMs' VLANs allowed.

How to use this template

Press “Edit this template”: the editor opens with the topology loaded and ready to change (undo with Ctrl+Z). You can also copy the JSON and paste it into the editor with File ▸ Import JSON…. Then add devices, change IPs and export to PDF, PNG or SVG.

To practice, rebuild the topology in Cisco Packet Tracer, GNS3 or Cisco Modeling Labs and paste the reference configuration on each device. Addresses and names are examples: change them to create your own variants.

JSON template for the editor

This is the full diagram in JSON format. Paste it into the editor (File ▸ Import JSON…) or press the edit button to load it automatically.

Edit this template

Frequently asked questions

What is a hypervisor?

Software that creates and runs virtual machines sharing the physical server's resources.

What is a vSwitch?

A software-based switch inside the hypervisor that connects VMs to each other and to the physical network.

CCNA and Cisco are registered trademarks of Cisco Systems, Inc. This site is independent, not affiliated with Cisco and does not provide official exam material: the templates are study examples.

More related pages