首頁 資訊 大佬們,華三AP怎么胖瘦模式切換啊?

大佬們,華三AP怎么胖瘦模式切換?。?/h1>
來源:泰然健康網(wǎng) 時間:2025年01月05日 20:47

WA系列AP胖瘦模式切換操作指導

一、應用環(huán)境:

對于無線新開局的項目來說,WA系列AP發(fā)貨的自帶版本可根據(jù)項目需要向供應鏈提出要求。但實際使用中,有的時候需要把現(xiàn)網(wǎng)的AP進行胖瘦模式的切換,多數(shù)情況下一線工程師習慣使用ap-mode命令切換工作模式,卻發(fā)現(xiàn)有的時候執(zhí)行完該命令后AP無法正常啟動或者下載版本,只能通過串口登陸設備通過bootrom升級,當涉及多臺AP時會耗費大量時間。因此,在進行WA系列AP胖瘦模式切換操作時,建議按照本指導進行操作。

二、組網(wǎng)需求:

WX系列AC(無線控制器),F(xiàn)it AP(無線接入點),POE交換機。

三、組網(wǎng)圖:

    任意AC(無線控制器)+ Fit AP(無線接入點)組網(wǎng)(略)

四、操作步驟:

本操作步驟指導適用于WA全系列AP。首先,我們需要了解ap-mode命令的工作原理。這條命令在切換AP工作模式的同時格式化了AP的flash。當flash被格式化后,AP就必須從AC上獲取或者手工上傳相應的版本bin文件。針對不同的應用場景,我們建議要求的操作指導也不相同。

1、現(xiàn)網(wǎng)有AC的場景:

當AC存在的場景下,我們推薦使用ap-mode命令完成AP的Fat轉(zhuǎn)Fit的切換,在AP上執(zhí)行該命令前,必須確認AC上的bin文件版本配套一致以及AC側(cè)配置并使能了dhcp server。當執(zhí)行完命令后,AP的flash會被格式化,然后重啟獲得ip地址后在AC上下載對應版本。具體操作過程如下所示:

//查看當前的bin文件

<WA2610H-GN>dir

Directory of flash:/

   0     -rw-   9124864  Apr 26 2000 18:14:29   wa2600a_fat.bin

15057 KB total (6144 KB free)

//配置模式切換命令

<WA2610H-GN>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已經(jīng)下載完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.

2、  現(xiàn)網(wǎng)無AC但AP本身有串口的場景:

當沒有AC存在的場景下,如果AP本身有串口,我們根據(jù)不同的場景推薦可以使用以下兩種方式完成胖瘦模式切換:

(1)當AP的flash足夠大時,我們可以通過FTP或者TFTP方式將Fit的bin文件上傳到flash里,同時在命令行下通過boot-loader命令指定啟動文件,然后reboot完成切換。當然亦可采用ap-mode命令進行切換,只是需要通過串口登陸設備在bootrom下完成Fit版本上傳。

(2)當AP的flash只能容納一個bin文件時,我們可以手工刪除掉當前的版本文件,其余的操作與方法(1)完全一致。下面以Fit轉(zhuǎn)Fat為例,通過配置boot-loader指定啟動文件完成模式切換:

//查看當前的bin文件

<ap2>dir

Directory of flash:/

   0     -rw-   6638592  Apr 26 2000 12:04:05   wa2600a_fit.bin

15057 KB total (8572 KB free)

//采用TFTP上傳bin文件

<ap2>tftp 192.168.0.3 get wa2600a_fat.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

<ap2>dir

Directory of flash:/

   0     -rw-   6638592  Apr 26 2000 12:04:05   wa2600a_fit.bin

15057 KB total (8572 KB free)

//刪除當前的Fit版本bin文件

<ap2>delete /unreserved ?

  STRING  [drive][path][file name]

  flash:  Device name

<ap2>delete /unreserved flash:/wa2600a_fit.bin

The contents cannot be restored!!! Delete flash:/wa2600a_fit.bin?[Y/N]:y

Deleting a file permanently will take a long time. Please wait...

...........................................................................................................

%Delete file flash:/wa2600a_fit.bin...Done.

<ap2>dir                                      

% Device can't be found or file can't be found in the directory

15057 KB total (15055 KB free)

//再次使用TFTP上傳bin文件

<ap2>tftp 192.168.0.3 get wa2600a_fat.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.

<ap2>dir

Directory of flash:/

   0     -rw-   9124864  Apr 26 2000 18:14:29   wa2600a_fat.bin

15057 KB total (6144 KB free)

//指定boot-loader啟動文件

<ap2>boot-loader file flash:/wa2600a_fat.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啟動文件

<ap2>dis boot-loader

  The current boot app is: flash:/wa2600a_fit.bin

  The app that will boot upon reboot is: flash:/wa2600a_fat.bin

//執(zhí)行reboot重啟命令

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

3、現(xiàn)網(wǎng)無AC同時AP本身也沒有串口的場景:

針對這種情況,我們要求不能使用ap-mode命令切換,一旦切換就無法現(xiàn)場恢復了。我們建議此場景下,刪除flash里的app文件后上傳新的bin文件,然后通過boot-loader指定啟動文件后重啟。如果dir發(fā)現(xiàn)flash里有startup.cfg的文件,建議刪除后再執(zhí)行reboot命令。目前沒有串口的AP只有WA2610H-GN這款AP,因此在實際開局和維護時一定要格外注意。

五、配置關(guān)鍵點及注意事項:

針對三種不同場景,我們給出相應的操作指導。在操作過程中,切記執(zhí)行reboot命令前,選擇“是否保存當前配置”時選擇“N”,否則可能造成AP無法登陸的情況,特別是設備沒有串口的情況下該故障只能返修無法現(xiàn)場恢復。

補充一下,目前AC的B109分支版本將wa2600a_fit.bin和wa2600ae_fit.bin的文件合并為一個bin文件,因此在升級B109分支版本時,需要將以前的bin文件全部刪除再上傳新的bin文件。升級中,嚴禁只上傳AC的bin文件就重啟設備,這樣可能導致在線的AP下載老的bin文件造成AP版本錯誤掛死,這種情況下只能通過bootrom升級恢復。

相關(guān)知識

手臂胖了怎么瘦啊
問:健身大佬們,減脂時期飲食怎么搭配
昔日減肥大佬“綠瘦”,換個“馬甲”轉(zhuǎn)戰(zhàn)港股
模特們都是怎么瘦身的?
吃減肥藥變胖了怎么辦啊
模特們都是怎么保持身材的?
綠瘦到底怎么樣啊
怎樣減大腿啊
華為運動健康登山模式怎么打開
超模們怎么保持身材

網(wǎng)址: 大佬們,華三AP怎么胖瘦模式切換?。?/a> http://www.u1s5d6.cn/newsview1031513.html

推薦資訊