|
Loading c3640-i-mz.123-5a.bin from 172.18.6.75 (via Serial0/0:0): !!!!!
Erase flash: before copying? [confirm]
(flash memory存儲空間不夠,系統(tǒng)提示刪除flash中的內(nèi)容)
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased
Erase of flash: complete
Loading c3640-i-mz.123-5a.bin from 172.18.6.75 (via Ethernet0/0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 16183804 bytes]
Verifying checksum... OK (0xA0C0)
16183804 bytes copied in 721.852 secs (22446 bytes/sec)
Router#
升級完成后,采用命令查看當(dāng)前flash memory中的ISO文件。路由器中的ISO文件已經(jīng)替換成c3640-i-mz.123-5a.bin。
重新引導(dǎo)路由器,應(yīng)用新的ISO。
Router#reload
4、注意事項(xiàng)
采用以上方法升級時,通常需要考慮flash Memory的大小,如果flash memory無法存放兩個IOS文件,則系統(tǒng)會提示刪除flash中的文件,然后再上傳最新的ISO文件,在操作過程中,路由器切記不可斷電。
如果flash memory存放了兩個IOS文件,則在完成IOS上傳后,采用在全局配置模式下采用命令:
Router(config)#boot system flash:c3640-i-mz.123-5a.bin
指定用于引導(dǎo)的IOS文件名稱。
IOS升級方法二-通過xmodem進(jìn)行升級
采用xmodem協(xié)議進(jìn)行IOS升級的方式,下載時不需要以太口電纜,只需超級終端即可。采用控制線纜連接路由器的console口與PC機(jī)的COM,使用超級終端軟件訪問路由器,這時不需要對PC和路由器配置任何地址。缺點(diǎn)是花費(fèi)時間太多,速度太慢。一般是在方法一的升級過程中, 由于不小心使用了命令erase flash或升級過程中斷電或其他操作導(dǎo)致路由器升級失敗后,才采用此方式。
1、開關(guān)Cisco路由器的電源,在30秒內(nèi)按下Ctrl+break鍵,中斷路由器的正常啟動,路由器進(jìn)入rom監(jiān)視模式,即 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 [n]: y
Ready to receive file c3640-i-mz.123-5a.bin ...
(此時在超級終端的操作菜單中選擇傳送/發(fā)送文件 ,再選擇Xmodem 協(xié)議并指明IOS映像文件所在的路徑。)
按發(fā)送即開始上傳IOS,此時可監(jiān)控到數(shù)據(jù)傳輸?shù)臓顟B(tài)。
Erasing flash at 0x607c0000
program flash location 0x605b0000
Download Complete!
傳完以后,對整個系統(tǒng)初始化 。
Router>
采用這種方法時,由于使用console口來傳送,速率為9600bps,需要時間較長。因此可修改console口速率利用xmodem命令實(shí)現(xiàn)快速升級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 [n]: y
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
disable "load rom after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
enable "ignore system config info"? y/n [n]: n
change console baud rate? y/n [n]: y
enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400 4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [0]: 7 (采用11520 速率進(jìn)行傳輸) 本新聞共 3頁,當(dāng)前在第 2頁 1 2 3 |
【收藏】【打印】【進(jìn)入論壇】 |
|
|
|
|
|
|
|