溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

小灰的網(wǎng)工日常之華三瘦轉(zhuǎn)胖AP,我與華三的又一段孽緣呀~~~

發(fā)布時(shí)間:2020-07-08 06:03:44 來(lái)源:網(wǎng)絡(luò) 閱讀:2296 作者:搬磚的小灰 欄目:網(wǎng)絡(luò)安全
    話說(shuō)臨近國(guó)慶,項(xiàng)目前期眼看瞅著就要接近尾聲,用戶要在國(guó)慶前一天就要搬進(jìn)新樓,享受空調(diào)WIFI美食,
            某公司的采購(gòu)周期是出了名的長(zhǎng),但無(wú)線AP,AC還沒到貨怎么辦?領(lǐng)導(dǎo)坐不住了,急吼吼的問網(wǎng)工:
            小灰啊,這款EWP-WA2610H-FIT 京東上有沒有現(xiàn)貨?“我查查,還真有”
            “好,沒有AC控制器能不能玩的轉(zhuǎn)?” “我來(lái)查一查,瘦AP轉(zhuǎn)胖AP是可以行的通的” 
            (我感覺領(lǐng)導(dǎo)這話根本就不是問句啊...理論上可以啊,畢竟小灰以前見過(guò)瘦轉(zhuǎn)胖的目錄)
            “ 好,明天下午就能到貨,還剩一天半時(shí)間了。抓緊?!?
            領(lǐng)導(dǎo)另辟蹊徑,AP采購(gòu)的事順利拿下,下面該我出馬了。
    瘦轉(zhuǎn)胖AP容易,網(wǎng)上不有案例嗎?
            不容易...
            第一,剛買回來(lái)的瘦AP是沒有配置的!沒有配置的!沒有配置的?。ㄖ匾脑捳f(shuō)三遍  )
            要先通過(guò)AC將腳本配置傳輸?shù)紸P。怎么辦?還好三期的AC WX3520H還能一用,
            (將一個(gè)樓層的交換機(jī)其余端口shutdown,釋放license的招兒我也想出了)
            說(shuō)干就干,把AC分配好網(wǎng)段給AP,AP順利拿到地址,再通過(guò)TFTP方式傳輸?shù)谷肱职姹静痪透愣藛幔?     (  呵呵,年輕人想法還是簡(jiǎn)單  )
     一看AP配置傻了,沒有TFTP命令!什么,F(xiàn)TP也沒有?WTF

    也不看看WX 3520H 是什么貨?(采用H3C全新一代Comware V7網(wǎng)絡(luò)操作系統(tǒng)平臺(tái)(以下簡(jiǎn)稱V7系統(tǒng)))
    倒入WA 2610H 那是V7版本?。?so what?) WA2610H V7胖版本沒有開發(fā)出來(lái)!只有V5的,
    所以沒有TFTP命令行倒入V5胖版本。
    怎么辦?
    華三V7瘦AP轉(zhuǎn)V5胖AP。曲線救國(guó)。

  部分重要腳本配置如下:

interface Ethernet1/0/2
port access vlan 1000
port-isolate enable ##端口隔離 2口,3口不能互相訪問

dis wlan ap name 模板名字(默認(rèn)是AP的mac地址) verbose ##查看AP獲取的地址

AC:wlan ap-execute 模板名字 exec-console enable ##開啟telnet AP的權(quán)限

AP的默認(rèn)password :h4capadmin

V7的H3C AC 3520H版本,下發(fā)給H3C EWP-WA2610H-FIT V7版本,
現(xiàn)在要把WA 2610H-FIT AP V7從瘦AP 切到 胖AP V5版 (H3C WA2610H 胖V7版本沒開發(fā)出來(lái))

WA2610H

  1. 打開設(shè)備外殼,里面有一個(gè)mini console 口 (有個(gè)迷你console口,good )

  2. 找到手機(jī)usb數(shù)據(jù)線(即一般手機(jī)數(shù)據(jù)傳輸充電線) console線就是原來(lái)安卓充電器用的那種傳輸線!

  3. Usb端鏈接電腦,另一端鏈接 ap

  4. 在電腦上安裝驅(qū)動(dòng)

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

  1. 驅(qū)動(dòng)安裝好后,電腦通信端口會(huì)生成一個(gè)com口

  2. 電腦通過(guò)crt登錄設(shè)備命令行

  3. 參考如下文檔將v7瘦版本切成v5胖版本

    參考案例:
    問題現(xiàn)象
    某局點(diǎn)現(xiàn)場(chǎng)一臺(tái)V7的WA4320H-ACN設(shè)備,由于現(xiàn)有的AC設(shè)備上的license數(shù)量不足,需要將AP切換為胖AP使用。了解現(xiàn)場(chǎng)工程師的需求后,我們立即查找相應(yīng)的資料并查找解決方法。經(jīng)過(guò)查找資料確認(rèn)該型號(hào)的AP胖版本只有V5的版本,所以需要將V7的瘦版本降級(jí)為V5的胖版本。
    告警信息
    經(jīng)過(guò)查找官網(wǎng)軟件版本后確認(rèn),該型號(hào)的AP僅有V5的胖版本
    原因分析
    該型號(hào)V7版本的瘦AP經(jīng)過(guò)查閱資料確認(rèn),沒有可以使用的V7的相應(yīng)的適配胖版本,和現(xiàn)場(chǎng)工程師協(xié)商建議其將該AP降級(jí)為V5的胖AP。

    解決辦法
    引導(dǎo)工程師做V7瘦版本降級(jí)V5胖版本的操作,操作過(guò)程如下:
    在AP的啟動(dòng)過(guò)程中

按下Ctrl+B進(jìn)入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 ###導(dǎo)入已經(jīng)下好的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 ###執(zhí)行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傳文件后格式化

###如果這邊不停的格式化,然后重啟進(jìn)入系統(tǒng),AP就有可能玩壞了。進(jìn)入到一種貌似是胖AP但console操控不了的局面,貌似就因此玩壞了一個(gè)AP..
所以說(shuō)瘦AP切胖AP真是有風(fēng)險(xiǎn)的!

===========================<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 ###替換系統(tǒng)版本為胖版本
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 升級(jí)主應(yīng)用程序文件!
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<hh4cLogIn>: 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,先打開無(wú)線任務(wù),接入任務(wù),新建SSID等功能子項(xiàng),注意,密碼千萬(wàn)要輸正確咯。
綁定射頻,開啟后 發(fā)現(xiàn),安卓手機(jī)能用,蘋果手機(jī)用不了!
為啥?是不是加密方式有問題,
原來(lái)是DHCP池沒有配DNS,蘋果手機(jī)跟國(guó)產(chǎn)手機(jī)不通,沒有DNS就認(rèn)為網(wǎng)絡(luò)不能用~
以上的坑印象最深,還有就是跳線會(huì)接觸不良導(dǎo)致傳輸時(shí)斷時(shí)續(xù),剛開始AP獲取IP時(shí)端口頻繁UP,DOWN是正常的,要有耐心...

這次調(diào)AP確實(shí)遇到了坑,也怪我無(wú)線經(jīng)驗(yàn)太少,加上又是時(shí)間緊張,飯沒吃,覺沒睡了,現(xiàn)在回想也是酸爽...還好順利完成任務(wù),回想起來(lái)那些坑倒是意猶未盡吶!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI