Cisco路由器升级IOS

今天把公司里的一台老式Cisco路由器拿出来看了看,还能用,就是IOS的版本有点儿低,而且之前同事装的IOS版本还无法把路由器的所有接口都认出来,于是乎动手重新安装了IOS,我的路由器是2600,新的IOS版本为:c2600-i-mz.123-26,这个IOS是我从网上找的。一般124的都是企业级的路由器,我的这台不是,凑合用吧。

1、首先上网下载一个Cisco TFTP Server,下载回来后解压缩,运行”TFTPServer.exe”,运行了这个程序也就代表着你的这台计算机就是一台TFTP服务器了,依次单击“查看”–“选项”按钮,我基本都是默认设置。这里说明一下“TFTP服务器根目录”,意思就是说我们从交换机或者路由器设备上拷贝回来的文件全部保存在这个目录下,并且这个程序是不能关闭的,要运行着这个程序。

2、使用Console口连接路由器,配置终端进入路由器的操作界面
c2600>enable ——进入配置特权模式
c2600#show flash: ——查看flash下的存储量及文件
System flash directory: ——-系统flash目录
File Length Name/status
1 5415320 c2600-c-mz.122-4.T1.bin ——现在路由器所使用的IOS
[5415384 bytes used, 10837544 available, 16252928 total] ——-flash使用量、剩余量及总存储量
16384K bytes of processor board System flash (Read/Write)

3、配置路由器端口,最好是配置0/0的端口,找一根网线接入路由器的0/0以太网接口。配置IP地址并启用此端口,为什么是0/0接口,而不是其他端口,如果我们升级路由器失败了,我们可以进入路由器的rommon模式,而rommon模式下与网络连接的接口只能是0/0接口
c2600#conf t ——进入全局配置模式
c2600(config)#int f0/0 ——进入路由器的f0/0端口
c2600(config-if)#ip add 10.0.23.112 255.255.255.0 ——-给f0/0端口配置ip地址及子网掩码
c2600(config-if)#no shut ——-启用f0/0接口

4、备份flash中现有的IOS
c2600#copy flash: tftp ——拷贝flash中的文件到tftp服务器中
Source filename []? c2600-c-mz.122-4.T1.bin —–输入要从flash当中拷贝出的文件名
Address or name of remote host []? 10.0.23.4 —–tftp服务器的ip地址,即开启cisco tftp server软件的计算机
Destination filename [c2600-c-mz.122-4.T1.bin]? ——到tftp服务器上的文件保存名称是否为原名,如果不想保存原名就在“?”后,输入自己想要的名称,这里我保持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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!! ——-拷贝进度条
5415320 bytes copied in 48.284 secs (112819 bytes/sec) —–文件拷贝字节数及所耗时间。
此时tftp服务器上也会显示从路由器接收文件的信息,直到“Wed Mar 12 12:32:36 2014: 成功.”出现。

5、此时TFTP Server的根目录下就会出现我们刚刚备份出来的IOS文件,将新的IOS放到该目录下。如图

6、上传新的IOS文件到路由器中
c2600#copy tftp flash: ——拷贝文件从tftp服务器到flash中
Address or name of remote host []? 10.0.23.4 ——tftp服务器的ip地址
Source filename []? c2600-i-mz.123-26.bin ——新IOS的文件名,这里一定要加上后缀名。
Destination filename [c2600-i-mz.123-26.bin]? ——使用原文件名,直接回车即可
Loading c2600-i-mz.123-26.bin from 10.0.23.4 (via FastEthernet0/0):!!!!!!!!!!!! —-tftp服务器通过f0/0接口上传文件
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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show flash:
System flash directory:
File Length Name/status
1 5415320 c2600-c-mz.122-4.T1.bin
2 7754580 c2600-i-mz.123-26.bin
[13170028 bytes used, 3082900 available, 16252928 total]
16384K bytes of processor board System flash (Read/Write)

8、删除原来的IOS文件,使路由器加载新的IOS文件,如果上传新IOS文件时提示“not enough space”,请先执行删除IOS命令,删除后千万不要断开路由器或者重启路由器,上传新的IOS文件后,再重启路由器。
c2600#delete flash: ——-删除flash中的文件
Delete filename []? c2600-c-mz.122-4.T1.bin ——–删除文件名称
Delete flash:c2600-c-mz.122-4.T1.bin? [confirm] ——–确认删除?直接回车即可
c2600#reload ——–重启交换机
System configuration has been modified. Save? [yes/no]: y ——-系统设置被变更,是否保存,y是
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]
Building configuration…
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Proceed with reload? [confirm] ——-执行重启?直接回车即可

01:50:33: %SYS-5-RELOAD: Reload requested
System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
C2600 platform with 32768 Kbytes of main memory

program load complete, entry point:0x80008000, size: 0x765238
Self decompressing the image :#################################################
############################################################################[OK
]

Smart Init is disabled. IOMEM set to: 10

Using iomem percentage: 10

Restricted Rights Legend

Use, duplication, or disclosure by theGovernment 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 SystemSoftware
IOS  C2600 Software (C2600-I-M), Version 12.3(26), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by cisco Systems, Inc.
Compiled Mon 17-Mar-08 15:23 by dchih

cisco 2621 (MPC860) processor (revision0x600) with 29696K/3072K bytes of memory
.
Processor board ID JAD052402RV (3679060894)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
3 FastEthernet/IEEE 802.3 interface(s)
1 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)

Press RETURN to get started!

9、正常进入路由器后,输入show ver显示系统信息。
c2600#show ver
Cisco Internetwork Operating System Software
IOS  C2600 Software (C2600-I-M), Version 12.3(26), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by cisco Systems, Inc.
Compiled Mon 17-Mar-08 15:23 by dchih

ROM: System Bootstrap, Version 12.1(3r)T2,RELEASE SOFTWARE (fc1)

c2600 uptime is 7 minutes
System returned to ROM by reload
System image file is “flash:c2600-i-mz.123-26.bin” ——-查看是否系统使用的是新IOS文件。有点儿废话,没走新的怎么启动的

cisco 2621 (MPC860) processor (revision0x600) with 29696K/3072K bytes of memory
.
Processor board ID JAD052402RV (3679060894)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
3 FastEthernet/IEEE 802.3 interface(s)
1 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

10、接下来我们说一下安装IOS失败后出现的问题及解决方法,我自己总结了以下几点:
10.1、误删除IOS,路由器没有IOS。
10.2、IOS版本不对,不支持路由器。
10.3、路由器安装的IOS造成路由器内存不足。

11、以上几种情况最简单的方法就是进入rommon模式,将路由器断电,将网线插入路由器的f0/0端口与tftp服务器连接,将Console口与tftp服务器进行连接,进入终端,开启路由器电源,在加电的前几秒按“Ctrl+Break”键进入rommon模式,要开启tftp服务器上的tftp server程序。
rommon 1 > set ——显示动态监视器
PS1=rommon ! >
IP_ADDRESS=10.0.23.112
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=10.0.23.254
TFTP_SERVER=10.0.23.4
TFTP_FILE=c2600-i-mz.123-26.bin
BSI=0
RANDOM_NUM=1139268605
RET_2_RTS=
RET_2_RCALTS=
?=0
rommon 2 > IP_ADDRESS=10.0.23.112 ——路由器f0/0接口ip地址,再次提示rommon模式下只认0/0接口,其他接口都无效
rommon 3 > IP_SUBNET_MASK=255.255.255.0 ——–配置子网掩码
rommon 4 > DEFAULT_GATEWAY=10.0.23.254 ——–网关
rommon 5 > TFTP_SERVER=10.0.23.4 ——tftp服务器的ip地址
rommon 6 > TFTP_FILE=c2600-i-mz.123-26.bin ——tftp服务器根目录上的IOS文件
rommon 7 > sync ——-保存设置
rommon 8 > tftpdnld ——-从tftp服务器上下载指定文件

IP_ADDRESS: 10.0.23.112
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 10.0.23.254
TFTP_SERVER: 10.0.23.4
TFTP_FILE: c2600-i-mz.123-26.bin

Invoke this command for disaster recoveryonly.
WARNING: all existing data in all partitions on flash will be lost!
Do you wish to continue? y/n: [n]: y ——输入y直接回车,将会删除flash下的所有文件并且拷贝文件到Flash中

Receiving c2600-i-mz.123-26.bin from10.0.23.4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!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!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File reception completed.
Copying file c2600-i-mz.123-26.bin to flash.
Erasing flash at 0x60fc0000
program flash location 0x60760000
rommon 9 > boot ——-重新启动并加载新的IOS文件
program load complete, entry point: 0x80008000, size: 0x765238
Self decompressing the image : #################################################
############################################################################[OK
]

Smart Init is disabled. IOMEM set to: 10

Using iomem percentage: 10

Restricted Rights Legend

Use, duplication, or disclosure by theGovernment 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 SystemSoftware
IOS  C2600 Software (C2600-I-M), Version 12.3(26), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by cisco Systems, Inc.
Compiled Mon 17-Mar-08 15:23 by dchih

cisco 2621 (MPC860) processor (revision0x600) with 29696K/3072K bytes of memory
.
Processor board ID JAD052402RV (3679060894)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
3 FastEthernet/IEEE 802.3 interface(s)
1 Serial network interface(s)
32K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)

SETUP: new interface Serial0/0 placed in“shutdown” state
SETUP: new interface FastEthernet0/1 placed in “shutdown” state
SETUP: new interface FastEthernet1/0 placed in “shutdown” state
%Error opening tftp://255.255.255.255/network-confg (Timed out)
%Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
%Error opening tftp://255.255.255.255/router-confg (Timed out)
%Error opening tftp://255.255.255.255/ciscortr.cfg (Timed out)

PressRETURN to get started!

最后说明一下,如果升级完成后,发现输入”write”无法保存配置,那么使用erase清空nvram,实际上startup-config保存在nvram存储器中。
Router#erase nvram:
Erasing the nvram filesystem will remove all configuration files! Continue?[con
firm]
[OK]
Erase of nvram: complete

至此Cisco路由器的IOS灌入升级,就完成了,还有一种模式是在rommon模式下用xmodem命令灌入,利用的是console口,使用的是波特率传输,那速度简直是爽爆了,两个多小时才能完成,如果有时间大家可以试试,保准让你的菊花一紧,掉头走人。最后附上Cisco TFTP软件。

时间: 2024-10-23 14:32:41

Cisco路由器升级IOS的相关文章

Cisco交换机升级IOS

Cisco交换机的IOS升级,其实挺简单的,但是需要注意的是,不能让交换机flash存储为空,一定要有一个IOS在,否则没有IOS在flash里面,等着用xmodem上传IOS吧,那样你的时间可以是废了很多啊.因为对于Cisco Catalyst 2950.2960.3550交换机丢失IOS或IOS故障时,是无法使用rommon模式的,因为压根儿就没有,只有Cisco Catalyst 4006.4506才有rommon模式,本篇文章以Cisco Catalyst 2950为例. 1.首先下载T

cisco低端交换机IOS升级失败的处理方法

大家都知道,cisco设备IOS升级是很简单的,就只要搭个ftp或tftp服务器,然后在cisco设备上使用 copy tftp:(或ftp:)flash:(高端设备一般为sup-bootdisk:) 就可以了.并且高端设备升级失败后,即使你删除了原有的IOS,也只需要弄一张flash卡,将IOS直接拷至flash卡,然后插至引擎上带的 flash卡插槽,再设置一下IOS文件位置就可以了.但低端设备没有配置flash插槽,此时怎么办呢?可能大家已经想到使用xmodem方式将IOS 文件拷到设备的

Cisco asa 5510升级IOS和ASDM

asa asa(config)# dir //显示文件目录 copy disk0:/asa707-k8.bin tftp://192.168.1.149/ asa707-k8.bin //将原有IOS文件备份到TFTP服务器上 copy disk0:/asdm507.bin tftp://192.168.1.149/asdm507.bin //将原有asdm文件备份到TFTP服务器上 copy tftp://192.168.1.149/asa803-k8.bin disk0:/asa803-k8

cisco ap 1200 升级IOS或恢复

cisco ap 1200 升级IOS 首先打开cisco tftp工具,然后连接console线,重启进入 :模式, ap: ?看是否支持set命令,一般都支持然后如下配置,和router 上类似配置ip 地址ap: set IP_ADDR 1.1.1.1     (配置ap本地地址)ap: set NETMASK 255.255.255.0ap: set DEFAULT_ROUTER 1.1.1.2 (tftp address)ap: tftp_initap: BOOT=tftp://1.1

CISCO ASA 防火墙 IOS恢复与升级

在IOS被误清除时的处理办法: 1.从tftp上的ios启动防火墙 防火墙启动后 ,按“ESC”键进入监控模式 rommon #2> ADDRESS=192.168.1.116 rommon #3> GATEWAY=192.168.1.1 rommon #4> IMAGE=asa803-k8.bin rommon #5> SERVER=192.168.1.1 rommon #6> sync rommon #7> ping 192.168.1.1 Link is UP S

CCNA学习笔记3---备份和升级IOS

1,备份配置到TFTP 2,从TFTP COPY 到 run 3, 备份IOS 4,升级IOS 5,如果升级失败的解决办法 ◆ 一.备份还原配置 1,保证路由器和电脑(tftp服务器)网络IP可达(直连,同网段) 2,电脑运行tftp软件 3,路由器上设置hostname test1用于验证时看出区别 copy running-config tftp: 4,电脑打开tftp保存路径找到hostname test1名字的文件 5,路由器修改hostname 为test2 6,从tftp服务器上co

Cisco路由器安全配置

CISCO路由器安全配置 一.           路由器访问控制的安全配置 1,严格控制可以访问路由器的管理员.任何一次维护都需要记录备案. 2,对于远程访问路由器,建议使用访问控制列表和高强度的密码控制. 3,严格控制CON端口的访问,给CON口设置高强度的密码.4,如果不使用AUX端口,则禁止这个端口.默认是未被启用.禁止命令为: Router(Config)#line aux 0 Router(Config-line)#transport input none Router(Config

Cisco路由器auto secure命令小结

路由器命令auto secure用起来比较方便,而且可以关闭一些不安全的服务和启用一些安全的服务.这里对这个命令做了一个总结.(注:ios版本为:12.3(1)以上才支持使用) 总结如下:     1.关闭一些全局的不安全服务如下: Finger PAD Small Servers Bootp HTTP service Identification Service CDP NTP Source Routing 2.开启一些全局的安全服务如下: PassWord-encryption servic

CISCO路由器基本配置

CISCO路由器的配置模式 配置模式 提示符 进入命令 说明 用户模式 Route> 用户模式是路由器启动时的缺省模式,提供有限的路由器访问权限,允许执行一些非破坏性的操作,如查看路由器的配置参数,测试路由器的连通性等,但不能对路由器配置做任何改动. 特权模式 Route# enable 特权模式可以使用所有的配置命令,在特权模式下,还可以进入到全局模式. 全局模式 Route(config)# config terminal 是路由器的最高操作模式,可以设置路由器上的运行的硬件和软件的相关参数