Master CCNA

How to Master CCNA Ebook

 

 Start your networking career and Master CCNA

Master CCNP SWITCH

How to master CCNP SWITCH ebook

 

 Become a switching guru and Master CCNP SWITCH

Master CCNP ROUTE

How to master CCNP ROUTE Ebook

 

 Dominate routing protocols and Master CCNP ROUTE

Master CCNP TSHOOT

How to Master CCNP TSHOOT

 

 Complete your CCNP R&S journey and Master CCNP TSHOOT

Print

203-Bad number of parameters (1 with min/max=2/2)

Written by Rene Molenaar on . Posted in FAQ

I received a couple of messages from people who had trouble loading some of the labs I built in GNS3, this is the error they reported:

203-Bad number of parameters (1 with min/max=2/2)

Fortunately it's easy to fix if you doing what you are doing.

First you have to create a new project in GNS3, just click and drag a single router and boot it. Configure a hostname or a loopback or something and type write memory in the console. Now go to GNS3 and click on file and save project as, don't forget to click on the save IOS startup configurations. Close GNS3 and open your topology .NET file in wordpad. it will look pretty much the same as my example:

autostart = False
[127.0.0.1:7200]
    workingdir = C:\DOCUME~1\VMWare\LOCALS~1\Temp
    udp = 10000
    [[3640]]
        image = C:\Documents and Settings\VMWare\Desktop\C3640-JK.BIN
        ghostios = True
        chassis = 3640
    [[ROUTER R1]]
        model = 3640
        console = 2003
        cnfg = configs\R1.cfg
        x = -100.0
        y = -56.0
[GNS3-DATA]
    configs = configs

Now open up my topology file in wordpad, as an example I took the EIGRP Beginner lab i created sometime ago. It's not the entire file just a part of it:

autostart = False
[localhost:7200]
    workingdir = /tmp
    udp = 10000
    [[3640]]
        image = /Data/IOS Images/c3640-jk9s-mz.124-16.bin
        idlepc = 0x6059c528
        ghostios = True
        chassis = 3640
    [[ROUTER R1]]
        model = 3640
        console = 2001
        slot0 = NM-1FE-TX
        f0/0 = R2 f0/0
        slot1 = NM-1FE-TX
        f1/0 = R3 f0/0
        x = -355.0
        y = -225.0
[GNS3-DATA]
    configs = EIGRP Beginner_configs
    m11 = 1.41421356237
    m22 = 1.41421356237
    [[NOTE 1]]
        text = Y
        x = -479.418397644
        y = 7.79898987322
        color = "#1a1a1a"

Do you see the difference? The localhost might be different, it's probably 127.0.0.1 in your topology file. The workingdir is different for sure and so is the image location.

Let me compare them:

EIGRP Beginner: [localhost:7200]

New Project: [127.0.0.1:7200]

EIGRP Beginner: workingdir = /tmp

New Project: workingdir = C:\DOCUME~1\VMWare\LOCALS~1\Temp

EIGRP Beginner: image = /Data/IOS Images/c3640-jk9s-mz.124-16.bin

New Project: image = C:\Documents and Settings\VMWare\Desktop\C3640-JK.BIN

And you might have to check the configs directory structure. I'm also probably using another idlepc value so it's good to copy yours in the topology file.

So how to fix it? Easy! Just copy and paste your information in my topology file and save it. Open it in GNS3 and voila.......a working lab!

If you want a real life example just watch this video I created:

You need to a flashplayer enabled browser to view this YouTube video

If you have any questions or think this is useful please let me know by leaving a comment.

Only registered users can write comments!

Comments (16)

  • avatar
    yas59

    It works, Great!.

    Only issue is the hostname is not replace, we see 2 hostname's in topology

  • avatar
    cysag

    hi all
    can someone help please? I am trying to open the lab sim but keep getting this error mssg in gns3 ?
    I have downloaded the right ios image.

    thx

  • avatar
    ReneMolenaar

    Hi Cysag,

    Did you get this resolved? 90% of the GNS3 errors are related to filenames, foldernames and/or IOS images.

    Can you run your own topologies? Did you try editing the .NET topology file to see if it makes any difference?

    Rene

  • avatar
    sebi

    It Works!

    Thanks!

  • avatar
    kh573g

    Rene ,

    That solved my prob to load the configs , Thanks a bunch !!!

  • avatar
    ramverma150

    Hi rene,

    how to download IOS c3640-jk9s-mz.124-16.bin

  • avatar
    Mikeb

    Rene:
    When using someone else's .NET file here's a little tip I use.
    Edit the "workingdir =" and don't put a destination path. Just put "workingdir=working". Also, in the GNS3 Data section put "workingdir=working" and "configs=configs". Don't put a path, . If there is a path in either line change it to "working" or "configs". When you do both of these and save to a Project directory GNS3 will create a directory with your Project name and two subdirectories:
    "working" and "configs". If you ever want to look at the working directory you know it always in the Project you named.
    Regards,
    Mike

  • avatar
    vmnair

    Installed GNS3 successfully,Able to bring routers,possible to switch on routers. But for config console is hanging and not opening? suggest a solution,Pl.

  • avatar
    KT

    Did u get GNS working?

  • avatar
    amityadav6100

    Rene you are genius man ... wonderful site for students.
    god bless you

  • avatar
    justvistin

    Fantastic GNS3 ***finally** working. :-)

  • avatar
    angelsor

    I dont know if this is the correct place to ask about GNS3. When I open GNS3 and add 2 or more routers (2600 series for example), CPU goes to 100% and the memory too!! GNS3 freeze and my laptop has a low response.

    Intel CPU (2 Core) U4100 (1.30 GHz)
    8 GB RAM
    64 bits
    500GB Hard Drive (190GB Free)
    Windows 7 Professional

    Do you have a suggestion for this issue? Some time is impossible work with GNS3

    Thanks in advance!

  • avatar
    shaikh

    how to download topology from this site please help me

feedback