Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1119818
  • 博文数量: 168
  • 博客积分: 4445
  • 博客等级: 上校
  • 技术积分: 1307
  • 用 户 组: 普通用户
  • 注册时间: 2005-11-02 14:04
文章分类

全部博文(168)

文章存档

2018年(2)

2017年(5)

2016年(7)

2015年(1)

2014年(8)

2013年(1)

2012年(4)

2011年(54)

2010年(8)

2009年(19)

2008年(18)

2007年(36)

2006年(1)

2005年(4)

分类: 系统运维

2011-08-19 16:21:32

两台思科路由器互相升级IOS过程

我的连接方式是两台路由器是通过E0口连接的,我先是在好的路由器上面(cisocA)把E0口配置好IP是192.168.10.90(IP地址随便配置,只要两个E0口都能互相PING通就行)再到配置模式下面输入 tftp-server c2500-js-l.122-7a.bin(这是你好的IOS里面的IOS文件名,用show version 来查看你的IOS文件名

这台A己经配置好了以后,再到B这台来配置,首先让这台启动到BOOT模式,在全局配置模式下面输入config-register 0x2101 再重启路由器,启动到BOOT模式以后,同样配置你的E口,到了BOOT模式以后,输入copy tftp flash ,提示你输入TFTP服务器,再输入文件名,就可以了.

具体操作步骤如下:

cisocA#conf t

cisocA(config)#tftp-server c2500-js-l.122-7a.bin

cisocA(config)#int e0

cisocA(config-if)#ip add 192.168.10.90 255.255.255.0

cisocA(config-if)#no shut

ciscoB#conf t

ciscoB(config)#config-register 0x2101

ciscoB(config)#end

ciscoB#reload

System configuration has been modified. Save? [yes/no]: y

ciscoB(boot)>enable

ciscoB(boot)#conf terminal

ciscoB(boot)(config)#int e0
ciscoB(boot)(config-if)#ip add 192.168.10.80 255.255.255.0
ciscoB(boot)(config-if)#no shut

ciscoB(boot)(config-if)#end

ciscoB(boot)#erase flash

System flash directory:
File Length Name/status
1 15533612 c2500-js-l.122-7a.bin
[15533676 bytes used, 1243540 available, 16777216 total]

Erase flash device? [confirm]
Are you sure? [yes/no]: y

Address or name of remote host [192.168.10.80]? 192.168.10.90

Source file name? c2500-js-l.122-7a.bin
Destination file name [c2500-js-l.122-7a.bin]?

Erase flash device before writing? [confirm](回车)

Copy 'c2500-js-l.122-7a.bin' from server
as 'c2500-js-l.122-7a.bin' into Flash WITH erase? [yes/no]y

输入Y以后,程序就自动COPY IOS,等成功以后,你再如下配置

ciscoB(config)#config-register 0x2102

ciscoB(config)#reload

步骤就完成了

阅读(943) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~