GNS3 Advanced Switching: NX-OS, IOSv, OpenFlow, SDN and more
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:
- Etherchannel
- PVST+
- RPVST+
- MST
- Port Security
- DTP
- 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
- IOU
- GNS3 built in switch
- Openvswitch
- Others
CISCO SWITCHES
IOSvL2:
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.
Etherswitch:
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:
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.
NON CISCO:
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.
Note
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
Open vSwitch:
By leveraging GNS3 support for Docker, you can now add Open vSwitch to your GNS3 topologies. In order to do that, use this template:
Others:
You can also use switches from other vendors such as Cumulus, Extreme Networks and many more.
Your GNS3 Academy Instructor
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 +1 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.
YouTube: https://www.youtube.com/user/ConfigTerm/
Twitter: https://twitter.com/davidbombal
LinkedIn:
linkedin.com/in/davidbombal
GNS3 Academy Curriculum
-
StartAnswering your questions (1:53)
-
StartGNS3 switching setup and options: Cisco and other switching options in GNS3 (14:35)
-
StartGNS3 switching setup and options Part 2: GNS3 unmanaged built-in switch (13:27)
-
StartGNS3 switching setup and options Part 3: Router on a sick with GNS3 unmanaged bu (6:34)
-
StartGNS3 switching setup and options Part 4: Etherswitch Router for Cisco Dynamips P (13:36)
-
StartGNS3 switching setup and options Part 5: Etherswitch Router for Cisco Dynamips P (6:40)
-
StartGNS3 switching setup and options Part 6: Etherswitch, Wireshark, 802.1Q, InterVL (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)
-
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)