GNS3 Advanced Switching: NX-OS, IOSv, OpenFlow, SDN and more
GNS3 supports many switching options today. Learn the many ways you can implement switching from basic unmanaged to SDN
GNS3 support many switching options - they range from unmanaged switches, to Cisco IOS switches, to Datacenter Nexus switches, to Etherswitch modules and then emerging technologies such as OpenFlow and SDN.
One common misconception about GNS3 is that GNS3 does not support advanced switching options. While this was true in the past, GNS3 now supports options such as:
- Port Security
- And many others.Complimentary campus technologies such as HSRP are also supported.
Your selection of image and platform will affect what is possible. Options include:
- Cisco IOSvL2
- Etherswitch module
- GNS3 built in switch
Recommended switching platform: Cisco VIRL IOSvL2
With a Cisco VIRL IOSvL2 image, you can configure and test a wide range of advanced switching features. Go here for a full list:
This is the official Cisco way of emulating a switch.
Basic_switching Etherswitch module
While an Etherswitch module does not support advanced layer 2 features, it does allow you to configure basic VLANs, Spanning Tree and other options.
IOU is a less resource intensive alternative to IOSvL2, but the images are not publicly available. You will need to get them from someone who works at Cisco. In addition, as this is a Cisco internal tool, IOU mages may be buggy and no support is available.
Unmanaged switching: GNS3 built in switch
Use this if all you need is a basic switch to connect devices in a GNS3 topology. You cannot configure this switch through a CLI, but you can set the number of ports supported on the switch and other basic settings.
It’s not running a switch OS, everything is emulated from scratch. This mean some protocol could be buggy. Use it only for basic operations
By leveraging GNS3 support for Docker, you can now add Open vSwitch to your GNS3 topologies. In order to do that, use this template:
You can also use switches from other vendors such as Cumulus, Extreme Networks and many more.
David Bombal (CCIE #11023 Emeritus) passed his Cisco Certified Internetwork Expert Routing and Switching exam in January 2003. David has the highest rated and most popular course in the GNS3 Academy: SDN and OpenFlow Introduction.
David's software tools and training have been downloaded +100,000 times. Many thousands of engineers like you use his tools and training on a regular basis.
David has developed over 20 courses for HP which are used worldwide. These include multiple SDN courses and HP ASE certification courses (4 day Instructor led training).
David's YouTube videos have been viewed +2 million times.
David has been training Cisco and networking courses for 15+ years and has delivered instructor led courses in various countries around the world covering a wide range of Cisco topics from CCNA to CCIE.
He has also personally developed Cisco engineer utilities such as the VPN Config Generator, software, training materials, EBooks, videos and other products which are used throughout the world.
StartDavid Bombal's Discord Server (1:53)
StartGNS3 switching setup and options Cisco and other switching options in GNS3 (14:35)
StartOpen vSwitch, SDN and OpenFlow Part 4: GNS3 Switching Part 10 (11:28)
StartDocker, Open vSwitch, SDN and OpenFlow Part 5: GNS3 Switching Part 11 (7:58)
StartDocker, Open vSwitch, SDN and OpenFlow Part 6: GNS3 Switching Part 14 (7:04)
StartDocker, Open vSwitch, SDN and OpenFlow Part 7: GNS3 Switching Part 15 (3:41)
StartNexus OS (NX-OS) Part 1 (8:34)
StartNexus OS (NX-OS) Part 2 (10:25)
StartGNS3 switching setup and options Part 3: Router on a stick & unmanaged switch (6:34)
StartGNS3 switching setup and options Part 4: Etherswitch Router for Cisco Dynamips Part 1 (13:36)
StartGNS3 switching setup and options Part 5: Etherswitch Router for Cisco Dynamips Part 2 (6:40)
StartGNS3 switching setup and options Part 6: Etherswitch, Wireshark, 802.1Q, InterVLAN routing (16:33)
StartDocker, Open vSwitch, SDN and OpenFlow Part 1: GNS3 Switching Part 7 (7:33)
StartDocker, Open vSwitch, SDN and OpenFlow Part 2: GNS3 Switching Part 8 (10:21)
StartDocker, Open vSwitch, SDN and OpenFlow Part 3: GNS3 Switching Part 9 (15:31)