快速业务通道

在Centos 5.6下安装 dynamips

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-03

这个文章大部分转网友的作品

环境 : centos 5.6

软件: dynamic.cisco-ios 1: 下载dynamic bin文件 . wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.6-RC4-x86.bin mv dynamips-0.2.6-RC4-x86.bin /usr/local/bin/dynamips chmod x /usr/local/bin/dynamips 2: 安装 需要用到的 libs. wget http://www.mr511.de/software/libelf-0.8.10.tar.gz 编译安装: ./configure --enable-gnu-names make -j7 DEPSHALIBS="-lc" make install cp -r /usr/local/lib/libelf.so.0 /usr/lib/ cp -r /usr/local/lib/libelf-0.8.10.so /usr/lib/ 3:下载 ios文件. 这里我以3640路由做例子: (其他ios 就自己去下了. 根据dynamics版本来看他所支持的ios) wget ftp://wolf:colorwolf5768@ftp.microwolf.net/nettools/ios/c3640-i-mz.122-13.T1.bin wget http://dl.52zy.com:888/IOS/c3640-i-mz.122-13.T1.bin 4:开始启动dynamips,并初始化路由: 用法如下: dynamips -P <需要模拟的路由类型> -p 槽号:模块名 <对应路由的ISO文件名> 路由的类型,目前可以是7200、3600、2691、3725或3745,缺省是7200. -p后面跟的是槽号:模块名,表示那个端口模块插在那个物理槽位(从0开始)中,具体的命令用法请查看官方文档. 下面我们来模拟一台Cisco 3640,其中slot0接了一个快速以太网板,slot1接了一个4端口的E1. dynamips -P 3600 -p:NM-1FE-TX -p 1:NM-4T c3640-i-mz.122-13.T1.bin Cisco 7200 Simulation Platform (version 0.2.6-RC4-x86) Copyright (c) 2005,2006 Christophe Fillot. Build date: Nov 15 2006 23:05:16 IOS image file: c3640-i-mz.122-13.T1.bin CPU0: carved JIT exec zone of 64 Mb into 2048 pages of 32 Kb. NVRAM is empty, setting config register to 0x2142 C3600 instance ''default'' (id 0): VM Status : 0 RAM size : 128 Mb NVRAM size : 128 Kb Chassis : 3640 IOS image : c3640-i-mz.122-13.T1.bin Loading ELF file ''c3640-i-mz.122-13.T1.bin''... ELF entry point: 0x80008000 C3600 ''default'': starting simulation (CPU0 PC=0xffffffffbfc00000), JIT enabled. ROMMON emulation microcode. Launching IOS image at 0x80008000... Self decompressing the image : ################################################# ###################### [OK] Invalid iomem value in ROM (5). Smart-init will now run to compute a valid value iomem percentage may need to be reset manually Smart Init is enabled smart init is sizing iomem ID MEMORY_REQ TYPE 000044 0X0004FE00 Single Port Fast Ethernet 000054 0X0004E480 4T Mueslix Serial 0X000F3BB0 public buffer pools 0X00211000 public particle pools TOTAL: 0X003A2E30 If any of the above Memory Requirements are "UNKNOWN", you may be using an unsupported configuration or there is a software problem and system operation may be compromised. Rounded IOMEM up to: 4Mb. Using 3 percent iomem. [4Mb/128Mb] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号