How To Use Switch in Gns3

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 21

How to use switch in gns3 | switching labs in gns3

--> Today i shall show you how to use Cisco switch in gns3. In node panel of gns3 you could not find any layer2 or layer3 Cisco switch, you cannot use the Cisco 2900 or 3800 series switches in gns3. But there is a way by which you can use your router as switch by using NM-16ESW module in router. In this way you can configure switching protocols like VLAN, STP, VTP ect. So follow these steps.. First open the "Symbol Manger" from Edit tab. Add a ethernet_switch from available symbol to customize nodes. Type a name for switch and in Type field assign the Cisco router IOS to switch, in my case i select the c3600 series and i use the IOS c3640-jk9o3s-mz.124-16a (33MB).

Click on apply and then on ok button. Now you can find a new switch in nodes types.

Now drag this switch on stage and click on configuration and add NM-16ESW module from slot tap.

click on OK you may received a message "You must use 'manual mode' to connect a link with a NM16ESW module". Therefore use the manual method to configure this. Switching labs in gns3 Now for test i shall configure two vlan on switch. For Vlan configuration you can use the following commands.

vlan database vlan 10 vlan 20

Start your switch and try these commands also can see in screen-shot for vlan 10, 20. For complete switching labs visit following posts of blog.

1. Switch virtual interface SVI configuration on gns3 2. Inter VLAN on gns3

3. Hot Standby Router Protocol configuration on GNS3


Learn about Cloud Computing and Active Directory. Posted 30th May 2011 by viki Labels: GNS3
54

View comments
1. AnonymousJune 2, 2011 7:36 PM how mine is not working dam it Reply

2. WAQASJune 3, 2011 1:06 AM is there any error ??? and which IOS you are using...??? Reply

3. AnonymousJune 14, 2011 1:18 AM thanks sooooooooooooooooooo much!!! Reply

4. legend_ultimacyJuly 5, 2011 7:00 PM thanks alot ...........its working fine....:-) Reply

5. AnonymousJuly 12, 2011 1:18 PM Amazing it solve my problem thank you veeeeeeeeeeeery much.Keep it up Reply

6. Mohammad HamedJuly 24, 2011 12:48 PM There is switch#vlan Any 10x Reply Replies something database, update incorrect I in as got when I invalid write input case that command: detected?! ??

that

1.

AnonymousMarch 13, 2012 5:54 PM vlan database is old way of creating vlans. New one is switch(config)#vlan Reply

7. WAQASJuly 24, 2011 5:15 PM make sure you have used NM-16ESW module in that router.. Reply

8. AnonymousJuly 26, 2011 9:31 PM this is what i got !!!!

% Invalid input detected at '^' marker. Reply

9. WAQASJuly 26, 2011 11:23 PM add NM-16ESW module in switch in order to execute the "switch#vlan database" command. Reply

10.

AnonymousJuly 28, 2011 4:43 PM thanks man...i cleared my CCIE rns with this only.....amazing work guys... Reply

11. AnonymousAugust 24, 2011 7:52 PM Thanks Dear, it is great!!! i really mean it. Reply

12. AnonymousAugust 25, 2011 3:25 PM Great. Reply

13. WAQASAugust 27, 2011 7:23 PM :-) Reply

14. AnonymousSeptember 5, 2011 6:48 AM hi why is I cannot please update the link Reply the link download redirecting the me ios to amazon? image

15.

AnonymousSeptember 5, 2011 5:44 PM Downloading IOS files and refering to them is illegal, but you should be able to find them if you search hard enough(usenet,torrents etc.) Reply

16. WAQASSeptember 5, 2011 11:10 PM hi if you wana download IOS files then u can download from gns3.net or search google u ll find more links. Reply

17. sunnySeptember 17, 2011 10:03 PM thank u so much.....m trying to use switch for 2 months but router interfaces came in between of etherswitch router Reply

18. vikiSeptember 17, 2011 10:11 PM just use the "NM-16ESW module" in any router, then u can run different switch commands in gns3.. try this n reply what hapen... Reply

19.

AnonymousNovember 24, 2011 11:07 AM Hi, I tried above setup but its not working...... any one pls suggest ...

switch#vlan switch#vlan switch(vlan)#vlan VLAN 100 Name: switch(vlan)#vlan VLAN 200 Name: switch(vlan)# switch(vlan)#ex APPLY Exiting.... switch# switch# switch#config Enter configuration commands, one per line. End with switch(config)#int fa switch(config-if)#sw switch(config-if)#swit switch(config-if)#swit? % Unrecognized switch(config-if)#^Z switch# switch# switch#sh *Mar 1 00:02:26.927: %SYS-5-CONFIG_I: Configured from console by switch#sh Cisco IOS Software, 3700 Software (C3725-ADVIPSERVICESK9-M), Version 12.4(23), SOFTWARE (fc1) Reply

da database 100 added: VLAN0100 200 added: VLAN0200

completed.

t CNTL/Z. 0/0

command

ver console ver RELEASE

20. AnonymousNovember 24, 2011 11:35 AM its working fine...... Reply

21. AnonymousDecember 19, 2011 8:49 PM hey i want to add switch catalyst 4507r. how can i do it ... help m plz Reply

22.

AnonymousDecember 19, 2011 8:52 PM if ther thnx Reply any one can halp me this is my skype ;hamadabenyettou

23. UnknownDecember 28, 2011 8:11 PM May I know the IOS version and sw / router module that is being used in order to configure VRRP and HSRP ? So far I am not able to use "standby" command and "vrrp" commands. I used "c3640-jk9o3smz.124-16a" IOS and using "NM-16ESW" , "NM-1FE-TX". But still cannot use "standby" and "vrrp"commands. Pls. advise. Reply

24. AlexDecember 29, 2011 7:11 PM Hi, I SW1(config)#vlan and SW1(config)#vlan It didn't work.. any idea how to make those work? Reply this is working quite well but we can't access to all vlan acl can we? tried access-map filter

25. orcaJanuary 18, 2012 8:26 PM thanks a lot it`s working exactly the same to me Reply

26. AnonymousJanuary 24, 2012 2:19 PM you are wonderful,thanks a million,i thought iwas lost forever. Reply

27. AnonymousFebruary 1, 2012 6:06 PM hmm....When I do the steps...it shows the ethernet_switch under 'Decorative Nodes' in node panel and it doesn't give me more options like adding Adapters on slots... Reply

28. AnonymousFebruary 20, 2012 9:25 AM thanks a lot, you`re genius Reply

29. sirdemzMarch 3, 2012 8:56 PM thankx for all ur comments.., it really help alot Reply

30. AnonymousMarch 12, 2012 3:18 AM why cant i see any Vlans (not even the default ones) when i enter show vlans on gns3 Reply

31. AnonymousMarch 13, 2012 12:43 PM I have tried mounting the NM-16ESW module to multiple IOS images and router types but for some reason the add on card does not get picked up at all. No VLAN commands or interfaces visible. Other add on cards work and extra ports are picked up automatically. Am I missing something? Reply

32. AnonymousJune 20, 2012 5:06 PM working for me... thank you. :)

Reply

33. AnonymousJune 24, 2012 4:00 PM Hello Can anybody share the link to download the module NM-16ESW please? Reply Replies

1.
vikiJune 24, 2012 10:23 PM i am not sure about other routers but 3600 series has NM-16ESW just add this router in your topology and from slot option select this module.. thanks.. Reply module..

34. AnonymousJune 24, 2012 9:03 PM hi, I did everything as described above, well I see all interfaces when show ip int brief. but if I type " show vlan" it doesnt work for me, it says " Ambiguous command: show vlan " instead ,,, any idea why ? or maybe since it is router IOS it just doesnt support this command,, Reply Replies

1.
vikiJune 24, 2012 10:28 PM

hi, do u manage to create vlan or not????

2. AnonymousJune 25, 2012 2:55 AM yes , I could create them, but once I type "show vlan" that message occured "Ambiguous command: show vlan " , dont know why though... is there any other command to show list of vlans created on it? thanks Reply

35. AnonymousJune 25, 2012 6:22 PM show vlan does not work, use show vlans switch instead Reply

36. AnonymousJune 25, 2012 10:59 PM hello, thanks I must have been blind yesterday when http://commonerrors.blogspot.sk/2011/06/save-vlan-configuration-database-in.html show vlan-switch solved my problem... Reply I missed this:

37. AnonymousJune 30, 2012 7:32 PM Hi when using NM-16ESW module in router and then for example in the IOS type int f1/0 , IOS give the this error : invalid input detected at ' ' marker.

why this error show me ? Reply Replies

1.
vikiJuly 3, 2012 7:06 PM int f1/0 is not valid for your setup. use the "Router#show ip interface brief" command for show all interfaces and then select the one which you wana configure.. thanks Reply

38. AnonymousJuly 11, 2012 1:23 PM Switch#vlan Switch(vlan)#vlan VLAN Name: Switch(vlan)#vlan VLAN Name: Switch(vlan)#exit APPLY Exiting.... Switch#conf Enter configuration commands, Switch(config)#interface Switch(config-if)#sw Switch(config-if)#switchport ^ % Invalid input -----------------------------------------------any Regards. Reply Replies database 100 added: VLAN0100 200 added: VLAN0200 completed. t CNTL/Z. e1/0 access at '^' marker.

100

200

one

per

line.

End

with

mode detected

idea

please

1.

AnonymousJuly 11, 2012 10:55 PM try switchport mode access on fastethernet instead of ethernet, see what happen????

2. AnonymousJuly 12, 2012 9:51 AM Well Thanks I have tried the Fastethernet and still it is the same, but i gave the interface an ip address connected to router and it is pinging, i mean I can ping the router connect to the fastethernet , not as yesterday when I used Ethernet, I couldn't even ping. thanks again, can anyone tell me why Switchport mode access is not working on my switch, It is 3600 router simulated as switch and I am using c3640-is-mz124-21.bin thanks again. Reply

39. AnonymousJuly 14, 2012 10:02 PM thank you it working good for me.. Reply

40. AnonymousJuly 15, 2012 10:05 AM hi, what type and number of this IOS switch that you used in this Lab? can you tell so I can search for it myself. Reply

41. AnonymousJuly 19, 2012 4:38 PM Not Working the switchport mode access in c7200 & 3640. Reply

42. AnonymousAugust 1, 2012 3:41 PM Please find the below error that i am getting. Please help

C:\unpack>unpack.exe 'unpack.exe' is not recognized operable program or batch file. Reply Replies

as

an

internal

or

external

command,

1.
AnonymousAugust 12, 2012 4:45 PM now what is this unpack.exe??? Reply Load more

GNS3 Labs | CCNP | CCNA Labs


Sidebar

Home

CCNP Route 642 902 Exam Labs

CCNA Labs

Cloud Computing

Active Directory

Gns3 Error Failed to determine version of Dynamips Windows 8

Gns3 Installation and Configuration on Windows 8

OSPF Design Guide | Open shortest path first CCNP Concepts OSPF Area Types

Shortest Path First SPF algorithm (Dijkstra algorithm) OSPF Neighbor Relationship Process

How to configure OSPF on router | Configuration Methods Cisco OSPF Cost 3 OSPF Tables OSPF LSA Types

OSPF Virtual Links Link State Routing Protocol Distance Vector Routing Protocols Generate HTTP traffic in GNS3 without Traffic Generator

EIGRP Route summarization & Stub Sim on GNS3

CCNP Exam Tips: 1

IPv6 OSPF Virtual Link Sim configuration on GNS3: 4

Policy Based Routing Sim configuration on GNS3 | CCNP route: 14

EIGRP OSPF Redistribution Sim configuration On GNS3: 14

OSPF Stub Area Sim configuration on GNS3: 8

Windows 8 installation Guide:

How to clone & copy Virtual machine in Virtual BOX

Create Linux (centos 5) virtual machine in Virtual Box:

Centos 5.5 Installation on Virtual box: 2

Route filtering using Distribute List

Route redistribution | RIP into OSPF | OSPF into RIP | Configuration lab : 6

GNS3 0.8.1 VirtualBox Edition Installation and configuration:

How to fix Generic Host Process For win32 services has encountered a problem and needs to close | windows (active directory) server Solution What is BGP Border Gateway Protocol

GNS3 Installation on Ubuntu 11.04 | Network Simulator for Ubuntu

How to install flash player on Ubuntu 11.04 | Linux software install

Ubuntu Virtualization | Installation of ubuntu-11.04 on Vmware with Windows 7 1

Convert DMG image to ISO using dmg2img 1.6 on windows7 6

Cisco AAA Radius Server Configuration on GNS3 3

Site to Site VPN CLI configuration on Gns3: 18

GNS3 | Basic Configuration Of Tinycore Linux 3.4 Qemu image | Windows 7 3

CCNA Access List Configuration Example on GNS3 1

RIP Lab Configuration On GNS3: Microsoft Security Essentials Icon Missing From System Tray 2 FireFox/Internet Explorer/Chrome is not working after Avast boot Scan: 4

NAT Configuration on GNS3:

MPLS Network Configuration on GNS3: GNS3 Crash Connection loss error: 2

EIGRP Redistribution of Different AS(Autonomous System) configuration on GNS3: EIGRP Route Summarization Configuration on GNS3/Summary Route Lab

EIGRP Unequal Cost Load Balancing configuration Gns3:

EIGRP Configuration on GNS3(single AS): 3 Cant Start Dynamips port 7200, gns3 error: Failed to start dynamips gns3 error: 5 IS-IS configuration on Gns3:

Gns3 Error Failed to determine version of Dynamips Windows 8

Gns3 is not working on GNS3:

When I start using GNS3-0.8.3.1-Standalone-64-bit on windows 8 64bit (check is there 32 bit versions) I got the error failed to determine version of Dynamips. After long troubleshooting I am able to resolve this issue. I dont know exactly why dynamips giving this message but from error wording it seems like that it is because of gns3 compatibly issue with windows 8.

1.

Anyway you can follow the below steps for resolving this issue. While troubleshooting with Dynamips.exe I notice that some .Dll files are missing on windows 8 in order to start Gns3 on windows 8. These are Packet.dll and wpcap.dll I copies these two files from my windows 7 machine to windows 8 and then test dynamips again and I got the positive result with message Dynamips 0.2.8-RC3 successfully started . You can download and copy these to files to C:\Windows\SysWOW64 on windows 8. If you have a windows 7 installed then you can also copy these two Dll files from same above location and can paste these into Windows 8.

2.

Download Dll files Gns3 Hope this will resolve your issue if not then you add gns3.exe and dynamips.exe to firewall allow applications from firewall setting and test again.

3.

Also try to run gns3.exe and dynamips.exe in windows 7 compatibility mode from properties\ compatibility tab. Please share your experience if your issue is resolve also if you have same issue with dynamips then feel free to ask any question. Gns3 installation on Windows 8 Posted 10 hours ago by viki
0

Add a comment

Loading
Send feedback

You might also like