How to Emulate a Switch on Gns3 - The Cisco Learning Network

Embed Size (px)

DESCRIPTION

how to emulate switch on cisco

Citation preview

  • Login Register Premium Library Contact Us/Help About Us Mobile View

    Connect with us on: Search the Learning Network

    Cisco Learning Home IT Careers Connections Certifications Learning Center Our Store

    Cisco Learning Home > CCENT/CCNA R&S Study Group > Documents

    Average User Rating (1 rating)

    Up to Documents in CCENT/CCNA R&S Study Group

    Created on: Feb 25, 2012 1:42 PM by Helder Neves - Last Modified: Nov 7, 2013 3:51 AM by Joydeep Deb

    How to emulate a switch on gns3VERSION 2

    Hi guys, after some research with a friend, we can successfully simulate a switch. 1 - Install gns3 ( );2 - try to get the c3725-adventerprisek9-mz.124-15.T14 from your sources;3 - open the gns3 and go to edit > symbol manager. Add the ethernet_switch, double click on it on right bar, and select router c3700 on type,apply, OK.4 - go to edit > ios images and hypervisors, add the right image and save. Now, on symbols bar, drop the ethernet_switch and fire it up!! Hope it helps! Regards.

    40350 Views Categories: CCENT/CCNA v1.1 ContentTags: how, to, emulate, a, switch, on, gns3, icnd1, lab, labs, materials, network, new_to_cisco, newbie, passed, rip, route, router, routing, exam, study,hardware, duplex, simulators, sdm, cisco, ccna, routing_and_switching, ccent, address

    Feb 25, 2012 3:31 [email protected] says:

    Hi Helder, I went and got the image and instelled gns3 follwoing your instructions but cannot my virtual router started. The guide from GNS3 stipulateshow to do a simple start but sofar no success in getting a putty console started. I will try again tomorrow with a clear head. Thanks for the tip!!!!

    Feb 25, 2012 3:47 PMBrianM says: (in response to [email protected])

    Hey borco1954, I've been using gns3 for a while now and I love it. It's a lot cheaper than the lab gear I have. This should help you out.1) drag your router into the topology2) right click on it and choose "configure"3) go over to the "slots" tab4) leave the "slot 0" the way it is5) make a "slot 1" entry for "NM-16ESW", apply and save your changes6) change the symbol on it to look like a switch if you want7) enter the "no ip route" command in global config mode so it doesn't act like a router Note 1: I've never been able to simulate port-security with them Note 2: the vtp stuff takes a little getting used to Switch# show vlan-switch Switch# vlan database (to do your vtp and vlan stuff) Enjoy!

    Feb 25, 2012 9:44 PMJoshua Johnson - CCNP R&S says: (in response to BrianM)

    you should use packet tracer, the 16esw module is very limited...

    Feb 26, 2012 9:07 [email protected] says: (in response to BrianM)

    Hi Brain and Helver, Thanks for the information. I sitched from Windows 7 and moved to a Window XP platform and got - sofar those things running that didn'twork last night. This is really great stuff from a learning perspective. The feature I like is the Virtual Box Guest. Don't know exactly if it worksbut it suggests being able to run a VB virtual machine running on my XP machine. will test it at an opportune time. I just wanted to express

    ActionsRegister / Login to participate in thecommunity & access resourceslike:

    Register for free now.

    IT Training Videos and SeminarsCisco Certification Study GroupsCisco Certification Exam Topics

    Learn more about The CiscoLearning Network and our PremiumSubscription options.

    View:

    Bookmarked By (3)

    More Like This

    GNS3 - Stable & WorkingConfiguration

    GNS3 Testing IN Progress !

    GNS3 How to.pdf

    How to Connect GNS Routerto the Internet Tutorial

    Gns3 and Linux: loopback toacces topology

    More by Helder Neves

    View Helder Neves's profile

    Please help me with ACLs

    What short training videowould you like to see?

    ARP and ICMP Which layers??

    spanning tree protocol(STP)

    IP Subnetting Question

    Languages:

    How to emulate a switch on gns3 - The Cisco Learning Network https://learningnetwork.cisco.com/docs/DOC-13824

    1 of 3 6/23/2014 4:18 PM

  • my thanks and gratitude for you sharing this stuff.

    Best regardsJeffrey

    Feb 26, 2012 9:24 AMHelder Neves says:

    Hi good people. It wont emulate a FULL-BASED switch, but his imae have th mos switch commands...

    Feb 26, 2012 10:28 AMBrianM says: (in response to [email protected])

    Great job on getting it working! I run it on 64bit Windows 7 and I know how tough it can be setting it up on your own. The hardest thing forme was getting SDM to run on it. It took me quite a while to get that part figured out and I still don't know why they don't make an SDMversion that can run with newer java versions.

    Feb 26, 2012 5:52 PMHelder Neves says: (in response to BrianM)

    Hi, try to use the cisco configuration profissional .. Regards

    How to emulate a switch on gns3 - The Cisco Learning Network https://learningnetwork.cisco.com/docs/DOC-13824

    2 of 3 6/23/2014 4:18 PM

  • 1992-2014 Cisco Systems Inc. All rights reserved. Site Map Terms & Conditions Privacy Statement Cookie Policy Trademarks

    Feb 27, 2012 10:03 PMJoshua Johnson - CCNP R&S says: (in response to Helder Neves)

    Trust me, you will soon learn to hate that module my good chum.

    Helder Neves wrote:

    Hi good people. It wont emulate a FULL-BASED switch, but his imae have th mos switch commands...

    Apr 11, 2012 5:38 AMCischology says: (in response to BrianM)

    Hi, "no ip route" this is not complete! right ? do i need to do it for all networks "ip route 0.0.0.0 0.0.0.0" thank you in advance

    Nov 7, 2013 12:30 PM"RedNectar" Chris Welsh says:

    The easiest way to emulate an IOS switch in GNS3 (0.8.4 or later) is simply to:

    TIPS

    The following is an extract from the book GNS3 Network Simulation Guide, which gives some more information on the NM-16ESW moduleused in the EtherSwitch router device. [Disclaimer: I am the author of this book]

    The NM-16ESW is based on older Cisco hardware and does not support many of the new switch features that CCIE andCCNP candidates are expected to learn about.However, to overcome some of the shortcomings, there is a baseconfig_sw.txt file that is used as the startup configuration filefor the 37xx EtherSwitch router. You can find this file in your Images directory and customize if you wish. By default it makesthe following changes:Firstly, routing is disabled. This means that if you wish to use it as a layer 3 switch, you will have to add the command iprouting, just like you would with say a 3750 switch. Switch ports begin at FastEthernet 1/0, so FastEthernet 0/0 and 0/1 areshutdown and should be left shutdown if you want the device to function as a switch. Also, since these switch ports are not ableto detect duplex, they have all been preconfigured with speed 100 and duplex full. One of the most difficult features to get usedto if you are familiar with Catalyst switches are the commands that substitute vlan-switch for the familiar and simple vlan incommands like:show vlan-switch briefThe other annoying fact (if you have an older version of IOS) is that the switch still uses the vlan database style commands,although there are some macros that will get loaded and help you out if your IOS is new enough, such as an exec macro vl thatwill expand to show vlan-switch brief.

    As others have said, it won't do all the things that a modern hardware switch will do, but it will do enough to let you learn the concepts (ifnot the most modern forms of the commands) of: (from http://www.cisco.com/web/learning/exams/list/icnd1b.html#~Topics)

    Make sure you have a default c37xx router image in your list of IOS images1.Click on the "Browse Switches" icon in hte left hand pane2.Drag an "EtherSwitch router" device onto your topology 3.

    Be careful when connecting devices to your switch device - make sure you connect to ports numbered 1/x - DON'T use interface 0/0 or0/1Don't use the "auto connect" feature (by holding when you select the "add-a-link" tool and selecting a connection type)

    If you do use the "auto connect" feature then interfaces 0/0 and 0/1 will be selected on the EtherSwitch Router device

    Identify basic switching concepts and the operation of Cisco switches.Collision DomainsBroadcast DomainsTypes of switchingCAM Table

    Describe how VLANs create logically separate networks and the need for routing between them.Explain network segmentation and basic traffic management concepts

    Configure and verify VLANs

    How to emulate a switch on gns3 - The Cisco Learning Network https://learningnetwork.cisco.com/docs/DOC-13824

    3 of 3 6/23/2014 4:18 PM