欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

恢复Cisco3640的IOS

发布时间:2025/6/15 编程问答 38 豆豆
生活随笔 收集整理的这篇文章主要介绍了 恢复Cisco3640的IOS 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

 1、开关Cisco路由器的电源,在30秒内按下Ctrl+break键,中断路由器的正常启动,路由器进入rom监视模式,即 rommon 1>; 

  2、输入Xmodem命令 

  rommon 1 > xmodem –r c3640-i-mz.123-5a.bin 

  (c3640-i-mz.123-5a.bin为新的IOS映像文件) 

  WARNING: All existing data in bootflash will be lost! 

  Invoke this application only for disaster recovery. 

  Do you wish to continue? y/n : y 

  Ready to receive file c3640-i-mz.123-5a.bin ... 

  (此时在超级终端的操作菜单中选择传送/发送文件 ,再选择Xmodem 协议并指明IOS映像文件所在的路径。) 

  按发送即开始上传IOS,此时可监控到数据传输的状态。 

  Erasing flash at 0x607c0000 

  program flash location 0x605b0000 

  Download Complete! 

  传完以后,对整个系统初始化 。 

  Router> 

  采用这种方法时,由于使用console口来传送,速率为9600bps,需要时间较长。因此可修改console口速率利用xmodem命令实现快速升级IOS。 

  rommon 1 > confreg 回车 

  Configuration Summary enabled are: 

  load rom after netboot fails 

  console baud: 9600 

  do you wish to change the configuration? y/n : y 

  enable "diagnostic mode"? y/n : n 

  enable "use net in IP bcast address"? y/n : n 

  disable "load rom after netboot fails"? y/n : n 

  enable "use all zero broadcast"? y/n : n 

  enable "break/abort has effect"? y/n : n 

  enable "ignore system config info"? y/n : n 

  change console baud rate? y/n : y 

  enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400 4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (采用11520 速率进行传输) 

  change the boot characteristics? y/n : n 

  Configuration Summary 

  enabled are: 

  console baud: 115200 

  boot: p_w_picpath specified by the boot system commands or default to: cisco3640 

  do you wish to change the configuration? y/n : n 

  You must reset or power cycle for new config to take effect 

  rommon 2 > reset 

  注意:系统reset后,修改超级终端里com口的通讯速率为115200,重新启动路由器,出现 rommon 1> 提示符 即可通过xmodem命令下载IOS文件。 待升级完成后,修改回计算机串口与超级终端的波特率、路由器confreg下的xmodem等传输速率为9600bps

转载于:https://blog.51cto.com/ywlxz/1944762

总结

以上是生活随笔为你收集整理的恢复Cisco3640的IOS的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。