WAP712C-LI绿洲云版本如何改成瘦AP,能用命令行,因为用户那无法DHCP获取,所以需要手动填写IP关联AP,如何切换瘦AP命令行,还是登录AP的WEB直接就能设置ip就能用呢?
(0)
最佳答案
操作风险提示: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
当没有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 |
当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
(0)
您好,使用设备的默认ip:192.168.0.50/24,账号和密码:admin/h3capadmin,登入WEB页面后,在导航栏中选择“高级设置〉 形态切换”
(0)
192.168.0.50 ping 不通 我看AP后面的地址是myap.h3c.com 也上不去 无法获取到地址
192.168.0.50 ping 不通 我看AP后面的地址是myap.h3c.com 也上不去 无法获取到地址
通过console口连接AP
在AP重启的时候按住不停地按Ctrl+B进入设备的bootroom菜单,以下标黑部分为设备自动打印部分。
==========================<EXTENDED-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> Skip Authentication for Console Login |
|<9> Storage Device Operation |
|<0> Reboot |
===================================================================
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format File System
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Enter your choice(0-9): 此处按键 Ctrl+F,作用:格式化flash
Warning:All files on flash will be lost! Are you sure to format? [Y/N]Y //输入Y
...........................................................................................................................
Format success.
==========================<EXTENDED-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> Skip Authentication for Console Login |
|<9> Storage Device Operation |
|<0> Reboot |
===================================================================
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format File System
Ctrl+C: Display Copyright
Ctrl+Y: Change AP Mode
Enter your choice(0-9): //按键Ctrl+Y,设置ap胖模式或者瘦模式
Please select the new mode
Current mode is Fat //提示当前是fat胖模式
=====================================================================
|NO. Mode |
|1 Fat Mode |
|2 Fit Mode |
|0 Exit |
=====================================================================
Enter your choice(0-2):2 //输入2,即fit瘦模式
Warning:Change from fat mode to fit mode formats the storage medium! Are
you sure to continue ? [Y/N]Y //输入Y,确认切换成fit瘦模式
......................................................................................
Formatted the storage medium successfully!
Changed to fit mode successfully! //修改成fit瘦模式成功。
此时将ap和wx网络连通,ap上电启动获取ip地址后,会主动向ac获取版本文件自动更新到ap的flash中运行。
(1)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明