| 路由器(Router)是連接兩個(gè)或多個(gè)網(wǎng)絡(luò)的硬件設(shè)備,在網(wǎng)絡(luò)間起網(wǎng)關(guān)的作用,是讀取每一個(gè)數(shù)據(jù)包中的地址然后決定如何傳送的專用智能性的網(wǎng)絡(luò)設(shè)備,路由器最主要的功能為實(shí)現(xiàn)信息的轉(zhuǎn)送。 由于現(xiàn)有的4507 ios存在bug,現(xiàn)通過升級(jí)ios來修復(fù)。
升級(jí)前IOS版本信息:cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin
升級(jí)后IOS版本信息:cat4500e-universal.SPA.03.08.10.E.152-4.E10.bin
由于IOS版本比較新,對(duì)應(yīng)的ROM也需要升級(jí)。
升級(jí)前ROM版本信息:cat4500-e-ios-promupgrade-150-1r-SG5
升級(jí)后ROM版本信息:cat4500-e-ios-promupgrade-150-1r-SG10
1.設(shè)備運(yùn)行狀態(tài)檢查
通過設(shè)備運(yùn)行狀態(tài)檢查命令,記錄設(shè)備運(yùn)行現(xiàn)狀,以備升級(jí)前后對(duì)比
show version
show bootvar
show cdp neighbors
show interfaces status
show ip interfaces brief
show etherchannel summary
show processes cpu | ex 0.00
show processes memory | in sed
show module
show environment status
show logging
show run
2.備份配置
原設(shè)備配置備份包括兩部分,IOS軟件和設(shè)備配置。
將IOS導(dǎo)出到固定的外部存儲(chǔ)介質(zhì),已完成。
將運(yùn)行配置導(dǎo)出到固定的外部存儲(chǔ)介質(zhì):
WL-4507#copy running-config: tftp:
Address or name of remote host []? 192.168.2.55
Source filename []?172.17.10.2_WL-4507.log
Destination filename [172.17.10.2_WL-4507.log]?
3.引擎容量和寄存值檢查
WL-4507# show version
……
Configuration register is 0x2102
4.將新的IOS和ROM文件上傳至引擎
WL-4507#copy tftp: bootflash:
Address or name of remote host []? 192.168.2.55
Source filename []?cat4500e-universal.SPA.03.08.10.E.152-4.E10.bin
Destination filename [cat4500e-universal.SPA.03.08.10.E.152-4.E10.bin]?
WL-4507#copy tftp: bootflash:
Address or name of remote host []? 192.168.2.55
Source filename []?cat4500-e-ios-promupgrade-150-1r-SG10
Destination filename [cat4500-e-ios-promupgrade-150-1r-SG10]?
5.配置并檢查設(shè)備啟動(dòng)參數(shù)
WL-4507#conf t
WL-4507(config)#no boot system bootflash:cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin
WL-4507(config)#boot system flash bootflash:cat4500-e-ios-promupgrade-150-1r-SG10
WL-4507(config)#boot system flash bootflash:cat4500e-universal.SPA.03.08.10.E.152-4.E10.bin
WL-4507(config)#config-register 0x2102
WL-4507#write
WL-4507#show bootvar
6.重啟
確定bootvar和寄存器值沒有問題后,重新啟動(dòng)。
WL-4507# reload
手動(dòng)重啟后設(shè)備會(huì)先升級(jí)ROM,ROM升級(jí)完成第二次自動(dòng)重啟,第二次自動(dòng)重啟時(shí)會(huì)把ROM再升級(jí)一遍,再加載新IOS,最后進(jìn)入系統(tǒng)。
重啟時(shí)間大概10分鐘左右。
7.升級(jí)后的檢查
WL-4507# show version
WL-4507#conf t
WL-4507(config)#no boot system flash bootflash: cat4500-e-ios-promupgrade-150-1r-SG10
WL-4507# show bootvar
WL-4507#write
將檢查命令再次檢查一遍。
使用對(duì)比工具對(duì)比升級(jí)前后的配置文件,查看是否有配置丟失或者改動(dòng)的地方。
至此,升級(jí)完成!
附:回退實(shí)施步驟
修改啟動(dòng)引導(dǎo)參數(shù)
WL-4507(config)#no boot system flash bootflash: cat4500e-universal.SPA.03.08.10.E.152-4.E10.bin
WL-4507(config)#boot system flash bootflash: cat4500-e-ios-promupgrade-150-1r-SG5
WL-4507(config)#boot system flash bootflash: cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin
重新啟動(dòng)當(dāng)前設(shè)備
WL-4507# reload
配置驗(yàn)證與網(wǎng)絡(luò)測試驗(yàn)證
將回退IOS后的配置與升級(jí)IOS前的配置進(jìn)行核對(duì)比較,確保當(dāng)前設(shè)備回退到可以正常運(yùn)行的狀態(tài)。
本文可以幫助您基本地設(shè)置和管理您的路由器。 |
溫馨提示:喜歡本站的話,請(qǐng)收藏一下本站!