不同型号,不同版本,升级使用的方法和命令可能会有差别。
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系统软件
-
使用Console线进入AP的Uboot
就是启动时出现Press f of F to stop Auto-Boot in 3 seconds:3 时,按下F键。
-
配置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,若未修改可跳过此步骤)
- 更新AP系统软件
ar7240> update system xxxxxx //xxxxxx为完整的系统软件名字(要包含扩展名.bin)
…
如果出现需要确认的提示信息,则输入y确认
…
Upgrade Firmware to A Successful //出现此信息代表系统软件更新成功
- 重启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
升级成功!