第一步:通過FTP的相關命令將軟件下載到本地交換機上蔗草。
在交換機的<>模式下,ftp服務器ip地址登錄黍析,通過 get 命令獲取需要導入的文件全名(包含后綴名)
<H3C> ftp 202.10.10.53
<H3C> cd S5500SI-CMW520-R2222P10
<H3C>get S5500SI-BTM-621.btm
<H3C>get S5500SI-CMW520-R2222P10.bin
<H3C>bye
第二步:在交換機上升級BOOTROM。
<H3C>bootrom update file S5500SI-BTM-621.btm slot 1
This command will update BootRom file, Continue? [Y/N]y
Updating BootRom, please wait...
Upgrade Bootrom succeeded!
第三步:在交換機上升級主機軟件
si5500交換機的flash的存儲空間小,只有16M福澡,而S5500SI-CMW520-R2222P10.bin大小為13M,它無法容納兩個版本的文件驹马,可以先刪除文件革砸,操作如下:
<H3C>delete unit1>flash:/s31ei_e-cmw310-r2108P04.bin
執(zhí)行第一步以后的文件并沒有徹底刪除除秀,是存放在回收站里面,當執(zhí)行undelete命令后會進行恢復操作算利,所以如果需要進行版本升級册踩,需要清空回收站
<H3C>reset recycle-bin #清空
<H3C> boot-loader file S5500-SI.bin slot all main
<H3C> display boot-loader
第四步:重新啟動交換機。
<H3C> reboot
第五步 :查看升級后的版本
<H3C> display version
#配置PC和交換機地址效拭,保證PC和交換機之間可以互通
PC地址:192.168.10.1
交換機地址:192.168.10.2
#在SecureCRT 中輸入命令:
<H3C>tftp 192.168.10.2 get S5130EI_E-CMW710-R3208P10.ipe
<H3C>boot-loader file flash:/S5130EI_E-CMW710-R3208P10.ipe slot all main
? This command will set the boot file of the specified board. Continue? [Y/N]:y
? The specified file will be used as the main boot file at the next reboot on slot 1!
#重啟交換機
<H3C>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
? Updating Basic BootRom......
? Updating extended BootRom......
? BootRom file updating finished
#查看實驗結果暂吉,升級完畢
<H3C>dis version
H3C Comware Software, Version 7.1.070, Release 3208P10
Copyright (c) 2004-2018 New H3C Technologies Co., Ltd. All rights reserved.
H3C S5130-28S-PWR-EI uptime is 1 week, 3 days, 18 hours, 36 minutes
Last reboot reason : User reboot
3.2? 通過Bootware菜單升級
#華三官網下載所需要的升級版本,本案例以S5130-EI為例缎患。如若是其他型號慕的,根據具體的型號下載對應版本。
點擊同意较锡,下載即可业稼。
#將下載的壓縮包解壓成文件夾,能夠看到兩個文件蚂蕴,我們需要使用的是ipe后綴的文件低散。
#在3CDaemon利用TFTP上傳所要升級的版本文件夾
上傳、下載目錄選擇文件夾S5130EI_E-CMW710-R3208P10
#斷電重啟交換機骡楼,當出現Press Ctrl-B to enter Extended Boot menu...3時熔号,迅速按Ctrl+B(也可以開機啟動的時候一直按著ctrl+B),進入bootware菜單后鸟整,提示輸入密碼引镊。密碼默認為空,直接回車即可篮条,然后顯示如下界面:
#輸入1弟头,回車
#輸入1,回車
Load File Name? ? ? :S5130EI_E-CMW710-R3208P10.ipe
Server IP Address? :192.168.10.2
Local IP Address? ? :192.168.10.1
Subnet Mask? ? ? ? :255.255.255.0
Gateway IP Address? :0.0.0.0
#打開3CDaemon涉茧,可以看到數據正在傳輸赴恨,當顯示如下界面時,數據傳輸完畢
#當命令行界面出現Please input the file attribute (Main/Backup/None)時伴栓,輸入main伦连,回車
#輸入0,重啟交換機钳垮。查看結果惑淳,升級完畢
<H3C>dis version
H3C Comware Software, Version 7.1.070, Release 3208P10
Copyright (c) 2004-2018 New H3C Technologies Co., Ltd. All rights reserved.
H3C S5130-28S-PWR-EI uptime is 0 week, 0 days, 0 hours, 5 minutes
Last reboot reason : User reboot