小灰的网工日常之华三瘦转胖AP,我与华三的又一段孽缘呀~~~

    话说临近国庆,项目前期眼看瞅着就要接近尾声,用户要在国庆前一天就要搬进新楼,享受空调WIFI美食,
            某公司的采购周期是出了名的长,但无线AP,AC还没到货怎么办?领导坐不住了,急吼吼的问网工:
            小灰啊,这款EWP-WA2610H-FIT 京东上有没有现货?“我查查,还真有”
            “好,没有AC控制器能不能玩的转?” “我来查一查,瘦AP转胖AP是可以行的通的” 
            (我感觉领导这话根本就不是问句啊...理论上可以啊,毕竟小灰以前见过瘦转胖的目录)
            “ 好,明天下午就能到货,还剩一天半时间了。抓紧。” 
            领导另辟蹊径,AP采购的事顺利拿下,下面该我出马了。
    瘦转胖AP容易,网上不有案例吗?
            不容易...
            第一,刚买回来的瘦AP是没有配置的!没有配置的!没有配置的!(重要的话说三遍  )
            要先通过AC将脚本配置传输到AP。怎么办?还好三期的AC WX3520H还能一用,
            (将一个楼层的交换机其余端口shutdown,释放license的招儿我也想出了)
            说干就干,把AC分配好网段给AP,AP顺利拿到地址,再通过TFTP方式传输倒入胖版本不就搞定了吗?
     (  呵呵,年轻人想法还是简单  )
     一看AP配置傻了,没有TFTP命令!什么,FTP也没有?WTF

    也不看看WX 3520H 是什么货?(采用H3C全新一代Comware V7网络操作系统平台(以下简称V7系统))
    倒入WA 2610H 那是V7版本啊?(so what?) WA2610H V7胖版本没有开发出来!只有V5的,
    所以没有TFTP命令行倒入V5胖版本。
    怎么办?
    华三V7瘦AP转V5胖AP。曲线救国。

  部分重要脚本配置如下:

interface Ethernet1/0/2
port access vlan 1000
port-isolate enable ##端口隔离 2口,3口不能互相访问

成都创新互联-专业网站定制、快速模板网站建设、高性价比泾县网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式泾县网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖泾县地区。费用合理售后完善,十年实体公司更值得信赖。

dis wlan ap name 模板名字(默认是AP的mac地址) verbose ##查看AP获取的地址

AC:wlan ap-execute 模板名字 exec-console enable ##开启telnet AP的权限

AP的默认password :h4capadmin

V7的H3C AC 3520H版本,下发给H3C EWP-WA2610H-FIT V7版本,
现在要把WA 2610H-FIT AP V7从瘦AP 切到 胖AP V5版 (H3C WA2610H 胖V7版本没开发出来)

WA2610H

  1. 打开设备外壳,里面有一个mini console 口 (有个迷你console口,good )

  2. 找到手机usb数据线(即一般手机数据传输充电线) console线就是原来安卓充电器用的那种传输线

  3. Usb端链接电脑,另一端链接 ap

  4. 在电脑上安装驱动

http://www.h4c.com/cn/d_201302/774009_30005_40.htm

  1. 驱动安装好后,电脑通信端口会生成一个com口

  2. 电脑通过crt登录设备命令行

  3. 参考如下文档将v7瘦版本切成v5胖版本

    参考案例:
    问题现象
    某局点现场一台V7的WA4320H-ACN设备,由于现有的AC设备上的license数量不足,需要将AP切换为胖AP使用。了解现场工程师的需求后,我们立即查找相应的资料并查找解决方法。经过查找资料确认该型号的AP胖版本只有V5的版本,所以需要将V7的瘦版本降级为V5的胖版本。
    告警信息
    经过查找官网软件版本后确认,该型号的AP仅有V5的胖版本
    原因分析
    该型号V7版本的瘦AP经过查阅资料确认,没有可以使用的V7的相应的适配胖版本,和现场工程师协商建议其将该AP降级为V5的胖AP。

    解决办法
    引导工程师做V7瘦版本降级V5胖版本的操作,操作过程如下:
    在AP的启动过程中

按下Ctrl+B进入AP的BOOTROM菜单


  • *
  • H3C WA2610H BootWare, Version 7.06 *
  • *

    Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

Compiled Date : May 15 2017
CPU Type : ATHEROS AR9531
CPU L1 Cache : 32KB
CPU Clock Speed : 650MHz
Memory Type : SDRAM
Memory Size : 128MB
Memory Speed : 450MHz
BootWare Size : 512KB
Flash Size : 16MB
PCB Version : Ver.A

BootWare Validating...
Press Ctrl+B to access EXTENDED-BOOTWARE MENU...

Password recovery capability is enabled.
Note: The current operating device is flash
Enter < Storage Device Operation > to select device.

====================================================
|<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 |

============================================================================
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format File System
Enter your choice(0-9): 3

====================================================
|Note:the operating device is flash |
|<1> Download Image Program To SDRAM And Run |
|<2> Update Main Image File |
|<3> Download Files(.) |
|<4> Modify Ethernet Parameter |
|<0> Exit To Main Menu

============================================================================
Enter your choice(0-4): 4

====================================================
Note: '.' = Clear field.
'-' = Go to previous field.

============================================================================
Protocol (FTP or TFTP) :tftp
Load File Name :host
:wa4300s_fat.bin ###导入已经下好的V5胖版本
Target File Name :target
:wa4300s_fat.bin
Server IP Address :192.168.1.1 192.168.0.20 (电脑IP)
Local IP Address :192.168.1.253 192.168.0.30 (AP IP)
Subnet Mask :0.0.0.0 255.255.255.0
Gateway IP Address :0.0.0.0

====================================================
|Note:the operating device is flash |
|<1> Download Image Program To SDRAM And Run |
|<2> Update Main Image File |
|<3> Download Files(.) |
|<4> Modify Ethernet Parameter |
|<0> Exit To Main Menu |

============================================================================
Enter your choice(0-4): 1
Loading.....................................................................
............................................................................
............................................................................
..Done.
11293696 bytes downloaded!
Extended BootWare Version is not equal,updating? [Y/N]Y ###此处开始boot版本替换,选Y
Updating Extended BootWare..........Done.
Basic BootWare Version is not equal,updating? [Y/N]Y ###选Y
Updating Basic BootWare..........Done.
BootWare updated,System is rebooting now.
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extend BootWare....
The Extend BootWare is self-decompressing.........................Done!


  • *
  • H3C WA2610H BootWare, Version 1.07 *
  • *

    Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

Compiled Date : Jun 19 2017
CPU Type : ATHEROS AR9531
CPU L1 Cache : 32KB
CPU Clock Speed : 650MHz
Memory Type : SDRAM
Memory Size : 128MB
Memory Speed : 450MHz
BootWare Size : 512KB
Flash Size : 16MB
PCB Version : Ver.A

Check net params crc error, use the default value
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.

======================================================
|<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 |

============================================================================
Ctrl+C: Display Copyright
Ctrl+F: Format File System ###执行Ctrl+F格式化操作
Enter your choice(0-9):
Warning:All files on flash will be lost! Are you sure to format? [Y/N]Y.....
............................................................................
..................
Format success. ###第一次TFTP传文件后格式化

###如果这边不停的格式化,然后重启进入系统,AP就有可能玩坏了。进入到一种貌似是胖AP但console操控不了的局面,貌似就因此玩坏了一个AP..
所以说瘦AP切胖AP真是有风险的!

======================================================
|<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 |

============================================================================
Ctrl+C: Display Copyright
Ctrl+F: Format File System
Enter your choice(0-9): 3

====================================================
|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 |

============================================================================
Enter your choice(0-3): 3

====================================================
|Note: '.' = Clear field. |
| '-' = Go to previous field. |
Ctrl+D = Quit.

Protocol (FTP or TFTP) :tftp
Load File Name :host
:wa4300s_fat.bin ###替换系统版本为胖版本
Target File Name :target
:wa4300s_fat.bin
Server IP Address :192.168.1.1 192.168.0.20
Local IP Address :192.168.1.253 192.168.0.30
Gateway IP Address :0.0.0.0

====================================================
|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 |

============================================================================
Enter your choice(0-3): 2 ### ###第二次TFTP传输后 Update Main Application File 升级主应用程序文件!
Loading.....................................................................
............................................................................
............................................................................
..Done!
11293696 bytes downloaded!
Updating File flash:/wa4300s_fat.bin........................................
............................................................................
...........................................................Done!

====================================================
|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 |

============================================================================
Enter your choice(0-3): 0

======================================================
|<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 |

============================================================================
Ctrl+C: Display Copyright
Ctrl+F: Format File System
Enter your choice(0-9): 0
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extend BootWare....
The Extend BootWare is self-decompressing.........................Done!


  • *
  • H3C WA2610H BootWare, Version 1.07 *
  • *

    Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

Compiled Date : Jun 19 2017
CPU Type : ATHEROS AR9531
CPU L1 Cache : 32KB
CPU Clock Speed : 650MHz
Memory Type : SDRAM
Memory Size : 128MB
Memory Speed : 450MHz
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...
Startup configuration file does not exist.
User interface con0 is available.

Press ENTER to get started.

#Jan 1 00:00:26:418 2009 WA2610H SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console
%Jan 1 00:00:26:418 2009 WA2610H SHELL/5/SHELL_LOGIN: Console logged in from con0.



dis ip int bri
dis ip int brief
down: administratively down
(s): spoofing (l): loopback
Interface Physical Protocol IP Address Description
Vlan1 up up 192.168.0.50 --
sys
System View: return to User View with Ctrl+Z.
[WA2610H]qu
save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(
.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait.......
Configuration is saved to device successfully.
y
^
% Unrecognized command found at '^' position.

sys
System View: return to User View with Ctrl+Z.
[WA2610H]int vlan 1
[WA2610H-Vlan-interface1]ip add 192.168.0.118 24
[WA2610H-Vlan-interface1]qu
[WA2610H]qu
save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait........
%Jan 1 00:00:57:227 2009 WA2610H WMAC/6/WMAC_CHANNEL_CHANGE: Channel change for APID 1, RadioId 1 from channel 0 to channel 11...
Configuration is saved to device successfully.


顺利拿到胖AP就没有坑了吗?
NO WAY .
配置胖AP,先打开无线任务,接入任务,新建SSID等功能子项,注意,密码千万要输正确咯。
绑定射频,开启后 发现,安卓手机能用,苹果手机用不了!
为啥?是不是加密方式有问题,
原来是DHCP池没有配DNS,苹果手机跟国产手机不通,没有DNS就认为网络不能用~
以上的坑印象最深,还有就是跳线会接触不良导致传输时断时续,刚开始AP获取IP时端口频繁UP,DOWN是正常的,要有耐心...

这次调AP确实遇到了坑,也怪我无线经验太少,加上又是时间紧张,饭没吃,觉没睡了,现在回想也是酸爽...还好顺利完成任务,回想起来那些坑倒是意犹未尽呐!


分享标题:小灰的网工日常之华三瘦转胖AP,我与华三的又一段孽缘呀~~~
网页URL:http://ybzwz.com/article/jeeppi.html