- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Cisco 设备 IOS 的两种恢复方法
一般 cisco 的交换机或者路由器在 FLAHS 损害或者误删 IOS
的情况下,需要使用到 IOS 的恢复功能,对于思科的设备来说,主
要分为路由器和交换机,目前来说不论对于交换机还是路由器, IOS
的恢复方法主要有以下 2 种,第一种是基于串口自带的 x-modem 传送 IOS 到交换机或者路由器;第二种是基于 tftp 服务器传送 IOS 到交换机或者路由器,以上这 2 种方法的前提是需要进入路由器和交换机的 ROMMON 模式进行一些参数的配置, 进入 ROMMON 的方法和之前的路由器交换机的密码恢复的方式一样, 下面就 2 种方法分别介绍
第一种方法: X-Modem
先打开超级终端,进入 rommon 模式( Ctrl+Break 组合键),键
入 confreg, 如下:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~
rommon 1 confreg 回车
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C2600
do you wish to change the configuration? y/n [n]: y (
选择
yes)
enable diagnostic mode? y/n [n]: n (
选择
no)
enable use net in IP bcast address? y/n [n]: n (
选择
no)
disable load rom after netboot fails? y/n [n]: n (
选择
no)
enable use all zero broadcast? y/n [n]: n (
选择
no)
enable break/abort has effect? y/n [n]: n (
选择
no)
enable ignore system config info? y/n [n]: n (
选择
no)
change console baud rate? y/n [n]: y ( 选择 yes)
enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (
选择
7,
用最大
的
115200
速率的
xmodem
传输 )
change the boot characteristics? y/n [n]: n (
选择
no)
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 115200
boot: image specified by the boot system commands
or default to: cisco2-C2600
do you wish to change the configuration? y/n [n]: n ( 选择
no)
You must reset or power cycle for new config to take effect
rommon 2 reset 回车
【注意】在此时键入 reset 键之前,开始定义串口速度(我的电
脑--- 端口属性 ---- 串口速度调为 115200 ),然后再修改超级终端里
设置速率为 115200 ,记住,一定这么做!否则出现乱码! 然后关
闭这个超级终端, 重新建立一个超级终端连接,(期间系统重新启动)
启动后,出现 rommon 1 提示符然后 ,输入
rommon 1 xmodem -r
Do not start the sending program yet...
Invoke this application only for disaster recovery.
Do you wish to continue? y/n [n]: y ( 选择 yes)
Ready to receive file ...
此时,在超级终端的菜单上的 “传送 ”--- “发送文件 ”---- 选择 IOS
镜像文件所在地以及选择使用 “xmodem ”协议,点击 “发送 ”即可然
文档评论(0)