則出現(xiàn)亂碼! 然后關閉這個超級終端,重新建立一個超級終端連接,(期間系統(tǒng)重新啟動)啟動后,出現(xiàn)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 ...
此時,在超級終端的菜單上的“傳送”---“發(fā)送文件”----選擇IOS鏡像文件所在地以及選擇使用“xmodem”協(xié)議,點擊“發(fā)送”即可然后等待10-20分鐘左右就把3-6M的IOS灌進去了
。ㄐ薷幕赜嬎銠C串口與超級終端、路由器confreg下的xmodem 等9600的傳輸速率)
。╲idere注:實際用的時候,我發(fā)現(xiàn)這個命令總是改不成功,后來發(fā)現(xiàn)在line con 0下面有了一個speed 115200,所以即使改register成功,啟動以后router又執(zhí)行speed 115200,還是不行,所以如果有這個問題,記得把這個語句no掉)
Router>en 進入新IOS的特權(quán)模式
Router#reload 重啟系統(tǒng)
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.
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:
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 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 [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 configuration? y/n [n]: n
You must reset or power cycle for new config to take effect
rommon 2 >
此時手工改回計算機串口與超級終端2者傳輸速率為9600,然后敲入rommon 2 >reset(最好關電源)他的方法有兩個地方和我的不一樣,首先是他在啟動后進入了rommon模式,其次是他修改了串口的速率,這樣就比我快的多了。
第二種方法:TFTP
本來在用X-Modem之前嘗試用TFTP的方法來恢復,但是都沒有成功,就以為TFTP方法行不同。但后來在網(wǎng)上看到,其實TFTP也是可以用的,而且效率可能更高。下面是別人恢復的方法,可惜我沒實踐過,因為我沒有進入過rommon模式: |