国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

Cisco路由器IOS映像恢復(fù)及升級方

2019-11-05 01:02:45
字體:
供稿:網(wǎng)友

由于歷史原因,Cisco公司的路由器產(chǎn)品豐富且繁雜,Cisco路由器的專用操作系統(tǒng)IOS映像也同時存在多個版本,以下就分別針對兩類加載不同版本的IOS映像文件的Cisco路由器做討論。

一、Cisco 1000,1600,2500,4000系列

1、IOS映像恢復(fù)的方法及步驟

1) 連接PC的COM1口與路由器的console口,使用PC的超級終端軟件訪問該路由器;

2) 開啟路由器的電源開關(guān),并在30秒內(nèi)按下鍵盤的Ctrl+break,中斷路由器的正常啟動以進入rom監(jiān)視模式,屏幕上提示符如下:

>

3) 鍵入如下命令:

>o /r 0x2101

改變路由器虛擬寄存器的默認(rèn)值(0x2102);

4) 鍵入重啟命令:

>i

路由器重啟,當(dāng)屏幕顯示以下信息表明路由器重啟完畢:

System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE

Copyright (c) 1986-1995 by cisco Systems

2500 PRocessor with 1024 Kbytes of main memory



Press RETURN to get started!

5) 路由器在虛擬寄存器的值為0x2101時自動進入rom啟動模式:

router(boot)>

6) 此時,將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) 因為Cisco 1000,1600,2500,4000系列路由器不答應(yīng)在正常工作狀態(tài)下重寫flash memory,所以只有進入rom(或bootflash)啟動模式才能升級IOS映像,依次鍵入以下命令:

router#conf t

router(config)#config-register 0x2101

router(config)#exit

router#wr

router#reload

3) 路由器重啟完畢后進入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,中斷路由器的正常啟動以進入rom監(jiān)視模式,屏幕上提示符如下:

rommon 1>

3) 鍵入xmodem命令:

rommon 1>xmodem c3640-i-mz.120-10.bin(IOS映像文件名)

4) 然后,路由器一直等待從PC上接收該IOS映像文件,此時在超級終端軟件中點擊發(fā)送選項,選擇存放在PC本地硬盤中的IOS映像文件,確定后即開始下載文件至路由器的flash memory中,由于通訊帶寬只有9600波特,整個文件下載時間約為1.5小時(依文件大小而定),屏幕顯示信息如下:

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]



Press RETURN to get started!

2、IOS映像升級的方法及步驟

1) 同理,升級之前先備份,將要害文件備份至TFTP服務(wù)器,鍵入下列命令: router#copy bootflash tftp(Cisco 3600系列路由器不存在bootflash)

router#copy flash tftp

router#copy startup-config tftp

2) 因為Cisco 1700,2600,3600,7200系列路由器答應(yīng)在正常工作狀態(tài)下重寫flash memory,所以直接鍵入以下命令就可完成IOS映像的在線升級:

router#copy tftp flash

router#reload

或者,為保險起見(以路由器停止服務(wù)為代價),在進入rom監(jiān)視模式后才進行IOS映像的升級,則依次進行下列操作:

2) 在路由器重啟加電后30秒內(nèi)按下鍵盤的Ctrl+break,中斷路由器的正常啟動直接進入rom監(jiān)視模式,屏幕上提示符如下:

rommon 1>

或者,在路由器重啟過程完成后進行以下操作,同樣可以進入路由器的rom監(jiān)視模式:

router#conf t

router(config)#config-register 0x0

router(config)#exit

router#wr

router#reload

rommon 1>

3) 鍵入以下命令,將IOS映像的升級文件從TFTP服務(wù)器復(fù)制至路由器的flash memory中:

rommon 1>b c3640-i-mz.121-2.T 192.168.18.168

program load complete, entry point: 0x80008000, size: 0x4ed478

Self decompressing the image : ##################################[OK]

Loading c3640-i-mz.121-2.T from 192.168.18.168 (via Ethernet0/0):!!!!!!!!!!!!!!!

[OK - 5166484/10332160 bytes]

4) 還原路由器虛擬寄存器的默認(rèn)值(0x2102),恢復(fù)路由器的正常啟動順序,依次鍵入以下命令:

rommon 1>confreg 0x2102

5) 鍵入重啟命令,使得新配置生效,完成IOS映像的離線升級:

rommon 2>reset



發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 乌审旗| 卢氏县| 上虞市| 兰州市| 齐齐哈尔市| 雷山县| 株洲市| 体育| 海丰县| 花莲县| 桐庐县| 田东县| 吉安市| 诸暨市| 西昌市| 灯塔市| 平安县| 英德市| 宁晋县| 华宁县| 卢湾区| 那坡县| 视频| 山西省| 宝山区| 惠东县| 高陵县| 遂宁市| 米林县| 峨山| 抚宁县| 临潭县| 夏津县| 光山县| 滁州市| 龙门县| 那曲县| 略阳县| 元阳县| 额敏县| 根河市|