小灰的网工日常之华三瘦转胖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口不能互相访问

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

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

AP的默认password :h3capadmin

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.h3c.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.

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

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

==========================<Enter Ethernet SubMenu>==========================
|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

==========================<ETHERNET PARAMETER SET>========================== 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

==========================<Enter Ethernet SubMenu>==========================
|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.

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

============================================================================
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真是有风险的!

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

============================================================================
Ctrl+C: Display Copyright
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 |

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

==========================<ETHERNET PARAMETER SET>==========================
|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

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

============================================================================
Enter your choice(0-3): 2 ### ###第二次TFTP传输后 Update Main Application File 升级主应用程序文件!
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 |

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

============================================================================
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.
<WA2610H>
#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<hh3cLogIn>: login from Console
%Jan 1 00:00:26:418 2009 WA2610H SHELL/5/SHELL_LOGIN: Console logged in from con0.
<WA2610H>
<WA2610H>
<WA2610H>
<WA2610H>dis ip int bri
<WA2610H>dis ip int brief
down: administratively down
(s): spoofing (l): loopback
Interface Physical Protocol IP Address Description
Vlan1 up up 192.168.0.50 --
<WA2610H>sys
System View: return to User View with Ctrl+Z.
[WA2610H]qu
<WA2610H>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.
<WA2610H>y
^
% Unrecognized command found at ‘^‘ position.
<WA2610H>
<WA2610H>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
<WA2610H>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.
<WA2610H>
<WA2610H>



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

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

原文地址:http://blog.51cto.com/376932937/2288067

时间: 2024-11-10 03:26:34

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

网易云首席安全架构师谈安全新形势:DDoS两三天,游戏玩家数从几万降到几百

欢迎访问网易云社区,了解更多网易技术产品运营经验. 安全是一个永恒的话题,在业务不断云化.攻击越来越复杂的当下,互联网安全呈现了出什么样的严峻形势?对这些形势,网易云又是如何应对的? 网易云首席安全架构师沈明星 4月13日,网易云易盾&CNCERT闭门安全沙龙在杭州举行,在沙龙上网易云首席安全架构师沈明星分享了他的认识和思考. 安全风险正呈不断升级状态 似乎是为了表明网易安全在安全界的能力担当,在分享一开始沈明星首先介绍了网易公司的业务以及网易安全团队.他说,网易公司业务遍及电商.教育.互娱.社

斗争程序猿(三十九)——历史朝代大学(三)——我知道几乎满足

文/温国兵 遥望2011年的某个惶惶岁月,那是我与知乎相识的日子. 排除知乎站点的内測用户,我应该算得上第一批用户. 那时知乎网还未开放注冊,仅仅能通过好友邀请注冊,我费了九牛二虎之力,申请了好几次,才拥有了知乎账号.作为一个真实的问答社区.从近几年的运营来看,知乎是成功的. 尽管外界曾质疑知乎站点的盈利模式.但不可否认知乎是伟大的. 众所周知.知乎的原型是国外的Quora.曾经一直以为Quora是多么的神圣.直到今年注冊并使用后,才发觉知乎在用户体验上一点不逊色于Quora.好的站点当如知乎,

Python之路【第三篇补充】:Python基础(三)

lambda表达式 学习条件运算时,对于简单的 if else 语句,可以使用三元运算来表示,即: # 普通条件语句 if 1 == 1: name = ‘luotianshuai' else: name = 'shuaige' # 三元运算 name = 'luotianshuai' if 1 == 1 else 'shuaige' #这个就是if else的一个简写. #if 条件成立的时候name为'luotianshuai' 不成立的时候为:'shuaige' ,语法糖! 那么函数有没有

RHCS(三)之quorum机制测试(阶段三、四、结论)

阶段三:我们这次试一下非正常退出 模拟宕机方法: 方法一:虚拟机挂起 方法二:echoc>/proc/sysrq-trigger 恢复所有节点(略) [[email protected] ~]# cman_tool status -- Nodes: 4 Expected votes: 8 Total votes: 8 Node votes: 2 Quorum: 5  -- =====Step1:对web3节点进行模拟故障===== [[email protected] ~]# ssh [emai

第 三 十 一 天:shell 脚本 (三)

小Q :你可以从别人那里得到思想,你的思想方法,即熔铸思想的模子必须是 你自己的.                                   ----拉姆 就像我以前说的,因为有c等编程语言作基础,学起shell来感觉会很轻松,我都不知道要 怎么记笔记了,感觉还是那些知识,记得太详细的话,知识点太多,不过太零散,就大致 记了一下: 就像我们老师说的:关于编程,我不要求你什么语句都懂,我给你要求,你只要给我画出他 的流程图就行.是啊,其实编程为什么注重多看多写,就是要你遇到问题可以在你脑

js日期/时间比较函数,以及js校验表单后提交表单的三种方法,表单验证,以及三种结合

<pre class="html" name="code"> js日期比较(yyyy-mm-dd) function duibi(a, b) { var arr = a.split("-"); var starttime = new Date(arr[0], arr[1], arr[2]); var starttimes = starttime.getTime(); var arrs = b.split("-");

2016级算法第三次上机-C.AlvinZH的奇幻猜想——三次方

905 AlvinZH的奇幻猜想--三次方 思路 中等题.题意简单,题目说得简单,把一个数分成多个立方数的和,问最小立方数个数. 脑子转得快的马上想到贪心,从最近的三次方数往下减,反正有1^3在最后撑着保证减完.不好意思这是错的,因为1,27,64,125...等立方数之间并不是倍数关系,不能构成贪心策略.举个反例:96=64+8+8+8+8=64+27+1+1+1+1+1,答案明显是5,而贪心会算到7. 既然不是贪心,那就是DP了,没毛病.先讲一下常规做法吧,是这样想的:相当于把一个数化成几份

编写一个程序,求出200到300之间的数,且满足条件:它们三个数字之积为42,三个数字之和为12

//定义变量ge.shi.bai,用于存放个位.十位.百位上的数字 int number=0; //使用for循环 for(number=200;number<300;number++) { //取出百位数 int bai=number/100; //取出十位数 int shi=number%100/10; //取出个位数 int ge=number%10; //计算三个数字之积 int cheng=ge*shi*bai; //计算三个数字之和 int jia=ge+shi+bai; //如果积

从第五到第三,浪潮依靠敏捷,从第三到第一,则需要“智慧”

IPF2018,浪潮明确了下一个五年计划. "在2022年前,浪潮服务器全球第一."×××院士.浪潮集团执行总裁王恩东说. 动力何在? 如果说,从第五到第三,浪潮是依靠敏锐.敏捷: 但从第三到第一,则需要"智慧计算"和"智慧生态". "浪潮爽约"与"浪潮速度" 时间回溯至2015年.此年浪潮提出"计算+"战略,也提出了当时的五年计划,即到2020年,成为全球服务器市场前三.当然,浪潮已经