03-H3C vAC系列无线控制器V7软件升级操作指导
本章节下载: 03-H3C vAC系列无线控制器V7软件升级操作指导 (731.96 KB)
目 录
升级方式 |
说明 |
· 需要重启设备来实现设备软件的升级。 · 使用该方式升级设备软件时会导致当前业务中断。 |
|
· 设置vAC使用ISO光盘引导启动并进行软件升级。 · 需要重启设备来实现设备软件的升级。 |
在升级vAC启动文件前,请完成如下准备工作:
· 配置vAC与文件服务器路由可达。
· 开启文件服务器的TFTP/FTP Server功能。
· 通过配置终端登录到vAC的命令行配置界面中。
· 将vAC的升级启动文件拷贝到文件服务器上,并正确设置TFTP/FTP Server的访问路径。
升级vAC的启动文件后,需要重新启动vAC,在重启过程完成前,vAC的各项业务功能将不可用。
图1-1 vAC的升级环境
vAC作为TFTP Client,访问TFTP文件服务器的制定路径,完成启动文件的备份及升级操作,具体操作步骤如下:
(1) 在命令行配置界面的任意视图下,执行save命令保存vAC当前配置信息。
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Configuration is saved to device successfully.
<Sysname>
(2) 在命令行配置界面的用户视图下,执行dir命令查看无线控制器当前的文件系统,确认启动文件及配置文件名,以及存储的剩余空间,保证有足够空间放入新的启动文件。
<Sysname> dir
Directory of flash:
0 -rw- 7693312 Jun 28 2019 06:32:04 boot.bin
1 -rw- 148480 Jun 28 2019 06:32:04 capture.bin
2 -rw- - Jun 15 2019 06:32:59 diagfile
3 -rw- - Jun 28 2019 06:30:35 ifindex.dat
4 -rw- 6008832 Jun 28 2019 06:42:08 license
5 -rw- 44162048 Jun 28 2019 06:42:08 logfile
6 -rw- 50178048 Jun 28 2019 06:42:08 reboot.log
7 -rw- 8728 Jun 28 2019 06:30:36 seclog
8 -rw- 1557 Jun 28 2019 06:43:51 startup.cfg
9 -rw- 32871 Jun 28 2019 06:43:51 startup.mdb
10 -rw- 81991680 Jun 28 2019 06:32:04 system.bin
11 -rw- 89692160 Jun 28 2019 06:32:04 vAC1000.ipe
12 -rw- 8728 Jun 28 2019 06:33:03 version.log
732775648 KB total (732599712 KB free)
<Sysname>
(3) 在命令行配置界面的用户视图下,执行tftp put命令将启动文件vAC1000.ipe备份到TFTP文件服务器上。
<Sysname> tftp 2.2.2.2 put vAC1000.ipe
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 85.5M 0 0 100 85.5M 0 2282k 0:00:38 0:00:38 --:--:-- 2595k
<Sysname>
(4) 在命令行配置界面的用户视图下,执行tftp put命令将配置文件startup.cfg备份到TFTP文件服务器上。
<Sysname> tftp 2.2.2.2 put startup.cfg
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1557 0 0 100 1557 0 41140 --:--:-- --:--:-- --:--:-- 97312
<Sysname>
(1) 在命令行配置界面的用户视图下,执行tftp get命令将启动文件vAC1000.ipe导入到无线控制器中。
<Sysname> tftp 2.2.2.2 get vAC1000.ipe
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 85.5M 0 0 100 85.5M 250 0 0:05:50 0:05:50 --:--:-- 595k
Writing file...Done.
<Sysname>
(2) 在命令行配置界面的用户视图下,执行boot-loader命令设置无线控制器下次启动使用的启动文件为vAC1000.ipe,并指定启动文件类型为main。
<Sysname> boot-loader file flash:/vAC1000.ipe main
Verifying the file flash:/vAC1000.ipe on the device...Done.
H3C vAC1000 images in IPE:
boot.bin
system.bin
This command will set the main startup software images. Please do not reboot the device during the upgrade. Continue? [Y/N]:y
Add images to the device.
File flash:/boot.bin already exists on the device.
File flash:/system.bin already exists on the device.
Overwrite the existing files? [Y/N]: y
Decompressing file boot.bin to flash:/boot.bin...Done.
Decompressing file system.bin to flash:/boot.bin...Done.
Verifying the file flash:/boot.bin on the device...Done.
Verifying the file flash:/system.bin on the device...Done.
The images that have passed all examinations will be used as the main startup software images at the next reboot on the device.
Decompression completed.
You are reconnended to delete the .ipe file after you set startup software images for all slots.
Do you want to delete flash:/vAC1000.ipe now? [Y/N]:y
<Sysname>
(3) 在命令行配置界面的用户视图下,执行display boot-loader命令查看设备的启动程序文件信息。
<Sysname> display boot-loader
Software images on the device:
Current software images:
flash:/boot.bin
flash:/system.bin
Main startup software images:
flash:/ boot-X64.bin
flash:/ system.bin
Backup startup software images:
None
<Sysname>
如上显示信息中,下一次启动的程序文件已经设置为vAC1000.ipe文件中包含的boot.bin和system.bin。
(4) 在命令行配置界面的用户视图下,执行reboot命令重启无线控制器。
<Sysname> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
(5) 无线控制器重启后,通过display version命令查看无线控制器的启动文件版本信息是否与升级的启动文件一致。
<Sysname> display version
H3C Comware Software, Version 7.1.064, Customer 5421
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C vAC1000 uptime is 0 weeks, 0 days, 0 hours, 28 minutes
Last reboot reason : Power on
Boot image: flash:/boot.bin
Boot image version: 7.1.064, Customer 5421
Compiled Apr 12 2019 16:00:00
System image: flash:/system.bin
System image version: 7.1.064, Customer 5421
Compiled Apr 12 2019 16:00:00
CPU ID: 0x01000101, vCPUs: Total 1, Available 1
1.00G bytes RAM Memory
Basic BootWare Version: 1.11
Extended BootWare Version: 1.11
[SLOT 1]VNIC-E1000 (Driver)1.0
<Sysname>
vAC作为FTP Client,访问FTP文件服务器的指定路径,完成启动文件的备份及升级操作,具体操作步骤如下:
(1) 在命令行配置界面的任意视图下,执行save命令保存无线控制器当前配置信息。
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Configuration is saved to device successfully.
<Sysname>
(2) 在命令行配置界面的用户视图下,执行dir命令查看无线控制器当前的文件系统,确认启动文件及配置文件名,以及存储剩余空间,保证有足够空间放入新的启动文件。
<Sysname> dir
Directory of flash:
0 -rw- 7693312 Jun 28 2019 06:32:04 boot.bin
1 -rw- 148480 Jun 28 2019 06:32:04 capture.bin
2 -rw- - Jun 15 2019 06:32:59 diagfile
3 -rw- - Jun 28 2019 06:30:35 ifindex.dat
4 -rw- 6008832 Jun 28 2019 06:42:08 license
5 -rw- 44162048 Jun 28 2019 06:42:08 logfile
6 -rw- 50178048 Jun 28 2019 06:42:08 reboot.log
7 -rw- 8728 Jun 28 2019 06:30:36 seclog
8 -rw- 1557 Jun 28 2019 06:43:51 startup.cfg
9 -rw- 32871 Jun 28 2019 06:43:51 startup.mdb
10 -rw- 81991680 Jun 28 2019 06:32:04 system.bin
11 -rw- 89692160 Jun 28 2019 06:32:04 vAC1000.ipe
12 -rw- 8728 Jun 28 2019 06:33:03 version.log
732775648 KB total (732599712 KB free)
<Sysname>
(3) 在命令行配置界面的用户视图下,执行ftp命令登录FTP文件服务器,根据系统提示输入登录用户名和密码。
<Sysname> ftp 2.2.2.2
Press CTRL+C to abort.
Connected to 2.2.2.2 (2.2.2.2).
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User (2.2.2.2:(none)): user001
331 Give me your password, please
Password:
230 Logged in successfully
Remote system type is MSDOS
ftp>
(4) 在FTP客户端视图下,执行put命令将启动文件vAC1000.ipe备份到FTP文件服务器上:
ftp> put vAC1000.ipe
227 Entering passive mode (2,2,2,2,7,210)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 50178048 byte(s) sent in 21.363 second(s), 2293.00Kbyte(s)/sec.
ftp>
(5) 在FTP客户端视图下,执行put命令将配置文件startup.cfg备份到FTP文件服务器上:
ftp> put startup.cfg
227 Entering passive mode (2,2,2,2,7,177)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 1677 byte(s) sent in 0.142 second(s), 11.00Kbyte(s)/sec.
ftp>
(1) 在FTP客户端视图下,执行get命令将启动文件vAC1000.ipe导入到无线控制器中。
ftp> get vAC1000.ipe
227 Entering passive mode (2,2,2,2,7,225)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 50178048 byte(s) received in 30.907 second(s), 1585.00K byte(s)/sec.
ftp>
(2) 在FTP客户端视图下,执行quit命令,返回到命令行配置界面的用户视图。
ftp> quit
221 Service closing control connection
<Sysname>
(3) 在命令行配置界面的用户视图下,执行boot-loader命令设置无线控制器下次启动使用的启动文件为vAC1000.ipe,并指定启动文件类型为main。
<Sysname> boot-loader file flash:/vAC1000.ipe main
Verifying the file flash:/vAC1000.ipe on the device...Done.
H3C vAC1000 images in IPE:
boot.bin
system.bin
This command will set the main startup software images. Please do not reboot the device during the upgrade. Continue? [Y/N]:y
Add images to the device.
File flash:/boot.bin already exists on the device.
File flash:/system.bin already exists on the device.
Overwrite the existing files? [Y/N]: y
Decompressing file boot.bin to flash:/boot.bin...Done.
Decompressing file system.bin to flash:/boot.bin...Done.
Verifying the file flash:/boot.bin on the device...Done.
Verifying the file flash:/system.bin on the device...Done.
The images that have passed all examinations will be used as the main startup software images at the next reboot on the device.
Decompression completed.
You are reconnended to delete the .ipe file after you set startup software images for all slots.
Do you want to delete flash:/vAC1000.ipe now? [Y/N]:y
<Sysname>
(4) 在命令行配置界面的用户视图下,执行display boot-loader命令查看设备的启动程序文件信息。
<Sysname> display boot-loader
Software images on the device:
Current software images:
flash:/boot.bin
flash:/system.bin
Main startup software images:
flash:/boot.bin
flash:/system.bin
Backup startup software images:
None
<Sysname>
如上显示信息中,下一次启动的程序文件已经设置为vAC1000.ipe文件中包含的boot.bin和system.bin。
(5) 在命令行配置界面的用户视图下,执行reboot命令重启无线控制器:
<Sysname> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
(6) 无线控制器重启后,通过display version命令查看无线控制器的启动文件版本信息是否与升级的启动文件一致。
<Sysname> display version
H3C Comware Software, Version 7.1.064, Customer 5421
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C vAC1000 uptime is 0 weeks, 0 days, 0 hours, 28 minutes
Last reboot reason : Power on
Boot image: flash:/boot.bin
Boot image version: 7.1.064, Customer 5421
Compiled Apr 12 2019 16:00:00
System image: flash:/system.bin
System image version: 7.1.064, Customer 5421
Compiled Apr 12 2019 16:00:00
CPU ID: 0x01000101, vCPUs: Total 1, Available 1
1.00G bytes RAM Memory
Basic BootWare Version: 1.11
Extended BootWare Version: 1.11
[SLOT 1]VNIC-E1000 (Driver)1.0
<Sysname>
(1) 在左侧的设备导航栏中选中虚拟机,单击右键选择“编辑设置”,点击“选项”页签,如图1-2所示。在“强制BIOS设置”选项前打勾,点击OK。
(2) 在设备导航栏中选中虚拟机,点击启动虚拟机,进入图1-3,通过Console口可以选择Boot页签,配置优先CDROM启动,保存配置并退出。
(3) 如图1-4所示,点击连接虚拟机的CD设备到vAC的安装ISO文件上,并再次启动虚拟机。
图1-4 连接虚拟机的CD设备到vAC的安装ISO文件上
(4) 虚拟机系统从ISO启动,并直接进入安装界面。
(1) 在进入安装界面后,如图1-5选择菜单(2) Upgrade Install,将vAC运行的版本升级到ISO光盘中的版本。
图1-5 通过ISO进行vAC的升级
(2) 安装完成后,先断开CD连接,如图1-6、图1-7所示,然后点击“Yes”按钮重启系统,完成vAC的升级。
图1-6 断开CD连接一
图1-7 断开CD连接二
(3) 无线控制器重启后,通过display version命令查看无线控制器的启动文件版本信息是否与升级的启动文件一致
<Sysname> display version
H3C Comware Software, Version 7.1.064, Customer 5421
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C vAC1000 uptime is 0 weeks, 0 days, 0 hours, 28 minutes
Last reboot reason : Power on
Boot image: flash:/boot.bin
Boot image version: 7.1.064, Customer 5421
Compiled Apr 12 2019 16:00:00
System image: flash:/system.bin
System image version: 7.1.064, Customer 5421
Compiled Apr 12 2019 16:00:00
CPU ID: 0x01000101, vCPUs: Total 1, Available 1
1.00G bytes RAM Memory
Basic BootWare Version: 1.11
Extended BootWare Version: 1.11
[SLOT 1]VNIC-E1000 (Driver)1.0
<Sysname>
(1) 在“Virtual Machine Manager”页面中选中虚拟机,单击右键选择“打开”,点击“”按钮,配置引导设备顺序,如图1-8所示,点击“应用”按钮。
(2) 在左侧的列表框中选择<CDROM 1>,进入光盘配置界面,单机“连接”按钮,然后在弹出的对话框中点击“浏览”,从本地选择新的升级文件,最后点击“OK”按钮,如图1-9所示。
图1-9 连接虚拟机的CD设备到vAC的安装ISO文件上
(3) 单击图1-9中的“”按钮,给模拟器上电。
(4) 单击图1-9中的“”按钮,进入命令行控制页面,如图1-10选择菜单(2)
Upgrade Install,然后输入“yes”。
图1-10 通过ISO进行vAC的升级
(5) 输入“yes”后,则弹出如图1-11所示窗口,此时单击图1-12中的“断开连接”按钮,断开CD连接,然后在图1-11窗口中输入“ENTER”关闭该窗口,设备将重启完成vAC的升级。
图1-11 断开CD连接一
图1-12 断开CD连接二
(6) 无线控制器重启后,通过display version命令查看无线控制器的启动文件版本信息是否与升级的启动文件一致
<Sysname> display version
H3C Comware Software, Version 7.1.064, Customer 5421
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C vAC1000 uptime is 0 weeks, 0 days, 0 hours, 28 minutes
Last reboot reason : Power on
Boot image: flash:/boot.bin
Boot image version: 7.1.064, Customer 5421
Compiled Apr 12 2019 16:00:00
System image: flash:/system.bin
System image version: 7.1.064, Customer 5421
Compiled Apr 12 2019 16:00:00
CPU ID: 0x01000101, vCPUs: Total 1, Available 1
1.00G bytes RAM Memory
Basic BootWare Version: 1.11
Extended BootWare Version: 1.11
[SLOT 1]VNIC-E1000 (Driver)1.0
<Sysname>
升级失败后,系统会使用原来的版本运行。用户可以通过以下方式尝试解决软件升级失败问题。
(1) 查看超级终端上的显示信息,请检查是否有输入错误等。输入错误可能包括以下:
¡ 在使用TFTP协议进行软件升级时,输入的IP地址、文件名称或指定的TFTP Server的工作路径有误。
¡ 在使用FTP协议进行软件升级时,输入的IP地址、文件名字、指定的FTP Server的工作路径、FTP用户名或FTP密码有误。
(2) 请检查FTP Server或者TFTP Server等软件是否正常运行,相关设置是否正确。
(3) 请检查设备存储介质的剩余空间大小是否足够保存待上传的文件。
(4) 如果文件在加载结束后出现如下提示:Something is wrong with the file.请检查文件是否可用。
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!