一、组网要求
AP版本自动升级功能,可以实现,人工升级AC后,AP检测到AC的版本已经更新,会自动从AC上获取最新的相应版本, 更新到最新版本。
二、配置思路
需要配置以下内容:
l 版本升级前,AP和AC处于正常工作状态。
l 保存AC的配置,并设置默认启动配置;然后从版本服务获取最新的AC和AP的版本到AC上面来,AP的名称应符合要求,例如Fit AP WA2100的升级版本名称,必须为wa2100.bin。
l 重启AC之后,AP将会进行版本检测,自动升级版本;并重新恢复保存的配置。
三、配置步骤
本配置举例中的AC使用的是WX5002无线控制器,AP使用的是WA2100无线局域网接入点。
1. 确认网络状况良好
需要确认网络状况,AC和AP之间的网络能够通畅,保证AC和AP在没有升级版本时,能够成功连接。
<AC>display wlan ap all
Total Number of APs configured: 1
Total Number of APs connected : 1
AP Profiles
------------------------------------------------------------------
AP Name APID State Model Serial-ID
------------------------------------------------------------------
testap 1 Run WA2100 x028652
------------------------------------------------------------------
<AC>
<AC>display wlan ap all verbose
Total Number of APs configured: 1
Total Number of APs connected : 1
AP Profile: testap
--------------------------------------------------------------------
APID : 1
AP Name : testap
State : Run
Up Time(hh:mm:ss) : 00:00:27
Model : WA2100
Serial-ID : x028652
IP Address : 202.1.1.2
H/W Version : Ver.B
S/W Version : V100R001B05D004
Boot-Rom Version : 1.08
Description : -NA-
Echo Interval(s) : 10
Statistics report Interval(s) : 600
Cir(Kbps) : -NA-
Cbs(Bytes) : -NA-
Jumboframe Threshold : Disable
Configuration Failure Count : -NA-
Last Failure Reason : -NA-
Last Reboot Reason : Tunnel Initiated
------------------------------------------------------------------
AP Mode : Split
Maximum Number of Radios : 1
Current Number of Radios : 1
Client Keep-alive Interval : Disable
Client Idle Interval(s) : 3600
Broadcast-probe Reply Status : Enable
Radio 1:
Basic BSSID : 000f-e255-54f0
Current BSS Count : 2
Running Clients Count : 0
Wireless Mode : 11b
Configured Channel : auto(3)
Configured Power (dBm) : 14
Preamble Type : short
Radio Policy : testrp
Service Template : 1 (SSID: market_department)
Admin State : UP
Physical State : UP
Operational Rates (Mbps):
1 : mandatory
2 : mandatory
5.5 : supported
11 : supported
Radar detected Channels : None
------------------------------------------------------------------
2. 从FTP Server上获取最新版本
在AC上,使用FTP Client的功能,登陆FTP Server后,使用get命令,把需要最新AC和AP版本(B05D005),例如wx5002.bin 和wx2100.bin,都下载到AC的Flash中。这时需要注意,不能更改AP的启动文件名称。
如何使用FTP方式下载文件,请参考 AC作为FTP client方式升级
http://www.elvhome.com/html/2013-5-29/20135291445446812.html
<AC>dir
Directory of flash:/
1 -rw- 5055 Jun 12 2007 09:10:17 config.cfg
2 -rw- 1879880 Jul 25 2007 15:27:34 wa2100.bin
3 -rw- 6864272 Jun 04 2007 13:29:42 wx5002.bin
6899662 KB total (16499 KB free)
3. 保存配置,并重新启动AC
保存当前配置,设置最新版本的wx5002.bin为默认启动文件,然后重新启动AC。
<AC>boot-loader file wx5002_.bin main
This command will set boot file, Continue? [Y/N]:y
The specified file will be used as the main boot file at the next reboot!
<AC>save config.cfg
The current configuration will be saved to flash:/config.cfg. Continue? [Y/N]:y
flash:/config.cfg exists, overwrite? [Y/N]:y
Now saving current configuration to the device.
Saving configuration flash:/config.cfg. Please wait...
...............
Configuration is saved to flash successfully.
<AC>startup saved-configuration config.cfg
Please wait ............. Done!
<AC>reboot
Start to check configuration with next startup configuration file, please wait
.........Checking is finished!
This will reboot device. Continue? [Y/N]:y
4. AP将自动从AC上面获取最新版本
这时,AP将通过CAPWAP隧道自动获取最新版本,并自动重启,使其生效。用命令display version查看AC的版本信息,已经显示为B05D005。大约2分钟左右,可以看到AP已经成功重新连接,并且版本已经更新为最新版本。
<AC>_ version
4.5 验证结果
# 在AC上查看AP状态,确认已经处于连接状态,并且ESS口处于UP状态
<AC>display wlan ap all
Total Number of APs configured: 1
Total Number of APs connected : 1
AP Profiles
------------------------------------------------------------------
AP Name APID State Model Serial-ID
------------------------------------------------------------------
testap 1 Run WA2100 x028652
------------------------------------------------------------------
<AC>display brief interface
The brief information of interface(s) under route mode:
Interface Link Protocol-link Protocol type Main IP
M-E1/0/1 UP DOWN ETHERNET --
NULL0 UP UP(spoofing) NULL --
Vlan1 UP UP ETHERNET 202.1.1.10
The brief information of interface(s) under bridge mode:
Interface Link Speed Duplex Link-type PVID
GE1/0/1 UP 1G(a) full(a) trunk 1
GE1/0/2 DOWN 1G(a) full(a) access 1
WLAN-ESS1 UP -- -- access 1
WLAN-DBSS1:1 UP -- -- access 1
<AC>





