H3C交换机升级版本步骤
启动交换机,查看初始版本
<H3C>dis version
H3C Comware Software, Version 7.1.070, Release 3208P08
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
配置PC和交换机地址,保证PC和交换机之间可以互通
PC地址:192.168.10.1
交换机地址:192.168.10.2
在SecureCRT 中输入命令:
<H3C>tftp 192.168.10.1 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,回车
Load File Name :S5130EI_E-CMW710-R3208P10.ipe
Server IP Address :192.168.10.1
Local IP Address :192.168.10.2
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