设为首页收藏本站language 语言切换
查看: 5124|回复: 3
收起左侧

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

[复制链接]
发表于 2013-4-11 02:50:20 | 显示全部楼层 |阅读模式
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[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 = /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)[127.0.0.1:7200];
这几点。


        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
好贴,绝对要支持下!!~~

我是在gns论坛里面看到 就贴过来。呵呵
沙发 2013-4-19 13:03:41 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-5-2 09:29:36 | 显示全部楼层
解决了,谢谢楼主!
板凳 2013-5-2 09:29:36 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-7-19 19:19:19 | 显示全部楼层
问题完美解决,好贴!!!!!
地板 2014-7-19 19:19:19 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-23 18:52 , Processed in 0.078172 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表