6) 此時(shí),將TFTP服務(wù)器上的IOS映像文件恢復(fù)至路由器flash memory中,依次鍵入以下命令: router(boot)>en router(boot)#copy tftp flash System flash Directory: No f。CISCO路由器與交換機(jī)口令回復(fù)步驟( 二 )。" />

日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

CISCO路由器與交換機(jī)口令回復(fù)步驟( 二 )


router(boot)>
6) 此時(shí),將TFTP服務(wù)器上的IOS映像文件恢復(fù)至路由器flash memory中,依次鍵入以下命令:
router(boot)>en
router(boot)#copy tftp flash
System flash Directory:
No files in System flash
[0 bytes used, 4194304 available, 4194304 total]
Address or name of remote host [255.255.255.255]?192.168.18.168(IP地址已作技術(shù)處理,下同)
Source file name? igs-i-l.110-22a.bin(IOS映像文件名)
Destination file name [igs-i-l.110-22a.bin]?
Accessing file "igs-i-l.110-22a.bin" on 192.168.18.168...
Loading igs-i-l.110-22a.bin from 192.168.18.168 (via Ethernet0): ! [OK]
Device needs erasure before copying new file
Erase flash device before writing? [confirm]
Copy "igs-i-l.110-22a.bin" from server
as "igs-i-l.110-22a.bin" into Flash WITH erase? [yes/no]y
Erasing device... eeeeeeeeeeeeeeee ...erased
Loading igs-i-l.110-22a.bin from 192.168.18.168 (via Ethernet0): !!!!!!!!!!!!!!!!!!!!(!表示恢復(fù)成功)
7) 還原路由器虛擬寄存器的默認(rèn)值(0x2102),恢復(fù)路由器的正常啟動順序,依次鍵入以下命令:
router(boot)#conf t
router(boot)(config)#config-register 0x2102
router(boot)(config)#exit
router(boot)#wr
router(boot)#reload
2、IOS映像升級的方法及步驟
1) 升級之前先備份,將相關(guān)文件備份至TFTP服務(wù)器,鍵入如下命令:
router#copy bootflash tftp(Cisco 2500系列路由器不存在bootflash,相應(yīng)的是rom)
router#copy flash tftp
router#copy startup-config tftp
2) 因?yàn)镃isco 1000,1600,2500,4000系列路由器不答應(yīng)在正常工作狀態(tài)下重寫flash memory,所以只有進(jìn)入rom(或bootflash)啟動模式才能升級IOS映像,依次鍵入以下命令:
router#conf t
router(config)#config-register 0x2101
router(config)#exit
router#wr
router#reload
3) 路由器重啟完畢后進(jìn)入rom(或bootflash)啟動模式,從TFTP服務(wù)器將新的IOS映像文件拷貝至路由器的flash memory中:
router(boot)#copy tftp flash
4) 還原路由器虛擬寄存器的默認(rèn)值(0x2102),恢復(fù)路由器的正常啟動順序,依次鍵入以下命令:
router(boot)#conf t
router(boot)(config)#config-register 0x2102
router(boot)(config)#exit
router(boot)#wr
router(boot)#reload
二、Cisco 1700,2600,3600,7200系列
1、IOS映像恢復(fù)的方法及步驟
1) 連接PC的COM1口與路由器的console口,使用PC的超級終端軟件訪問該路由器;
2) 開啟路由器的電源開關(guān),并在30秒內(nèi)按下鍵盤的Ctrl break,中斷路由器的正常啟動以進(jìn)入rom監(jiān)視模式,屏幕上提示符如下:
rommon 1>
3) 鍵入xmodem命令:
rommon 1>xmodem c3640-i-mz.120-10.bin(IOS映像文件名)
4) 然后,路由器一直等待從PC上接收該IOS映像文件,此時(shí)在超級終端軟件中點(diǎn)擊發(fā)送選項(xiàng),選擇存放在PC本地硬盤中的IOS映像文件,確定后即開始下載文件至路由器的flash memory中,由于通訊帶寬只有9600波特,整個(gè)文件下載時(shí)間約為1.5小時(shí)(依文件大小而定),屏幕顯示信息如下:
Do not start;the sending program yet...
device does not contain a valid magic number
dir: cannot open device flash:
WARNING: All existing data in flash 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.120-10.bin ...
Erasing flash at 0x307c0000
program flash location 0x30380000
Download Complete!
program load complete, entry point: 0x80008000, size: 0x38f410
5) 接著,路由器將自動重啟,屏幕顯示信息如下:
Self decompressing the image : ################################# [OK]

推薦閱讀