AP胖瘦切换实验
1.在华三官网下载所需要的文件
将里面的bin文件改名为“wa4300_fat.bin”
2.使用3CD软件搭建TFTP服务器,并将胖版本导入到TFTP服务器上
3.AP上电后,在crt中按ctrl+B进入到bootrom菜单【该过程中如果是V7瘦AP,涉及到两次上传版本,第一次选择|<1> Download Application Program To SDRAM And Run 第二次选择|<2> Update Main Application File;如果是V5瘦AP,只传一次版本选择<2> Update Main Application File】
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extend BootWare
The Extend BootWare is self-decompressing.............................Done!
****************************************************************************
* *
* H3C WAP712C BootWare, Version 1.06 *
* *
****************************************************************************
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.
Compiled Date : Mar 27 2017
CPU Type : ATHEROS AR9563
CPU L1 Cache : 32KB
CPU Clock Speed : 775MHz
Memory Type : SDRAM
Memory Size : 128MB
Memory Speed : 560MHz
BootWare Size : 512KB
Flash Size : 16MB
PCB Version : Ver.A
BootWare Validating...
Press Ctrl+B to enter extended boot menu...
BootWare password: Not required. Please press Enter to continue.
Password recovery capability is enabled.
Note: The current operating device is flash
Enter < Storage Device Operation > to select device.
===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
Enter your choice(0-9): 3
==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash |
|<1> Download Application Program To SDRAM And Run |
|<2> Update Main Application File |
|<3> Modify Ethernet Parameter |
|<0> Exit To Main Menu |
|<Ensure The Parameter Be Modified Before Downloading!> |
============================================================================
Enter your choice(0-3): 3 //修改以太网参数,有可能选5,请根据实际情况选择
==========================<ETHERNET PARAMETER SET>==========================
|Note: '.' = Clear field. |
| '-' = Go to previous field. |
| Ctrl+D = Quit. |
============================================================================
Protocol (FTP or TFTP) :tftp tftp //不管看到什么输入tftp
Load File Name :wa4300s_fat.bin
: wa4300_fat.bin //输入更改过后的文件名字
Target File Name :wa4300s_fat.bin
: wa4300_fat.bin
Server IP Address :192.168.0.1 192.168.0.1 //PC的ip地址,这个ip只是举例
Local IP Address :192.168.0.50 192.168.0.50 //指定AP的ip和PC同一网段
Gateway IP Address :0.0.0.0
==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash |
|<1> Download Application Program To SDRAM And Run |
|<2> Update Main Application File |
|<3> Modify Ethernet Parameter |
|<0> Exit To Main Menu |
|<Ensure The Parameter Be Modified Before Downloading!> |
============================================================================
Enter your choice(0-3): 1
Loading.....................................................................
............................................................................
............................................................................
..Done!
11293696 bytes downloaded!
Updating File flash:/wa4300s_fat.bin........................................
............................................................................
...........................................................Done! //上传完成
上传完成后设备会再次重启
****************************************************************************
* *
* H3C WAP712C BootWare, Version 1.06 *
* *
****************************************************************************
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.
Compiled Date : Mar 27 2017
CPU Type : ATHEROS AR9563
CPU L1 Cache : 32KB
CPU Clock Speed : 775MHz
Memory Type : SDRAM
Memory Size : 128MB
Memory Speed : 560MHz
BootWare Size : 512KB
Flash Size : 16MB
PCB Version : Ver.A
BootWare Validating...
Press Ctrl+B to enter extended boot menu...
BootWare password: Not required. Please press Enter to continue.
Password recovery capability is enabled.
Note: The current operating device is flash
Enter < Storage Device Operation > to select device.
===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
为防止AP空间不够,选择Ctrl+F再格式化一次。格式化之后:
===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
Enter your choice(0-9): 3
==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash |
|<1> Download Application Program To SDRAM And Run |
|<2> Update Main Application File |
|<3> Modify Ethernet Parameter |
|<0> Exit To Main Menu |
|<Ensure The Parameter Be Modified Before Downloading!> |
============================================================================
Enter your choice(0-3): 3 //修改以太网参数,有可能选5,请根据实际情况选择
==========================<ETHERNET PARAMETER SET>==========================
|Note: '.' = Clear field. |
| '-' = Go to previous field. |
| Ctrl+D = Quit. |
============================================================================
Protocol (FTP or TFTP) :tftp tftp //不管看到什么输入tftp
Load File Name :wa4300s_fat.bin
: wa4300_fat.bin //输入更改过后的文件名字
Target File Name :wa4300s_fat.bin
: wa4300_fat.bin
Server IP Address :192.168.0.1 192.168.0.1 //PC的ip地址,这个ip只是举例
Local IP Address :192.168.0.50 192.168.0.50 //指定AP的ip和PC同一网段
Gateway IP Address :0.0.0.0
==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash |
|<1> Download Application Program To SDRAM And Run |
|<2> Update Main Application File |
|<3> Modify Ethernet Parameter |
|<0> Exit To Main Menu |
|<Ensure The Parameter Be Modified Before Downloading!> |
============================================================================
Enter your choice(0-3): 2
Loading.....................................................................
............................................................................
............................................................................
..Done!
11293696 bytes downloaded!
Updating File flash:/wa4300s_fat.bin........................................
............................................................................
...........................................................Done! //上传完成
==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is flash |
|<1> Download Application Program To SDRAM And Run |
|<2> Update Main Application File |
|<3> Modify Ethernet Parameter |
|<0> Exit To Main Menu |
|<Ensure The Parameter Be Modified Before Downloading!> |
============================================================================
Enter your choice(0-3): 0 //回到主菜单
===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
Enter your choice(0-9): 4 //输入4查看文件
===============================<File CONTROL>===============================
|Note:the operating device is flash |
|<1> Display All File(s) |
|<2> Set Application File type |
|<3> Delete File |
|<0> Exit To Main Menu |
============================================================================
Enter your choice(0-3): 1 //输入1查看所有文件
Display all file(s) in flash:
'M' = MAIN 'B' = BACKUP 'S' = SECURE 'N/A' = NOT ASSIGNED
============================================================================
|NO. Size(B) Time Type Name |
|1 388 Jan/01/2009 00:09:07 N/A private-data.txt |
|2 1418 Jan/01/2009 00:09:10 N/A startup.cfg |
|3 294 Jan/01/2009 00:09:08 N/A system.xml |
|4 11293696 Aug/08/2008 20:00:00 M wa4300s_fat.bin //ap的版本
============================================================================
===============================<File CONTROL>===============================
|Note:the operating device is flash |
|<1> Display All File(s) |
|<2> Set Application File type |
|<3> Delete File |
|<0> Exit To Main Menu |
============================================================================
Enter your choice(0-3): 0 //按0返回主菜单
===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
============================================================================
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Ctrl+F: Format File System
Enter your choice(0-9): 1 //输入1引导系统文件
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extend BootWare
The Extend BootWare is self-decompressing.............................Done!
****************************************************************************
* *
* H3C WAP712C BootWare, Version 1.06 *
* *
****************************************************************************
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.
Compiled Date : Mar 27 2017
CPU Type : ATHEROS AR9563
CPU L1 Cache : 32KB
CPU Clock Speed : 775MHz
Memory Type : SDRAM
Memory Size : 128MB
Memory Speed : 560MHz
BootWare Size : 512KB
Flash Size : 16MB
PCB Version : Ver.A
BootWare Validating...
Press Ctrl+B to enter extended boot menu...
Starting to get the main application file--flash:/wa4300s_fat.bin!..........
............................................................................
............................................................................
...........
The App file is self-decompressing..........................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
...........................................................Done!
System application is starting...
User interface con0 is available.
Press ENTER to get started.
<WAP712C>dir //查看所有文件,切为胖版本完成
Directory of flash:/
0 -rw- 1418 Jan 01 2009 00:09:10 startup.cfg
1 -rw- 294 Jan 01 2009 00:09:08 system.xml
2 -rw- 11293696 Aug 08 2008 20:00:00 wa4300_fat.bin
15057 KB total (4021 KB free)
(0)
本手册适用于如下产品:WAP712C、WAP722E、WAP722S、WAP722、WAP621、WA1208、WA2110-GN、WA2200、WA2600、WA3600、WA4300
操作风险提示:AP胖切瘦有风险,操作不当或者意外断电会导致设备故障,操作需谨慎。当AC存在的场景下,我们推荐使用Ap-mode命令完成AP的Fat转Fit的切换,在AP上执行该命令前,必须确认AC上的bin文件版本配套一致以及AC侧配置并使能了Dhcp server。当执行完命令后,AP的flash会被格式化,然后重启获得ip地址后在AC上下载对应版本。可以Telnet或者Console登入到命令行进行操作,具体操作过程如下所示,
//查看当前的bin文件,以下标黑部分为设备自动打印部分,标红加粗的命令是需要手动输入。
<H3C>dir
Directory of flash:/
0 -rw- 9124864 Apr 26 2000 18:14:29 wa2600a_fat.bin
15057 KB total (6144 KB free)
//配置模式切换命令
<H3C>ap-mode fit
Change working mode will reboot system, do you want to continue? [Y/N]:y
Change working mode to FIT now? [Y/N]:y
//从无线控制器上查看信息:AP从AC上获取ip地址
%Apr 26 18:21:20:262 2000 WX3024-AC DHCPS/5/DHCPS_ALLOCATE_IP: DHCP server information: Server IP = 192.168.0.1, DHCP client IP = 192.168.0.2, DHCP client hardware address = 7425-8a33-8170, DHCP client lease = 86400.
//AP开始从AC上下载bin文件
%Apr 26 18:21:24:788 2000 WX3024-AC LWPS/6/LWPS_IMG_DOWNLOAD_START:
Image download in progress for AP ap2.
#Apr 26 18:21:33:642 2000 WX3024-AC LWPS/4/Download Image Successfully: Download Image Successfully:1.3.6.1.4.1.2011.10.2.75.2.3.0.14<h3cDot11APImgDwldSuccess> Serial Id:219801A0FH9136Q00287 AP Name:ap2 IP:192.168.0.2 Version:V100R001B01D001
%Apr 26 18:21:33:672 2000 WX3024-AC LWPS/6/LWPS_IMG_DOWNLOAD_COMPLETE:
Image download process completed for AP ap2.
//这时AP已经下载完bin文件,重启中
%Apr 26 18:22:03:101 2000 WX3024-AC DHCPS/5/DHCPS_RECLAIM_IP: DHCP server information: Server IP = 192.168.0.1, DHCP client IP = 192.168.0.2, DHCP client hardware address = 7425-8a33-8170, DHCP client lease = 86400.
%Apr 26 18:23:23:841 2000 WX3024-AC DHCPS/5/DHCPS_ALLOCATE_IP: DHCP server information: Server IP = 192.168.0.1, DHCP client IP = 192.168.0.2, DHCP client hardware address = 7425-8a33-8170, DHCP client lease = 86400.
//AP切换为Fit模式后注册到AC上
#Apr 26 18:23:28:381 2000 WX3024-AC LWPS/4/Tunnel Up: Tunnel Up:1.3.6.1.4.1.2011.10.2.75.1.3.0.1<h3cDot11ACMtTunnelSetupTrap> Serial Id:219801A0FH9136Q00287 UpInfo:1 AP Name:ap2 IPv4:192.168.0.2 IPv6:-NA- FirstTrapTime:2291326 AP MAC:74:25:8A:33:81:70
#Apr 26 18:23:28:412 2000 WX3024-AC IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.4<linkUp>: Interface 12976129 is Up, ifAdminStatus is 1, ifOperStatus is 1
%Apr 26 18:23:28:432 2000 WX3024-AC LWPS/6/LWPS_AP_UP:
Connection with AP ap2 goes operational.
%Apr 26 18:23:28:443 2000 WX3024-AC IFNET/3/LINK_UPDOWN: WLAN-DBSS10:3 link status is UP.
%Apr 26 18:23:28:453 2000 WX3024-AC IFNET/3/LINK_UPDOWN: WLAN-ESS10 link status is UP.
当AC存在的场景下,也可以登入胖AP的浏览器界面进行形态切换,切换前,必须确认AC上的bin文件版本配套一致以及AC侧配置并使能了Dhcp server。当点击切换后,AP的flash会被格式化,然后重启获得Ip地址后在AC上下载对应版本。具体操作过程如下所示:
使用设备的默认ip:192.168.0.50/24,账号和密码:admin/h3capadmin,登入WEB页面后,将设备从Fat AP模式切换为Fit AP模式。在导航栏中选择“高级设置〉 形态切换”,进入形态切换页面,如下图所示。单击<切换>按钮完成操作。
当没有AC存在的场景下,如果AP本身有串口,我们根据不同的场景推荐可以使用以下方式完成胖瘦模式切换:
当AP的flash足够大时,我们可以通过FTP或者TFTP方式将Fit的bin文件上传到flash里,同时在命令行下通过boot-loader命令指定启动文件,然后Reboot完成切换。Fit的版本可以从官网上找到,找到无线控制器(wac360/361)的版本,下载压缩包,里面会包含相关AP的fit的版本
AP型号 |
文件名 |
H3C WAP621 |
wa2600a_fit.bin |
H3C WAP722 |
wa4300_fit.bin |
H3C WAP722E | |
H3C WAP722S |
wa4300s_fit.bin |
H3C WAP712C | |
H3C WAP712H |
当AP的flash只能容纳一个bin文件时,可以手工删除掉当前的版本文件,其余的操作参考:现网有AC的场景(命令行)。下面以Fat转为Fit例,通过配置boot-loader指定启动文件完成模式切换。先通过telnet或者console登入到胖ap命令行。
//查看当前的bin文件,,以下标黑部分为设备自动打印部分,标红加粗的命令是需要手动输入。
<H3C>dir
Directory of flash:/
0 -rw- 6638592 Apr 26 2000 12:04:05 wa2600a_fat.bin
15057 KB total (8572 KB free)
电脑网卡设置为:192.168.0.1/ 255.255.255.0,设置和胖AP同一网段的Ip,如下例子打开TFTP服务器,把软件版本WA2600a_fit.bin放到电脑桌面上,TFTP服务器目录指向电脑桌面,如下例子然后点击确定
//采用TFTP上传bin文件,以下标黑部分为设备自动打印部分,标红加粗的命令是需要手动输入。
<H3C>tftp 192.168.0.1 get wa2600a_fit.bin
.. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait....................................................................................................................................................................................................................
//提示flash空间不足
Failed to write data into storage device, maybe no enough space on device
<H3C>dir
Directory of flash:/
0 -rw- 6638592 Apr 26 2000 12:04:05 wa2600a_fat.bin
15057 KB total (8572 KB free)
//删除当前的Fit版本bin文件
< H3C>delete /unreserved ?
STRING [drive][path][file name]
flash: Device name
<ap2>delete /unreserved flash:/wa2600a_fat.bin
The contents cannot be restored!!! Delete flash:/wa2600a_fat.bin?[Y/N]:y
Deleting a file permanently will take a long time. Please wait...
...........................................................................................................
%Delete file flash:/wa2600a_fat.bin...Done.
< H3C>dir
% Device can't be found or file can't be found in the directory
15057 KB total (15055 KB free)
//再次使用TFTP上传bin文件
< H3C>tftp 192.168.0.3 get wa2600a_fit.bin
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait.........................................................................
TFTP: 9124864 bytes received in 70 second(s)
File downloaded successfully.
< H3C>dir
Directory of flash:/
0 -rw- 9124864 Apr 26 2000 18:14:29 wa2600a_fat.bin
15057 KB total (6144 KB free)
//指定boot-loader启动文件
< H3C>boot-loader file flash:/wa2600a_fit.bin
This command will set the boot file. Continue? [Y/N]:y
The specified file will be used as the boot file at the next reboot on slot 1!
//查看当前的boot-loader启动文件
< H3C>dis boot-loader
The current boot app is: flash:/wa2600a_fat.bin
The app that will boot upon reboot is: flash:/wa2600a_fit.bin
//执行reboot重启命令
< H3C>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
//这里提示是否保存配置时一定选择N
This command will reboot the device. Current configuration will be lost, save current configuration? [Y/N]: N
This command will reboot the device. Continue? [Y/N]:y
先通过console线进入bootrom菜单,具体的操作,参考《AP瘦切胖配置案例(Bootrom)》,需要把胖AP( fat)版本换成瘦AP(fit)版本通过tftp服务器上传加载。
WAP722E和WAP722没有console口,针对这种情况,不能使用ap-mode命令切换,一旦切换就无法现场恢复。建议此场景下,telnet到胖ap上后,删除flash里的app文件后上传新的bin文件,然后通过boot-loader指定启动文件后重启。如果dir发现flash里有startup.cfg的文件,建议删除后再执行reboot命令。因此在实际开局和维护时一定要格外注意。参考《现网无AC同时AP本身有串口的场景(命令行)》。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论