路由器(Router)是連接兩個或多個網(wǎng)絡(luò)的硬件設(shè)備,在網(wǎng)絡(luò)間起網(wǎng)關(guān)的作用,是讀取每一個數(shù)據(jù)包中的地址然后決定如何傳送的專用智能性的網(wǎng)絡(luò)設(shè)備,路由器最主要的功能為實(shí)現(xiàn)信息的轉(zhuǎn)送。 由于現(xiàn)有的4507 ios存在bug,現(xiàn)通過升級ios來修復(fù)。
升級前IOS版本信息:cat4500e-universal.SPA.03.03.00.SG.151-1.SG.bin
升級后IOS版本信息:cat4500e-universal.SPA.03.08.10.E.152-4.E10.bin
由于IOS版本比較新,對應(yīng)的ROM也需要升級。
升級前ROM版本信息:cat4500-e-ios-promupgrade-150-1r-SG5
升級后ROM版本信息:cat4500-e-ios-promupgrade-150-1r-SG10
1.設(shè)備運(yùn)行狀態(tài)檢查
通過設(shè)備運(yùn)行狀態(tài)檢查命令,記錄設(shè)備運(yùn)行現(xiàn)狀,以備升級前后對比
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)出到固定的外部存儲介質(zhì),已完成。
將運(yùn)行配置導(dǎo)出到固定的外部存儲介質(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è)備啟動參數(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和寄存器值沒有問題后,重新啟動。
WL-4507# reload
手動重啟后設(shè)備會先升級ROM,ROM升級完成第二次自動重啟,第二次自動重啟時會把ROM再升級一遍,再加載新IOS,最后進(jìn)入系統(tǒng)。
重啟時間大概10分鐘左右。
7.升級后的檢查
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
將檢查命令再次檢查一遍。
使用對比工具對比升級前后的配置文件,查看是否有配置丟失或者改動的地方。
至此,升級完成!
附:回退實(shí)施步驟
修改啟動引導(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)前設(shè)備
WL-4507# reload
配置驗(yàn)證與網(wǎng)絡(luò)測試驗(yàn)證
將回退IOS后的配置與升級IOS前的配置進(jìn)行核對比較,確保當(dāng)前設(shè)備回退到可以正常運(yùn)行的狀態(tài)。
本文可以幫助您基本地設(shè)置和管理您的路由器。
|