WDS组网环境下如何进行AP版本升级

发布时间:  2015-11-19 浏览次数:  248 下载次数:  0
问题描述

WDS组网环境下需要对AP进行升级,具备一定的特殊性。大包下载依赖无线链路的连通,因此对AP升级的顺序有着严格的要求。

WDS组网总体分为以下三种:

1.AC-ROOT-LEAF场景

升级顺序为LEAF->ROOT->AC

2.AC-ROOT-MIDDLE-LEAF场景

升级顺序为LEAF->MIDDLE->ROOT->AC

3.AC-ROOT-repeaterLEAF-repeaterROOT-LEAF

升级顺序为LEAF->repeaterROOT->repeaterLEAF->ROOT->AC

解决方案

下面以V200R003C00升级到V200R005C10版本为例介绍AC-ROOT-LEAF场景的具体升级过程,其他场景过程类似,注意升级AP的顺序即可

升级前一定要确定ROOT和LEAF AP,如果误先升级了ROOT可能会因为版本不匹配导致WDS链路建立不起来,导致LEAF无法远程升级。

[Quidway-wlan-view]dis ap all
  All AP information(Normal-2,UnNormal-0):
  ------------------------------------------------------------------------------
  AP    AP                    AP              Profile   AP              AP
                                              /Region
  ID    Type                  MAC             ID        State           Sysname
  ------------------------------------------------------------------------------
  0     AP6510DN-AGN          f84a-bf5a-c7a0    0/10    normal          root-11003-HDP-AP1
  13    AP6510DN-AGN          f84a-bf5a-c600    0/20    normal          11003-01-HDP
  ------------------------------------------------------------------------------

在AC上配置AP上线自动升级,这里使用ftp模式

ap-update mode ftp-server
ap-update ftp-server 10.20.0.11 ftp-username huawei ftp-password cipher huawei123 mode ftp-mode
ap-update update-filename FitAP6X10XN_V200R005C10SPC300.bin ap-type 23

配置完成后确认所有AP都是nomal状态

重启LEAF AP

ap-reset id 13

待AP重启后会自动去FTP服务器下载软件包

[Quidway-wlan-view]dis ap-update status all
  ------------------------------------------------------------------------------
  AP ID  AP Type               AP Mac          Update Status
  ------------------------------------------------------------------------------
  0      AP6510DN-AGN          f84a-bf5a-c7a0  -
  13     AP6510DN-AGN          f84a-bf5a-c600  downloading(progress: 100%/5%)
  ------------------------------------------------------------------------------
  Total number: 2

LEAF下载完成后会自动重启

再重启ROOT AP
[Quidway-wlan-view]ap-reset id 0
  Warning: Reset AP! Continue? [Y/N]y
  Info: Reset AP completely.

此时的AC仍然是V200C003C00版本,但是V200R005C10的AP可以建立WDS链路,display ap all可以看到所有AP都是normal状态。
[Quidway-wlan-view]dis ap all
  All AP information(Normal-2,UnNormal-0):
  ------------------------------------------------------------------------------
  AP    AP                    AP              Profile   AP              AP
                                              /Region
  ID    Type                  MAC             ID        State           Sysname
  ------------------------------------------------------------------------------
  0     AP6510DN-AGN          f84a-bf5a-c7a0    0/10    normal          root-11003-HDP-AP1
  13    AP6510DN-AGN          f84a-bf5a-c600    0/20    normal          11003-01-HDP
  ------------------------------------------------------------------------------
  Total number: 2

通过命令display ap-run-info id 13验证AP运行版本,此命令只有在AP状态为norman情况下可用。

[Quidway-wlan-view]dis ap-run-info id 13
  AP 13 run information:
  ------------------------------------------------------------------------------
  Software version: V200R005C10SPC300
  Hardware version: Ver.C
  BIOS version: 222
  Domain: ZA
  CPU type: AR9350
  CPU frequency: 480 MHZ
  Memory type: H5PS5162GFR-S6C&1
  AP System software description: AP6510DN-AGN:V200R005C10SPC300
  AP System hardware description: AP6510DN-AGN:Ver.C
  AP manufacture: Huawei Technologies Co., Ltd.
  AP software name: Huawei Access Point Software
  AP software vendor: Huawei Technologies Co., Ltd.
  AP online time: 27 S
  AP bom code: 000
  Ip address: 10.20.1.253
  Ip mask: 255.255.254.0
  Gateway ip: 10.20.0.1
  DNS server: 0.0.0.0
  Memory size: 128 MB
  Flash size: 32 MB
  Run time: 647 S
  Up ethernet port speed: 10 Mbps

最后一步是升级AC

[Quidway-wlan-view]dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.130 (AC6605 V200R003C00SPC300)
Copyright (C) 2011-2013 HUAWEI TECH CO., LTD
Huawei AC6605 Router uptime is 0 week, 0 day, 3 hours, 7 minutes

MPU 0(Master) : uptime is 0 week, 0 day, 3 hours, 7 minutes
SDRAM Memory Size    : 4096    M bytes
Flash Memory Size    : 256     M bytes
MPU version information :
1. PCB      Version  : H852V26S VER.B
2. MAB      Version  : 0
3. Board    Type     : AC6605
4. CPLD0    Version  : 259
5. BootROM  Version  : 79

PWRCARD I information
Pcb      Version : PWR VER  VER.A
[Quidway-wlan-view]

 
查看当前AC的版本为V200R003C00,设置下次启动的版本为V200R005C10。

<Quidway>startup system-software AC6605V200R005C10SPC300.cc ?
  <cr>  Please press ENTER to execute command
<Quidway>startup system-software AC6605V200R005C10SPC300.cc
Info: Succeeded in setting the software for booting system.
<Quidway>dis star
<Quidway>dis startup
  Configed startup system software:          flash:/ac6605v200r003c00spc300.cc
  Startup system software:                   flash:/ac6605v200r003c00spc300.cc
  Next startup system software:              flash:/AC6605V200R005C10SPC300.cc
  Startup saved-configuration file:          flash:/vrpcfg.zip
  Next startup saved-configuration file:     flash:/vrpcfg.zip
  Startup license file:                      NULL
  Next startup license file:                 NULL
  Startup patch package:                     NULL
  Next startup patch package:                NULL

配置完成后通过display startup 命令验证下次启动版本。 
<Quidway>reboot

验证完成后重启AC,因为V200R003C00和V200R005C10版本命令有所区别,为保证AP可以上线必须在system视图配置如下命令:

wlan source interface vlanif 1001

等AP上线后,通过命令查看当前AC和AP运行的版本。

display version

display ap all

display ap-run-info id x

 

END