linux cisco路由器,Linux认证:Linux用dynamic模拟cisco路由器
环境 : centos5.2
软件: 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
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
4:开始启动dynamips,并初始化路由:
用法如下:
dynamips -P -p 槽号:模块名
路由的类型,目前可以是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 sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS (tm) 3600 Software (C3640-I-M), Version 12.2(13)T1, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 1986-2003 by cisco Systems, Inc.
Compiled Fri 03-Jan-03 15:10 by ccai
Image text-base: 0x60008930, data-base: 0x60C1A000
cisco 3640 (R4700) processor (revision 0xFF) with 126976K/4096K bytes of memory.
Processor board ID 00000000
R4700 CPU at 100Mhz, Implementation 33, Rev 1.2
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
4 Serial network interface(s)
DRAM configuration is 64 bits wide with parity enabled.
125K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write) --- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: y
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system
Would you like to enter basic management setup? [yes/no]: n
First, would you like to see the current interface summary? [yes]: y
Any interface listed with OK? value "NO" does not have a valid configuration
Interface IP-Address OK? Method Status Prot ocol
FastEthernet0/0 unassigned NO unset up up
Serial1/0 unassigned NO unset up down
Serial1/1 unassigned NO unset up down
Serial1/2 unassigned NO unset up down
Serial1/3 unassigned NO unset up down
Configuring global parameters:
Configuring global parameters:
Enter host name [Router]: croutera3640
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: aaa
The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot images.
Enter enable password: aaa1
The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: aaa2
Configure SNMP Network Management? [yes]: n
Configure IP? [yes]: y
Configure IGRP routing? [yes]: n
Configure RIP routing? [no]: n
Configure bridging? [no]: n
Async lines accept incoming modems calls. If you will have
users dialing in via modems, configure these lines.
Configure Async lines? [yes]: n
Configuring interface parameters:
Do you want to configure FastEthernet0/0 interface? [yes]: y
Use the 100 Base-TX (RJ-45) connector? [yes]: y
Operate in full-duplex mode? [no]: y
Configure IP on this interface? [yes]: 216.16.16.77
% Please answer 'yes' or 'no'.
Configure IP on this interface? [yes]: y
IP address for this interface: 216.16.16.77
Subnet mask for this interface [255.255.255.0] : 255.255.255.0
Class C network is 216.16.16.0, 24 subnet bits; mask is /24
Do you want to configure Serial1/0 interface? [yes]: y
Configure IP on this interface? [yes]: y
Configure IP unnumbered on this interface? [no]: n
IP address for this interface: 172.16.0.5
Subnet mask for this interface [255.255.0.0] : 255.255.255.252
Class B network is 172.16.0.0, 30 subnet bits; mask is /30
Do you want to configure Serial1/1 interface? [yes]: n
Do you want to configure Serial1/2 interface? [yes]: n
Do you want to configure Serial1/3 interface? [yes]: n
The following configuration command script was created:
hostname croutera3640
enable secret 5 $1$23Hu$R4Fvrz7dFHw.sJesE4kww.
enable password aaa1
line vty 0 4
password aaa2
no snmp-server
!
ip routing
no bridge 1
!
interface FastEthernet0/0
media-type 100BaseX
full-duplex
Linux认证:Linux用dynamic模拟cisco路由器.doc
下载Word文档到电脑,方便收藏和打印[全文共3802字]
编辑推荐:
下载Word文档
linux cisco路由器,Linux认证:Linux用dynamic模拟cisco路由器相关推荐
- Linux上装vscode需要认证,linux系统安装vscode方法 ubuntu等系统上部署VisualStudioCode
Debian和Ubuntu 为基于Debian / Ubuntu的发行版安装Visual Studio代码的最简单方法是下载并安装.deb软件包(64位).下载地址:https://code.visu ...
- 路由器FCC认证办理周期是多久
**路由器FCC认证办理周期是多久?**路由器就是通过带宽聚合技术,可以聚合多条通信链路,即将多张数据卡的数据流量聚合成一起,拓宽网络通道,即可提供高带宽高稳定的网络.不过,一般这种产品要出口美国则必 ...
- linux怎么验证tacacs认证,使用TACACS(Cisco ACS)验证Linux sshd
假设 >我们正在从pam_tacplus library的v1.3.7编译pam_tacplus.so > Cisco ACS服务器为192.0.2.27,秘密tacacs密钥为d0ntt ...
- 鸟哥的Linux私房菜(服务器)- 第八章、路由观念与路由器设定
第八章.路由观念与路由器设定 最近更新日期:2011/07/22 如果说 IP 是门牌,那么邮差如何走到你家就是『路由』的功能啦!局域网络如果想成是条巷子,那么路由器就是那间巷子内的邮局! 其实本章应 ...
- linux禁止路由器,FCC 新规可能禁止在 WiFi 路由器安装 OpenWRT
FCC(美国联邦通讯委员会)的新规则可能会禁止在 WiFi 路由器安装 OpenWRT. OpenWrt 类似于 Buildroot 的路由器固件,为嵌入式设备所研发的 Linux 发行版.目前 Op ...
- linux网线连接树莓派,3、树莓派使用网线连接路由器获取网络的讲解
3.树莓派使用网线连接路由器获取网络 文章目录 3.树莓派使用网线连接路由器获取网络 2.4通电 2.5 使用VNC启动操作系统 如果有管理员密码,可以通过路由器的管理员密码查看树莓派ip 使用路由器 ...
- linux系统资格认证,Linux资格认证:Linux操作系统的运行级别
Linux操作系统自从开始启动至启动完毕需要经历几个不同的阶段,这几个阶段就叫做runlevel,同样,当Linux操作系统关闭时也要经历另外几个不同的runlevel,下面我们就准备详细介绍一下ru ...
- 远程LInux和秘钥认证
一.使用putty和xshell远程Linux主机 putty和xshell都是一个能远程连接linux系统的终端工具,使用终端工具便于远程维护操作复制粘贴内容,xshell还支持用户密码保存及多窗口 ...
- 《Linux就该这么学》培训笔记_ch00_认识Linux系统和红帽认证
<Linux就该这么学>培训笔记_ch00_认识Linux系统和红帽认证 文章最后会post上书本的笔记照片. 文章主要内容: 认识开源 Linux系统的种类及优势特性 认识红帽系统及红帽 ...
最新文章
- Vue.js 跟踪对象新增属性
- [Hadoop in China 2011] 何鹏:Hadoop在海量网页搜索中应用分析
- Java填坑系列之SparseArray
- python wxpython backend wxagg_[宜配屋]听图阁
- Spring-data-redis入门
- 告别Kafka Stream,让轻量级流处理更加简单
- 阿里云服务器端口开放对外访问权限
- 8 种有趣的用于 Web 品牌的动物
- phpexcel常见问题的解决办法
- 华为云企业级Redis:集群搭载多DB,多租隔离更降本
- java中的final的使用
- install numpy for arm64
- 2018-2019-1 20189213《Linux内核原理与分析》第五周作业
- Centos7 Kubernetes(k8s) 开发服务器(单服务器)部署 elasticsearch 搜索引擎
- Atitit 跨平台跨语言图像处理与node.js图像处理之道 attilax著 1. 著名跨语言类库 ImageMagick简介、GraphicsMagick、命令行	1 1.1. opencv
- t450加固态硬盘教程_Thinkpad t450s拆机换240G ssd+加8G内存
- Laravel框架壁纸图库图片上传下载程序源码
- C语言运算符优先级列表(超详细)
- js 实现浏览器下载视频
- 耀之阳电商:店铺运营的注意事项事项
热门文章
- MySQL运行出错:Could not acquire management access for administration
- 盘点不常用却很有用的代码 ,欢迎大家留言
- 李弘毅机器学习笔记:第十一章—Keras Demo
- CUDA 10.1 发布;第 15 届谷歌编程夏令营导师机构公布
- 简单有效,如何彻底卸载删除AlibabaProtect.exe
- ES6 (二十二)Class 的继承、extends关键字、super 关键字(函数调用(constructor)、对象(父类原型对象))、原型对象(原型链)、Mixin 模式
- 前端开发免费资源分享
- 个人思考-关于“技多不压身”
- 华为去东莞,小米去武汉,这些富可敌国的巨头也在逃离高房价?
- 【100个 Unity实用技能】☀️ | Unity 将秒数转化为00:00:00时间格式