• 华为AP升级操作记录


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

    1.AP4050DN(V200R008)
    2.AP3030DN
    3.AP3010DN-V2(AP3010DN-V2 FIT V200R007C20SPCa00)

    一、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...
    
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30

    多后系统就自动重启了,启动完成之后,初始用户名: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>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17

    升级成功!

    **

    二、AP3030DN升级经验

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

    [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
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7

    问华为售后后,建议在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
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44

    重启后升级成功,输入初始账号密码: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>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16

    三、AP3010DN-V2(FIT V200R007C20SPCa00)

    (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.
    
    • 1
    • 2
    • 3
    • 4
  • 相关阅读:
    vue10CRUD+表单验证
    Python3:PyArg_ParseTuple与Py_BuildValue
    Intel汇编-使用结构体
    数据结构:平衡二叉树
    2023年9月青少年软件编程(C 语言) 等级考试试卷(七级)
    深入理解AQS之CountDownLatch
    SWC ports and port interface
    大型语言模型:SBERT — 句子BERT
    小程序AI智能名片S2B2C商城:AIGC系统赋能多元化应用场景新探索
    Spring-ReactiveKafkaConsumer(反应式消费kafka消息)
  • 原文地址:https://blog.csdn.net/weixin_42844704/article/details/132625288