华为AP升级操作记录

不同型号,不同版本,升级使用的方法和命令可能会有差别。

1.AP4050DN(V200R008)
2.AP3030DN
3.AP3010DN-V2(AP3010DN-V2 FIT V200R007C20SPCa00)
4.AP4030(FIT V200R008)升级

一、AP型号:AP4050DN

原版本:AP4050DN CLOUD V200R008C10SPC700
升级后版本:AP4000 V200R019C00SPC913

开启FTP,用户名:admin, 密码:123456
FTP服务端地址:192.168.8.58

操作:将AP连接到和FTP同一个网段,自动获取IP地址成功,ping FTP地址成功。操作比较简单,直接一条命令即可。

<LG-ZZ-0224>sys
Enter system view, return user view with Ctrl+Z.
[LG-ZZ-0224]ap-
[LG-ZZ-0224]ap-mode-switch ?
  fat  Fat Mode
  fit  Fit Mode
[LG-ZZ-0224]ap-mode-switch fit ?
  ftp   FTP server
  sftp  SFTP server
  tftp  TFTP server
  <cr>  Please press ENTER to execute command 
[LG-ZZ-0224]ap-mode-switch fit ftp ?
  STRING<1-127>  Version file name
[LG-ZZ-0224]ap-mode-switch fit ftp FitAP4050DN_V200R019C00SPC913.bin ?
  IP_ADDR<X.X.X.X>  Server IP address
[LG-ZZ-0224]ap-mode-switch fit ftp FitAP4050DN_V200R019C00SPC913.bin 192.168.8.58 ?
  STRING<1-31>  Username to visit the server
[LG-ZZ-0224]ap-mode-switch fit ftp FitAP4050DN_V200R019C00SPC913.bin 192.168.8.58 admin ?
  STRING<1-128>  Password to visit the server
[LG-ZZ-0224]ap-mode-switch fit ftp FitAP4050DN_V200R019C00SPC913.bin 192.168.8.58 admin 123456 ?
  INTEGER<0-65535>  Server port
  <cr>              Please press ENTER to execute command 
[LG-ZZ-0224]ap-mode-switch fit ftp FitAP4050DN_V200R019C00SPC913.bin 192.168.8.58 admin 123456 
Warning: The system will reboot and start in fit mode of V200R019C00SPC913. Continue? (y/n)[n]:y
Warning: Do Not Power-off!
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Info: system is rebooting ,please wait...


多后系统就自动重启了,启动完成之后,初始用户名:admin,
初始密码是:admin@huawei.com
查看版本信息如下:

<Huawei>dis version 
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AP4050DN FIT V200R019C00SPC913)
Copyright (C) 2011-2022 HUAWEI TECH CO., LTD
Huawei AP4050DN Router uptime is 0 week, 0 day, 0 hour, 9 minutes

MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 9 minutes
SDRAM Memory Size    : 256     M bytes
NOR FLASH Memory Size: 64      M bytes
MPU version information : 
1. PCB      Version  : H84D2TD1D505 VER.A
2. MAB      Version  : 1
3. Board    Type     : AP4050DN
4. CPLD0    Version  : 0
5. BootROM  Version  : 632

<Huawei>

升级成功!

**

二、AP3030DN升级经验

原版本:
升级后版本:FitAP3X30XN_V200R019C00SPC913

在正常模式下升级出现报错,

[Huawei]ap-mode-switch tftp FitAP3X30XN_V200R019C00SPC913.bin 192.168.8.48 
Info: Preparing to upgrade. Please wait a moment .............
Warning: Do Not Power-off!
.................................................................................................................................................................
Error: Upgrade upgrade-assistant-package failed due to a type mismatch.

Warning: If AP want to work properly, you must reboot the system. Please input [Yes]: y

问华为售后后,建议在Uboot下进行:

在Uboot下更新AP系统软件

  1. 使用Console线进入AP的Uboot
    就是启动时出现Press f of F to stop Auto-Boot in 3 seconds:3 时,按下F键。
    在这里插入图片描述

  2. 配置IP地址

ar7240> setenv serverip 169.254.1.100 //指定TFTP服务器的IP地址(即PC网卡的IP)

ar7240> setenv ipaddr 169.254.1.1 //指定AP自身的IP地址(出厂默认就是169.254.1.1,若未修改可跳过此步骤)

  1. 更新AP系统软件

ar7240> update system xxxxxx //xxxxxx为完整的系统软件名字(要包含扩展名.bin)

如果出现需要确认的提示信息,则输入y确认

Upgrade Firmware to A Successful //出现此信息代表系统软件更新成功

  1. 重启AP

ar7240> reset

Resetting…

说明:

(1)执行以上操作操作后,设备会自动重启,启动时间约2分钟左右。

(2)重启完成后,即可使用网线通过浏览器登录胖AP的Web网管进行配置:

https://forum.huawei.com/enterprise/zh/thread-637631.html

以下是记录:

Press f or F  to stop Auto-Boot in 3 seconds:  0 
f
Password for uboot cmd line :

Info: You are advised to change the password to ensure security. 
ar7240> 
ar7240> 
ar7240> setenv serverip 192.168.8.48
Unknown command 'setenv' - try 'help'
ar7240> setenv serverip 192.168.8.48
ar7240> setenv ipaddr 192.168.8.148
ar7240> update system FitAP3X30XN_V200R019C00SPC913.bin
Using eth0 device
TFTP from server 192.168.8.48; our IP address is 192.168.8.148
Filename 'FitAP3X30XN_V200R019C00SPC913.bin'.
Load address: 0x80060000
Loading: #################################################################
(省略。。。。)
         ###################
done
Bytes transferred = 13074764 (c7814c hex)
EFS tail number: 10
APP Packet Practical Size: 0xc77fb4, Begin Address in Mem: 0x80060020, End Address in Mem: 0x80cd7fd4
$APP Packet CRC: 0xd13d211b, Kernel Size: 0xecfd8, RootFs Size: 0xb0b000,Bios Size: 0x7f534, Extend Bios Size: 0x00, FitFatFlag:0x01, SubType:0x00, Transize:0x00,endaddr:0x80cd7fd4,actendaddr:0x80cd7b34
AP5X30XN V200R019C00SPC913B003
AP3X30XN V200R019C00SPC913B003
AP430-E V200R019C00SPC913B003
WA206DK V200R019C00SPC913B003
AP3010DN-V2 V200R019C00SPC913B003
AP4030DN-E V200R019C00SPC913B003
AP9X32XN V200R019C00SPC913B003
AP5030DN-S V200R019C00SPC913B003
AP9X31XN V200R019C00SPC913B003
Write SysImage to Address(area B): 0x9f0c0000
Warning: Do Not Power-Off! 
...............................................................................................done
Warning: Do Not Power-Off! 
Upgrade Boot-B Successful 
Writing Version to Flash... 
Set Boot KernelB Address: 0x9fbcb000
Upgrade Firmware to B Successful 
ar7240> 
ar7240> 
ar7240> reset

重启后升级成功,输入初始账号密码:admin和admin@huawei.com
然后修改密码,
然后dis ver显示:

<Huawei>dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AP3030DN FIT V200R019C00SPC913)
Copyright (C) 2011-2022 HUAWEI TECH CO., LTD
Huawei AP3030DN Router uptime is 0 week, 0 day, 0 hour, 0 minute

MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 0 minute
SDRAM Memory Size    : 256     M bytes
NOR FLASH Memory Size: 32      M bytes
MPU version information : 
1. PCB      Version  : VER.B
2. MAB      Version  : 0
3. Board    Type     : AP3030DN
4. BootROM  Version  : 632

<Huawei>

三、AP3010DN-V2(FIT V200R007C20SPCa00)

原版本:FIT V200R007C20SPCa00
升级后版本:FitAP3010DN-V2_V200R019C00SPC913
(2023-11-24)
使用ap-mode-switch命令升级失败
然后售后发了这篇文章:
https://forum.huawei.com/enterprise/zh/thread/580931609929072640

开始用TFTP中断了,用FTP成功了。

[5860-5fd8-6980]upgrade version ftp FitAP3010DN-V2_V200R019C00SPC913.bin 192.168.8.55 admin 123456
Warning: Do Not Power-off!
.......................................................................................................................................................................................................................................................................
Info: Upgrade succeeded. Please restart the system.

四、AP型号:AP4030DN

原版本:AP4030DN FIT V200R008C10SPCe00
升级后版本:AP4000 V200R019C00SPC913

先直接先套用AP4050的方法,提示我要先运行ap-mode-switch prepare

[10F-2]ap-mode-switch ftp FitAP4X30XN_V200R019C00SPC918.bin 192.168.8.59 admin 123456
Info: Preparing to upgrade. Please wait a moment ............
Info: The system is not ready for mode switch. Please execute ap-mode-switch prepare first.

[10F-2]ap-mode-swit
[10F-2]ap-mode-switch ?
  check    Check informations for upgrading
  ftp      FTP server
  prepare  Prepare for upgrading
  tftp     TFTP server
[10F-2]ap-mode-switch prepare 
Warning: Need to copy the imageB to imageA and reboot, if you want to switch to fat ap.
These operations will overwrite the version in imageA with the one in imageB.
Are you sure to execute these operations ? [Y/N]: y
Info: Copy the imageB to imageA. Please wait for a moment...................................................................................................................................................................................................................................Info: Copy image successfully!
Info: system is rebooting ,please wait...

按照要求执行了准备命令,并重启。

<10F-2>dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AP4030DN FIT V200R008C10SPCe00)
Copyright (C) 2011-2019 HUAWEI TECH CO., LTD
Huawei AP4030DN Router uptime is 0 week, 0 day, 0 hour, 3 minutes

[10F-2]ap-mode-switch ftp FitAP4X30XN_V200R019C00SPC918.bin 192.168.8.59 admin 123456
Info: Preparing to upgrade. Please wait a moment .............
Warning: Do Not Power-off!
.....................................
Error: Upgrade upgrade-assistant-package failed due to a type mismatch.

Warning: If AP want to work properly, you must reboot the system. Please input [Yes]: 

出现的情况前面升级AP3030一样的情况。所以还是要在像AP3030DN一样,在Uboot下更新AP系统软件。

使用Console线进入AP的Uboot。就是启动时出现Press f of F to stop Auto-Boot in 3 seconds:3 时,按下F键。
记录一下命令:

Press f or F  to stop Auto-Boot in 3 seconds:  0 
f
Password for uboot cmd line : admin@huawei.com  //输入密码
ar7240> setenv serverip 192.168.8.59
ar7240> setenv ipaddr 192.168.8.148
ar7240> update system FitAP4X30XN_V200R019C00SPC918.bin
//Loading...等待拷贝过程,接着等待升级过程。完成就可以重启了。
Upgrade Firmware to B Successful
ar7240> reset

重启后升级完成。初始账号密码:admin和admin@huawei.com
然后修改密码。
查看版本:

<10F-2>dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AP4030DN FIT V200R019C00SPC918)
Copyright (C) 2011-2023 HUAWEI TECH CO., LTD
Huawei AP4030DN Router uptime is 0 week, 0 day, 0 hour, 2 minutes

升级成功!

用户可以通过命令行的方式来升级固件文件。本节升级方式适用于除 AP8030DN 和 8130DN 之外的 AP。以升级 AP5130DN 为例。 请事先配置好 tftp、ftp 或 sftp 工具,指向升级文件所在目录;保证在 AP 和 PC 能够互 相 ping 通。 1. 使用串口线将 AP 的串口和 PC 的串口相连,使用“超级终端”等软件,进入命令 行界面。超级终端设置如下: Baud:9600 Data bits:8 Stop bits:1 Parity: none Flow Control: none 也可以通过 telnet 方式登录到 AP,进行以下升级操作步骤。 V200R005&V200R006 版本AP 缺省 IP 地址为 169.254.1.1,缺省用户名和密码 分别为 admin 和 admin@huawei.com。如果 AP 上已配有新的 IP 地址、用户名和密 码,可使用新的 IP 地址、用户名和密码登录设备。 2. FTP 方式,TFTP 方式和 SFTP 方式需要保证 AP 和 PC 之间能够互相通信。升级 前可执行命令 display version 查看当前 AP 版本。例如: display version Huawei Versatile Routing Platform Software VRP (R) software, Version 5.130 (AP5130DN FIT V200R005C00) Copyright (C) 2011-2013 HUAWEI TECH CO., LTD Huawei AP5130DN Router uptime is 0 week, 0 day, 0 hour, 16 minutes MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 16 minutes SDRAM Memory Size : 256 M bytes Flash Memory Size : 32 M bytes MPU version information : 1. PCB Version : H85D2TT1D300 VER.A 2. MAB Version : 0 3. Board Type : AP5130DN 4. BootROM Version : 62 3. 执行命令 ap-mode-switch prepare,准备形态切换。AP 切换到 image A 文件启 动。  如果 image A 和 image B 中的系统软件包 R 版本不同, AP 从 image B 启动,则执行命令 ap- mode-switch prepare 后,会自动将 image A 中的系统软件包更新为 image B 中的系统软件 包,并从 image A 重新启动。  如果 image A 和 image B 中的系统软件包均为 V200R005 版本,但不属于同一 SPC 版本AP 从 image B 启动,则执行命令 ap-mode-switch prepare 后,会自动将 image A 中的系统软件 包更新为 image B 中的系统软件包,并从 image A 重新启动。  如果 AP 从 image A 启动,则执行命令 ap-mode-switch prepare 后, AP 不重启。 system-view [Huawei] ap-mode-switch prepare 4. 执行命令 ap-mode-switch check,确认形态切换已准备完成。 FAT AP 升级指导书 4 FIT AP 切换到 FAT AP 指导 文档版本 01 (2016-10-20) 华为专有和保密信息
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值