工作手册网络工程师交换试验手册之二十五详细讲授利用某来恢复精品

上传人:冯** 文档编号:138705963 上传时间:2020-07-17 格式:DOC 页数:7 大小:29.86KB
返回 下载 相关 举报
工作手册网络工程师交换试验手册之二十五详细讲授利用某来恢复精品_第1页
第1页 / 共7页
工作手册网络工程师交换试验手册之二十五详细讲授利用某来恢复精品_第2页
第2页 / 共7页
工作手册网络工程师交换试验手册之二十五详细讲授利用某来恢复精品_第3页
第3页 / 共7页
工作手册网络工程师交换试验手册之二十五详细讲授利用某来恢复精品_第4页
第4页 / 共7页
工作手册网络工程师交换试验手册之二十五详细讲授利用某来恢复精品_第5页
第5页 / 共7页
点击查看更多>>
资源描述

《工作手册网络工程师交换试验手册之二十五详细讲授利用某来恢复精品》由会员分享,可在线阅读,更多相关《工作手册网络工程师交换试验手册之二十五详细讲授利用某来恢复精品(7页珍藏版)》请在金锄头文库上搜索。

1、网络工程师交换试验手册之二十五:详细讲授利用xmodem来恢复IOS实验目的:我们一般在工作中,经常会遇到IOS莫名其妙的丢失,有时候很突然,有时候很棘手,如果网络因为你的失误而中断,你的责任会很重要,所以大家一定要掌握恢复IOS的方法。实验拓扑:pc 实验步骤:IOS丢失以后,所有的设备都会启动最小启动模式。rommon 1 confreg 回车 Configuration Summary enabled are: load rom after netboot fails console baud: 9600 boot: image specified by the boot system

2、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

3、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/

4、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 romm

5、on 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/

6、n n: y (选择 yes) Ready to receive file . 此时,在超级终端的菜单上的“传送”-“发送文件”-选择IOS镜像文件所在地以及选择使用“xmodem”协议,点击“发送”即可 然后等待10-20分钟左右就把3-6M的IOS灌进去了! 需要主意的是,这是科学估算时间和实际的时间相差很远,实际如果10几M的话要3个多小时。希望大家预备好咖啡和甜品准备漫长的等待,本人深有体会,呵呵! (修改回计算机串口与超级终端、路由器confreg下的xmodem等9600的传输速率) (videre注:实际用的时候,我发现这个命令总是改不成功,后来发现在line con 0下面有了

7、一个speed 115200,所以即使改register成功,启动以后router又执行speed 115200,还是不行,所以如果有这个问题,记得把这个语句no掉)Routeren 进入新IOS的特权模式 Router#reload 重启系统 Proceed with reload? confirm 回车 00:01:04: %SYS-5-RELOAD: Reload requested System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) Copyright (c) 1999 by Cisco Systems, Inc.

8、TAC:Home:SW:IOS:Specials for info PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0 C2600 platform with 24576 Kbytes of main memory PC = 0xfff0a530, Vector = 0x500, SP = 0x80004684 monitor: command boot aborted due to user interrupt rommon 1 confreg ( 输入“confreg”命令) Configuration Summary enabled are:

9、 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: 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 a

10、fter 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,

11、 6 = 57600, 7 = 115200 7: 0 (选择 0,改回用标准速率速率9600的xmodem传输) change the boot characteristics? y/n n: n (选择 no) 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 confi

12、guration? y/n n: n You must reset or power cycle for new config to take effect rommon 2 此时手工改回计算机串口与超级终端2者传输速率为9600 然后敲入 rommon 2 reset ( 最好关电源) 然后关闭这个超级终端,重新建立一个超级终端连接,一切就OK了通过Xmodem升级2610的IOS实例 如果你不小心使用了命令erase flash 那么发生什么就可想而知了。因此,建议在你拿到路由器等网络设备时 最好先将它的IOS等操作系统备份出来,以备万一!本篇主要介绍通过Xmodem上传IOS的过程(以2

13、610为例,不过这个方法用在其他设备上没什么太大区别)准备工作,只要有Cisco原配的线缆就可以(注:Xmodem与实际的modem没有任何联系 只是一个传输协议 数据是通过终端的串口和路由器的Console口灌进去的)在没有IOS的情况下 系统只能进入Rommon状态,在这个状态下只能见到如下命令:rommon 8 ?alias set and display aliases commandboot boot up an external processbreak set/show/clear the breakpointconfreg configuration register util

14、itycont continue executing a downloaded imagecontext display the context of a loaded imagecookie display contents of cookie PROM in hexdev list the device tabledir list files in file systemdis display instruction streamdnld serial download a program moduleframe print out a selected stack framehelp m

15、onitor builtin command helphistory monitor command historymeminfo main memory informationrepeat repeat a monitor commandreset system resetset display the monitor variablesstack produce a stack tracesync write monitor environment to NVRAMsysret print out info from last system returntftpdnld tftp image downloadunalias uns

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 企业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号