古丁高手 发表于 2013-4-11 02:50:20

关于203-Bad number of parameters (1 with min/max=2/2)解决方法

203-Bad number of parameters (1 with min/max=2/2)                                                Written by Rene Molenaar on 13 July 2011. 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    workingdir = C:\DOCUME~1\VMWare\LOCALS~1\Temp    udp = 10000    []      image = C:\Documents and Settings\VMWare\Desktop\C3640-JK.BIN      ghostios = True      chassis = 3640    []      model = 3640      console = 2003      cnfg = configs\R1.cfg      x = -100.0      y = -56.0    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    workingdir = /tmp    udp = 10000    []      image = /Data/IOS Images/c3640-jk9s-mz.124-16.bin      idlepc = 0x6059c528      ghostios = True      chassis = 3640    []      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    configs = EIGRP Beginner_configs    m11 = 1.41421356237    m22 = 1.41421356237    []      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: New Project: EIGRP Beginner: workingdir = /tmpNew Project: workingdir = C:\DOCUME~1\VMWare\LOCALS~1\TempEIGRP Beginner: image = /Data/IOS Images/c3640-jk9s-mz.124-16.binNew 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:


简单来说就是解决方法:
1、先打开一个新的工程,拉一个router过去随便配置hostname或者loop口地址。write memery保存。保存工程。
2、用记事本打开两个.NET文件,第一个.NET文件就是你刚刚保存的那个工程里面的.NET,第二个.NET文件就是你需要打开但是提示本文题目的告警的.NET文件。然后比较你两个文件的几点重要因素是否一样,一般都是这几点不同导致产生这个问题。
1)workingdir=;
2)image =;
3);
这几点。


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

古丁高手 发表于 2013-4-19 13:03:41

卢恩骑士 发表于 2013-4-19 12:56 static/image/common/back.gif
好贴,绝对要支持下!!~~

我是在gns论坛里面看到 就贴过来。呵呵

贝少芬 发表于 2013-5-2 09:29:36

解决了,谢谢楼主!

蒋戎 发表于 2014-7-19 19:19:19

问题完美解决,好贴!!!!!{:6_267:}
页: [1]
查看完整版本: 关于203-Bad number of parameters (1 with min/max=2/2)解决方法