H3C--AC无线控制器版本升级

真机设备型号:WX3510H系列

WX3510H软件路径:

H3C官网(http://www.h3c.com/cn/)--> 首页 --> 支持 --> 软件下载 --> 无线--> H3C WX3510H无线控制器(适用于WX3510H、WX3510H-F)

1、查看当前AC型号版本
display version      //查看当前版本


<AC> dis version
H3C Comware Software, Version 7.1.064, Release 5272
Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.
H3C WX3510H uptime is 0 weeks, 0 days, 1 hour, 39 minutes
Last reboot reason : Power on

Boot image: cfa0:/boot.bin
Boot image version: 7.1.064, Release 5272
  Compiled May 29 2019 16:00:00
System image: cfa0:/system.bin
System image version: 7.1.064, Release 5272
  Compiled May 29 2019 16:00:00

2、查看当前AC剩余空间
dir      //查看交换机的文件及剩余空间


<AC> dir
Directory of cfa0:
   0 -rw-   632180736 Jan 29 2023 15:30:16   WX3510H_WX3510HF-CMW710-R5461P01.ipe
   1 drw-           - Jan 30 2023 09:24:40   apimge
   2 -rw-   541190144 Jan 29 2023 15:50:48   boot.bin
   3 -rw-      260607 Jan 30 2023 09:18:57   defaultfile.zip
   4 -rw-       89746 Jul 04 2022 13:28:02   diag_H3C_20220704-134717.tar.gz
   5 -rw-       99218 Sep 27 2021 11:30:16   diag_h3c-wireless_20210927-114630.tar.gz
   6 drw-           - Nov 29 2017 23:20:42   diagfile
   7 -rw-      262878 Jan 29 2023 16:08:24   facebook.zip
   8 -rw-         735 Oct 26 2022 14:45:26   hostkey
   9 -rw-         275 Jan 29 2023 16:53:14   ifindex.dat
  10 -rw-      259026 Jan 29 2023 16:08:24   ise.zip
  11 drw-           - Jan 29 2023 16:20:16   license
  12 drw-           - Jul 22 2021 15:09:42   logfile
  13 -rw-   370676736 Apr 19 2021 11:47:30   lvzhou-backup-boot.bin
  14 -rw-    65517568 Apr 19 2021 11:48:46   lvzhou-backup-system.bin
  15 drw-           - Nov 02 2021 09:20:40   pdt_reserve
  16 drw-           - Nov 29 2017 23:21:30   pki
  17 drw-           - Nov 29 2017 23:20:42   seclog
  18 -rw-         591 Oct 26 2022 14:45:26   serverkey
  19 -rw-        2891 Jan 29 2023 16:53:14   startup.cfg
  20 -rw-       56777 Jan 29 2023 16:53:16   startup.mdb
  21 -rw-    90983424 Jan 29 2023 15:52:38   system.bin

4088468 KB total (1762448 KB free)
4088468KB 总的空间     1762448 剩余空间

当剩余空间不够用时可以删除相应文件:

delete /unreserved file //彻底删除文件 *被删除的文件不能再恢复

delete file // 删除文件 *被删除的文件,保留在回收站,会占用存储空间

reset recycle-bin // 删除回收站中的文件

reset recycle-bin /force // 彻底删除回收站中所有的文件

3、查看下载后的文件是否与官网上md5校验内容相同
官网:

MD5校验软件:

4、使用3CDaemon传输文件

AC-IP:192.168.100.2

本机IP:192.168.100.1

将WX3510H_WX3510HF-CMW710-R5461P01.ipe文件上传到3CD上传的文件夹中

AC获取本机WX3510H_WX3510HF-CMW710-R5461P01.ipe文件

命令: tftp +本机IP地址 + get + 所需获取的文件

使用md5检验上传文件是否在传输过程中有问题

官网:

真机md5校验:

命令:md5sum + 所需校验文件

遇到报错:
<AC> ftp 本机IP地址 
user    用户:
passwor 密码:
<AC> get  AC.ipe

<AC> boot-loader file flash:/AC.ipe all main
File is not an IPE package.
<AC>%Dec 27 16:00:16:993 2022 H3C PKG/5/PKG_BOOTLOADER_FILE_FAILED: 
-IPAddr=**-User=**: Failed to executed the boot-loader file command


解决:
tftp 本机IP地址 get switch.ipe
boot-loader file flash:/AC.ipe all main

ftp需要改为二进制方式传,建议用tftp      *tftp不能传输大文件(看情况而定)
若tftp与ftp都能传输,速率是差不多的

PS:1-4为前置工作,不确定因素很多,需升级前完成

如:上传后的文件与官网md5检验文件有所差异…

5、查看AC当前主用主控板或备用主控板的下次启动文件
display  boot-loader                          //查看主用主控板或备用主控板的下次启动文件


<AC> dis boot-loader
Software images on s1ot 1:
Current software images:                      //当前启动文件
    cfa0:/boot.bin
    cfa0:/system.bin
Main startup software images:                 //下次重启后的启动文件
    cfa0:/boot.bin
    cfa0:/system.bin
Backup startup software images:               //备份的启动文件
    cfa0:/lvzhou-backup-boot.bin
    cfa0:/lvzhou-backup-system.bin

6、指定AC下次启动文件
boot-loader file +路径+ all main       指定设备下次启动时所用的主用启动文件


<AC> boot-loader file slot1#cfa0:/WX3510H_WX3510H-CMW710-R5461P01.ipe all main
Verifying the file cfa0:/wx3520h.ipe on slot 1............Done.
H3C WX3520H images in IPE:
  boot.bin
  system.bin
This command will set the main startup software images. Continue? [Y/N]:y
//是否将设置主启动软件映像         *选择N,无后续操作,还是旧版本

Add images to slot 1.
File cfa0:/boot.bin already exists on slot 1.
File cfa0:/system.bin already exists on slot 1.
Overwrite the existing files? [Y/N]:y
//是否覆盖现有文件                *选择n,会跳转到是否删除ipe文件,重新启动根据主启动软件为准,即启动旧版本

Decompressing file boot.bin to cfa0:/boot.bin........................................Done.
Decompressing file system.bin to cfa0:/system.bin.........................Done.
Decompression completed.

The images that have passed all examinations will be used as the main startup software images at the next reboot on slot 1
//通过所有检查的映像将在插槽1的下次重新启动时用作主启动软件映像

Do you want to delete cfa0:/WX3510H_WX3510HF-CMW710-R5461P01.pe now? [Y/N]:n
//启动软件包解压设置完成后会提示是否删除文件     *防止升级过程中选择错误,需重新升级,建议选择“N”


1
<AC>
1

不同选择出现的现象:

1、当This command will set the main startup software images. Continue? 选择N现象:

<AC> boot-loader file slot1#cfa0:/WX3510H_WX3510H-CMW710-R5461P01.ipe all main
Verifying the file cfa0:/wx3520h.ipe on slot 1............Done.
H3C WX3520H images in IPE:
  boot.bin
  system.bin
This command will set the main startup software images. Continue? [Y/N]:n

<AC>

2、当Overwrite the existing files? 选择N现象:

<H3C>boot-loader file slot1#cfa0:/WX3510H_WX3510HF-CMW710-R5461P01.ipe all main 

Verifying the file cfa0:/WX3510H_WX3510HF-CMW710-R5461P01.ipe on slot 1..................Done.
H3C WX3510H images in IPE:
  boot.bin
  system.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to slot 1.
File cfa0:/boot.bin already exists on slot 1.
File cfa0:/system.bin already exists on slot 1.
Overwrite the existing files? [Y/N]:n
Verifying the file cfa0:/boot.bin on slot 1...........................................Done.
Verifying the file cfa0:/system.bin on slot 1.....................................Done.
The images that have passed all examinations will be used as the main startup software images at the next reboot on slot 1.
Decompression completed.
Do you want to delete cfa0:/WX3510H_WX3510HF-CMW710-R5461P01.ipe now? [Y/N]:n



<AC> display boot-loader
Software images on s1ot 1:
Current software images:                      
    cfa0:/boot.bin
    cfa0:/system.bin
Main startup software images:           
    cfa0:/boot.bin
    cfa0:/system.bin
Backup startup software images:             
    cfa0:/lvzhou-backup-boot.bin
    cfa0:/lvzhou-backup-system.bin

3、当Do you want to delete cfa0:/WX3510H_WX3510HF-CMW710-R5461P01.ipe now? 选择Y现象

<AC> boot-loader file slot1#cfa0:/WX3510H_WX3510H-CMW710-R5461P01.ipe all main
Verifying the file cfa0:/wx3520h.ipe on slot 1............Done.
H3C WX3520H images in IPE:
  boot.bin
  system.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to slot 1.
File cfa0:/boot.bin already exists on slot 1.
File cfa0:/system.bin already exists on slot 1.
Overwrite the existing files? [Y/N]:y
Decompressing file boot.bin to cfa0:/boot.bin........................................Done.
Decompressing file system.bin to cfa0:/system.bin.........................Done.
Decompression completed.
The images that have passed all examinations will be used as the main startup software images at the next reboot on slot 1
Do you want to delete cfa0:/WX3510H_WX3510HF-CMW710-R5461P01.pe now? [Y/N]:y



<AC> dir
Directory of cfa0:
   0 drw-           - Jan 30 2023 09:24:40   apimge
   1 -rw-   541190144 Jan 29 2023 15:50:48   boot.bin
   2 -rw-      260607 Jan 30 2023 09:18:57   defaultfile.zip
   3 -rw-       89746 Jul 04 2022 13:28:02   diag_H3C_20220704-134717.tar.gz
   4 -rw-       99218 Sep 27 2021 11:30:16   diag_h3c-wireless_20210927-114630.tar.gz
   5 drw-           - Nov 29 2017 23:20:42   diagfile
   6 -rw-      262878 Jan 29 2023 16:08:24   facebook.zip
   7 -rw-         735 Oct 26 2022 14:45:26   hostkey
   8 -rw-         275 Jan 29 2023 16:53:14   ifindex.dat
   9 -rw-      259026 Jan 29 2023 16:08:24   ise.zip
  10 drw-           - Jan 29 2023 16:20:16   license
  11 drw-           - Jul 22 2021 15:09:42   logfile
  12 -rw-   370676736 Apr 19 2021 11:47:30   lvzhou-backup-boot.bin
  13 -rw-    65517568 Apr 19 2021 11:48:46   lvzhou-backup-system.bin
  14 drw-           - Nov 02 2021 09:20:40   pdt_reserve
  15 drw-           - Nov 29 2017 23:21:30   pki
  16 drw-           - Nov 29 2017 23:20:42   seclog
  17 -rw-         591 Oct 26 2022 14:45:26   serverkey
  18 -rw-        2891 Jan 29 2023 16:53:14   startup.cfg
  19 -rw-       56777 Jan 29 2023 16:53:16   startup.mdb
  20 -rw-    90983424 Jan 29 2023 15:52:38   system.bin

7、重启设备
reboot        //重启


<AC> reboot

重启时现象:

*重启过程较长

8、查看重启后版本是否升级

升级前:

升级后:

查看主用主控板或备用主控板的下次启动文件:

*如果想切换回旧版本:

配置命令:将Backup启动文件导入Main

boot-loader file boot slot1#cfa0:/lvzhou-backup-boot.bin system slot1#cfa0:/lvzhou-backup-system.bin all main

配置命令:将当前启动文件导入Backup

<H3C>boot-loader file boot slot1#cfa0:/boot.bin system slot1#cfa0:/system.bin all backup

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值