How to Add Layer 2 Switch in GNS3?

How to Add Layer 2 Switch in GNS3? – Adding a Switch to the GNS3 program is a very simple process. After adding the Switch to GNS3, you can configure VLAN topics in Cisco CCNA or CCNP exams in detail.
GNS3 Layer 2 Switch Ekleme

How to Add Layer 2 Switch in GNS3?

By default, Layer 2 Switch is not included in GNS3. So you can add the L2 Switch on GNS3 after you download the Switch IOS image to your computer. To gain experience in switching issues, you need to add Layer 2 Switch to GNS3.

To add a Layer 2 Switch on GNS3, you first need to download the IOS image to your computer. You can not use all the features provided by the physical switches while configuring the Layer 2 Switch in GNS3. Because the GNS3 program can impose some restrictions while simulating Switches.

Some of the actions you can configure after adding a Layer 2 Switch to GNS3 are; VLAN, VTP, and STP configurations.

How to Configure Cisco Layer 2 Switch on GNS3?

First, download the vIOS-L2.vmdk IOS image to your computer from the link below  to add the GNS3 Layer 2 Switch.

Download vIOS-L2

   Step 1

After downloading the Switch IOS file, run the GNS3 program. Then, click Edit.

How to Add Layer 2 Switch in GNS3?

   Step 2

From the Edit menu, click Preferences.

How to Add Layer 2 Switch in GNS3?

   Step 3

In the General Preferences window, click on the Qemu VMs option under the QEMU tab.

How to Add Layer 2 Switch in GNS3?

   Step 4

In the Qemu VM Templates window, click the New button.

How to Add Layer 2 Switch in GNS3?

   Step 5

In the Qemu VM name window, give a name for the Layer 2 Switch.

How to Add Layer 2 Switch in GNS3?

   Step 6

In the Qemu binary and memory window, if your operating system is 64 Bit, select the option below.

How to Add Layer 2 Switch in GNS3?

   Step 7

Click on the Next button.

How to Add Layer 2 Switch in GNS3?

   Step 8

Select the New Image option and click the Browse button.

How to Add Layer 2 Switch in GNS3?

   Step 9

In the window that appears, select the downloaded vIOS-L2.vmdk file and click the Open button.

How to Add Layer 2 Switch in GNS3?

   Step 10

Click the Yes button to copy to the default image folder.

How to Add Layer 2 Switch in GNS3?

   Step 11

Once you have set the file location you have downloaded, click on the Finish button to finish.

How to Add Layer 2 Switch in GNS3?

   Step 12

In the Qemu VM Templates window, you can see that the process of adding Cisco Layer 2 Switch to GNS3 has been successful.

How to Add Layer 2 Switch in GNS3?

   Step 13

In the Devices section of GNS3, right click on the Layer 2 Switch.

How to Add Layer 2 Switch in GNS3?

   Step 14

Click Configure template.

How to Add Layer 2 Switch in GNS3?

   Step 15

In the Layer 2 Switch configuration window, select the Switches group from the Category section.

How to Add Layer 2 Switch in GNS3?

   Step 16

Click the Browse button to change the Layer 2 Switch symbol.

How to Add Layer 2 Switch in GNS3?

   Step 17

You can choose a symbol as shown in the image below.

How to Add Layer 2 Switch in GNS3?

   Step 18

Click the OK button to save the settings.

How to Add Layer 2 Switch in GNS3?

   Step 19

Drag and drop the Cisco Layer 2 Switch to the workspace.

How to Add Layer 2 Switch in GNS3?

   Step 20

To increase the number of interfaces on the switch, click the Right Button / Configure button.

How to Add Layer 2 Switch in GNS3?

   Step 21

From the Network tab, you can add interfaces to the Cisco Layer 2 Switch.

How to Add Layer 2 Switch in GNS3?

   Step 22

After double-clicking on the Cisco Switch, you can see that the process is successful by applying the show vlan brief command.

How to Add Layer 2 Switch in GNS3?

Layer 2 Switch “show vlan” Command Output

[su_tabs active=”1″]
[su_tab title=”vIOS-L2-01#show vlan”]

vIOS-L2-01#show vlan

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Gi0/0, Gi0/1, Gi0/2
100 VLAN100 active
200 VLAN0200 active
300 VLAN0300 active
1002 fddi-default act/unsup
1003 trcrf-default act/unsup
1004 fddinet-default act/unsup
1005 trbrf-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
200 enet 100200 1500 - - - - - 0 0
300 enet 100300 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 trcrf 101003 4472 1005 3276 - - srb 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trbrf 101005 4472 - - 15 ibm - 0 0
VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
1003 7 7 off

Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------

vIOS-L2-01#

[/su_tab]
[/su_tabs]

How to Use Cisco Layer 2 Switch on GNS3 ⇒ Video

After adding a Layer 2 Switch to the GNS3 network simulator program, you can watch the following video to configure some basic configurations and you can also subscribe to our YouTube channel to support us…

  Final Word

In this article, we have added and configured the L2 Switch IOS image on GNS3 to prepare for the Cisco Switching exams. In our next tutorial, we’ll look at how to configure VLANs with the L2 Switch. Thanks for following us!

If this article is helpful, send me feedback by commenting! Thanks in advance, take care of yourself!

Also, you can add to browser bookmarks by pressing the CTRL+D to read this article later!

Articles Related to How to Add Layer 2 Switch in GNS3

[su_box title=”Related Articles” box_color=”#242424″ radius=”0″]
How to Add Cisco IOS Image to GNS3?
How to Configure Cisco Router in GNS3?
How to Configure Telnet on Cisco Router in GNS3?
♦ How to Configure SSH on Cisco Router in GNS3?
How to Install Cisco SDM Express on GNS3?
[/su_box]

Products Related to How to Add Layer 2 Switch in GNS3

[su_box title=”Related Products” box_color=”#242424″ radius=”0″]

[/su_box]

22 Comments

  1. Avatar for Manfarre Manfarre October 30, 2017

    funciono correctamente thanks so much

    Reply
    • Avatar for tolqabaqci tolqabaqci October 31, 2017

      I’m glad to hear that. Thanks for your comment!

      Reply
  2. Avatar for Amez Amez November 14, 2017

    Thanks so much! This whole website is so helpful!

    Reply
    • Avatar for tolqabaqci tolqabaqci November 14, 2017

      You’re welcome. Also, thanks for your comment!

      Reply
  3. Avatar for Stanna448 Stanna448 November 18, 2017

    Thanks man 🙂

    Reply
    • Avatar for tolqabaqci tolqabaqci November 21, 2017

      You’re welcome. Also, thanks for your comment!

      Reply
  4. Avatar for Mark Mark November 18, 2017

    Helo there, thanks for the ariticle and the video, I tried all u explained,did it exactly and it didn’t work for me. am using VMware and I downloaded the gns3vm for VMware. so if there is another way to make the switches work I will higly appreciate it

    Reply
    • Avatar for tolqabaqci tolqabaqci November 21, 2017

      Hello.

      After adding vIOS-L2 IOS image, increase the RAM amount of L2 Switch.

      Reply
  5. Avatar for Akbar Akbar December 26, 2017

    Dear Sir
    Greetings
    Thank you for this excellent work. I really appreciate your efforts and supports available on this website. I followed your instructions to add layer-2-Switch and it worked perfect. There is one small problem. I build a small network in GNS3 with a PC+ Switch+Router. I configure all the three devices and I save the all the configuration. I closed my GNS3 and after sometimes I opened the same file again. I checked the router configuration it was ok. but the configuration from Switch was not there. I checked the console it reload the VLOS-L2 IOS image again and i have to reconfigure the switch. so is there any way that switch keep the configuration!!!

    I hope to hear back from you. sorry for lang story.

    Regards
    Akbar

    Reply
    • Avatar for tolqabaqci tolqabaqci December 28, 2017

      Thank you very much for your good comment. I will write an article for this problem and link to you.

      Reply
  6. Avatar for Patrice Patrice February 28, 2018

    Hi,
    I followed your tutorial to install the Layer 2 switch but I got stuck at the step 13.
    I can see my L2 switch on the Qemu VM templates but it doesn’t appear on my devices list on the left windows of GNS3.

    Do you have a hint?

    Cheers
    Patrice

    Reply
  7. Avatar for Keshoji Keshoji January 4, 2019

    Wonderful! Thank you.

    Reply
  8. Avatar for scacream.co.uk scacream.co.uk January 21, 2019

    Wonderful, what a website it is! This webpage gives valuable data to us, keep it up.

    Reply
  9. Avatar for Luis Franco Luis Franco May 3, 2019

    You are a rock star!

    Reply
  10. Avatar for NUMAN NUMAN July 9, 2019

    hi buddy,

    i just installed the vIOS-L2.rar file on GNS3, the install went ok no errors but the IOS isn’t loading when i console in.

    CAN YOU HELP PLEASE

    Reply
    • Avatar for tolqabaqci tolqabaqci July 10, 2019

      Can you try increasing the RAM of the Switch?

      Reply
  11. Avatar for Gustavo Gustavo July 10, 2019

    Hi.

    Everything fine. The only problem is, no mater how many interfaces I configure, the switch only has one single interface.

    Reply
    • Avatar for tolqabaqci tolqabaqci July 10, 2019

      Interesting I’ve never encountered such a problem before. Are you sure you have saved your settings? Also, what version of GNS3 are you using?

      Reply
  12. Avatar for Osama Osama July 22, 2019

    Thank you, but this isn’t really an L2 switch. I tried to configure the router protocol using it, and it recognized the command.

    Reply
    • Avatar for tolqabaqci tolqabaqci July 23, 2019

      Yes, you are right! But this is the only ios image file that we can use for free.

      Reply

Add a Comment

Your email address will not be published. Required fields are marked *

shares
error: