Cisco 路由器IOS 映像恢复及升级方法 一、Cisco 1000,1600,2500,4000 系列 1、IOS 映像恢复的方法及步骤 1) 连接PC 的COM1 口与路由器的console 口,使用PC 的超级终端软件访问该路由器; 2) 开启路由器的电源开关,并在30 秒内按下键盘的Ctrl+break,中断路由器的正常启动以进入rom 监视模式,屏幕上提示符如下: > 3) 键入如下命令: >o /r 0x2101 改变路由器虚拟寄存器的默认值(0x2102); 4) 键入重启命令: >i 路由器重启,当屏幕显示以下信息表明路由器重启完毕: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE Copyright (c) 1986-1995 by cisco Systems 2500 processor with 1024 Kbytes of main memory … Press RETURN to get started! 5) 路由器在虚拟寄存器的值为 0x2101 时自动进入rom 启动模式: router(boot)> 6) 此时,将 TFTP 服务器上的IOS 映像文件恢复至路由器flash memory中,依次键入以下命令: router(boot)>en router(boot)#copy tftp flash System flash directory: No files in System flash [0 bytes used, 4194304 available, 4194304 total] Address or name of remote host [255.255.255.255]?192.168.18.168(IP 地址已作技术处理,下同) Source file name? igs-i-l.110-22a.bin(IOS 映像文件名) Destination file name [igs-i-l.110-22a.bin]? Accessing file 'igs-i-l.110-22a.bin' on 192.168.18.168... Loading igs-i-l.110-22a.bin from 192.168.18.168 (via Ethernet0): ! [OK] Device needs erasure before copying new file Erase flash device before writing? [confirm] Copy 'igs-i-l.110-22a.bin' from server as 'igs-i-l.110-22a.bin' into Flash WITH erase? [yes/no]y Erasing device... eeeeeeeeeeeeeeee ...erased Loading igs-i-l.110-22a.bin from 192.168.18.168 (via Ethernet0): (!表示恢复成功) 7) 还原路由器虚拟寄存器的默认值(0x2102),恢复路由器的正常启动顺序,依次键入以下命令: router(boot)#conf t router(boot)(config)#config-register 0x2102 router(boot)(config)#exit router(boot)#wr router(boot)#reload 2、IOS 映像升级的方法及步骤 1) 升级之前先备份,将相关文件备份至 TF...