Professional Documents
Culture Documents
AP Mode Switching - Overview, Configuration Examples, and Troubleshooting
AP Mode Switching - Overview, Configuration Examples, and Troubleshooting
Issue 02
Date 2019-08-31
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: http://e.huawei.com
Contents
1 Introduction.................................................................................................................................... 1
2 Understanding Modes Supported by APs................................................................................2
3 Understanding APs Support Mode Switching........................................................................ 3
4 Understanding the Default Mode of an AP............................................................................. 4
5 How to Check the Current Working Mode of an AP............................................................. 5
6 How to Switch the Working Mode of an AP............................................................................7
7 AP Mode Switching Examples....................................................................................................9
7.1 Example for Switching a Fit AP with Factory Defaults to the Fat Mode by One Click................................................ 9
7.2 Example for Switching a Fit AP to the Fat Mode Using SFTP....................................................................................13
7.3 Example for Switching a Fit AP to the Fat Mode Using FTP...................................................................................... 23
7.4 Example for Switching an Online Fit AP to the Fat Mode Through the AC............................................................... 28
7.5 Example for Switching a Fit AP to the Fat Mode Using Uboot...................................................................................33
8 Troubleshooting.......................................................................................................................... 39
9 Related Information.................................................................................................................... 40
1 Introduction
This document describes AP modes and APs supporting mode switching, and provides
detailed mode switching examples and troubleshooting measures.
Fit Typically deployed in Agile Campus Medium- and large-sized campus WLAN
Network Solution, Fit APs are
managed by an AC and receive
configurations from the AC. STA
access is also controlled by the AC.
Most Huawei APs can switch between different modes. The only difference may lie in
versions, for example, APs in V200R007C20 do not support the cloud mode, while those in
V200R007C10 and V200R008 support.
To find out modes supported by a specified AP model or versions supported by a specified AP
mode, refer to Quick Reference for WLAN AP Modes.
After downloading the table, filter out the specified AP model in AP Model. The following
uses the AP4050DN as an example.
It is found that the AP4050DN can work in Fit or Fat mode from V200R007C20, and has also
supported the cloud mode since V200R008C00.
There are three modes for checking the current working mode of an AP:
Log in to the AP and check its working mode using the CLI. Connect a PC to the AP using an
Ethernet cable. Enter identity information and log in to the AP. The working mode of the AP
is automatically displayed.
Log in to the AP and check its working mode on the web platform. Connect a PC to the AP
using an Ethernet cable. Enter the IP address of the AP in the browser. The working mode of
the AP is automatically displayed on the login page.
Determine the working mode by searching for Wi-Fi signals using a mobile phone. Enable
Wi-Fi on a mobile phone and search for signals around the AP. Determine the working mode
of the AP based on the signal name. This mode eliminates the need of an Ethernet cable but is
not applicable to any scenario. APs only in the specified state and version can transmit Wi-Fi
signals. This method allows you to determine the working mode of the AP whose state and
version you are not sure of. If the working mode of the AP cannot be determined, connect a
PC to the AP using an Ethernet cable.
l CLI
Connect a PC to the AP. Configure the IP address of the PC to locate on the same
network segment as the AP. For the connection mode, see 7 AP Mode Switching
Examples.
On the PC, log in to the AP using an SSH client. The working mode of the AP is
displayed upon successful login.
Info: Current mode: Fit (managed by the AC).
l Web platform
Connect a PC to the AP. Configure the IP address of the PC to locate on the same
network segment as the AP. Enter http://IP address of the AP (default IP address of an
AP: 169.254.1.1) in the browser of the PC. On the page that is displayed, the working
mode of the AP can be found. For details about cable connections, see 7 AP Mode
Switching Examples.
– Fit mode: Fit is displayed.
From V200R007C10, the offline management VAP is enabled by default after a Fit AP is powered
on, allowing for wireless connections. After the AP goes online on the AC, the offline
management VAP is disabled and will not be enabled when the AP goes offline. From V200R009,
the offline management VAP is enabled automatically when a Fit AP goes offline from the AC.
Fat mode: From V200R007C20, an AP in factory defaults transmits the Wi-Fi signal
with the name of HUAWEI-XXXX, which allows for direct access of mobile phones.
XXXX is the last 4 digits of the AP's MAC address. Enter http://192.168.1.1 in the
browser. The login page of the web platform is displayed. For the sake of security, it is
recommended that you delete the default signal during AP configuration.
Cloud mode: An AP in factory defaults or offline state transmits the Wi-Fi signal with
the name of hw-manage-xxxx, which allows for direct access of mobile phones. xxxx is
the last 4 digits of the AP's MAC address.
NOTE
To switch a Fat AP of an earlier version to Fit AP, upgrade the upgrade assistant package. If the upgrade
assistant package is not verified or upgraded, the AP mode switching fails.
When switching the AP mode across versions, for example, from Fat AP of V200R007C10 to Fit AP of
V200R008C10 (skipping V200R007C20), ensure that the version of the upgrade assistant package is the
same as the software version.
FIT FAT When an AP is online, switch its mode on the AP upgrade page on the web
platform of the AC. (7.4 Example for Switching an Online Fit AP to the
Fat Mode Through the AC)
When an AP is offline, log in to the AP and switch its working mode using
the CLI. (7.1 Example for Switching a Fit AP with Factory Defaults to
the Fat Mode by One Click)
Clou When an AP is online, switch its mode on the AP upgrade page on the web
d platform of the AC.
When an AP is offline, log in to the AP and switch its working mode using
the CLI. If the AP is in factory defaults, its working mode can be
automatically switched after you configure the cloud management platform
and DHCP server. Alternatively, use the CloudCampus APP to connect to
the AP for manual switching.
FAT FIT On the System Upgrade page of the web platform, specify the backup
startup system software, upload the Fit software package as the backup, and
specify the Fit AP mode on the Device Restart page.
Clou Specify the cloud mode on the Device Restart page of the web platform.
d
Clou FIT Log in to the AP and switch its working mode using the CLI.
d
FAT Log in to the AP and switch its working mode using the CLI.
7.1 Example for Switching a Fit AP with Factory Defaults to the Fat Mode by One Click
7.2 Example for Switching a Fit AP to the Fat Mode Using SFTP
7.3 Example for Switching a Fit AP to the Fat Mode Using FTP
7.4 Example for Switching an Online Fit AP to the Fat Mode Through the AC
7.5 Example for Switching a Fit AP to the Fat Mode Using Uboot
NOTE
With factory defaults, the local configuration of an AP is not modified, and the AP has not obtained the
new configuration from an AC.
For other models, see 7.3 Example for Switching a Fit AP to the Fat Mode Using FTP.
Networking Scenario
To use a new AP independently provide Wi-Fi coverage, you need to switch the AP to the Fat
mode and deploy services through the web platform or other way.
Connect the AP to a PC through an Ethernet cable in a proper mode, as shown in Figure 7-1.
When the AP supports DC power supply and works with a power adapter, connect the AP to
the AC directly through an Ethernet cable. If the AP does not support DC power supply or no
adapter is available, supply PoE power to the AP. In this case, connect the AP to the PC
through a PoE device.
Quick Configuration
This section helps you quickly configure an AP, without the need to read the entire document.
If you are not familiar with the product or operation, read the detailed guidance in the
following sections.
Pr Task
oc
ed
ur
e
1 Prepare the environment: Configure the IP address of the PC and STelnet client,
check network connectivity between the AP and PC, and observe indicator states.
2 Check AP information: On the PC, log in to the AP through STelnet to check the
version and working mode of the AP.
3 Start the switching: Run the ap-mode-switch fat command in the system view to
switch the working mode of the AP. The AP then restarts.
4 Verify the switching: Log in to the AP again and check the working mode of the AP.
Configuration Procedure
Step 1 Prepare the environment.
The following is used as an example. Prepare your environment based on site requirements.
D Description
ev
ic
e
A Model: AP4050DN
P Version: V200R007C20
Default information:
l IP address: 169.254.1.1
l User name: admin
l Password: admin@huawei.com
l STelnet login port number: 22
# Power on the AP. The indicator is green for around 2 minutes during the startup. When the
indicator blinks, the AP is started successfully.
# Set the IP address of the PC to 169.254.1.100 and mask to 255.255.0.0 so that the PC and
AP are located on the same network segment.
Step 2 Check AP information.
# Open PuTTY on the PC, enter the IP address and port number of the AP, select the SSH
mode, and click Open. If a key pair information prompt is displayed, click Yes.
# When the following information is displayed, the AP is connected successfully. Enter the
user name and password to log in to the AP.
login as: admin
Further authentication required
admin@169.254.1.1's password:admin@huawei.com //For information security,
characters you entered are invisible.
Info: Current mode: Fit (managed by the AC). //The current mode is Fit.
Info: You are advised to change the password to ensure security.
<Huawei>
# Check AP information.
<Huawei> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AP4050DN FIT V200R007C20SPCa00) //Model,
working mode, and version
...
----End
FAQ
An error message is displayed when you run a mode switching command.
[Huawei] ap-mode-switch fat
Error: The fat mode does not exist. To switch to the fat AP mode, run the ap-mode-
switch fat tftp/ftp/sftp command.
The AP is not in factory defaults and therefore cannot be switched to the Fat mode by one
click. In this case, switch the working mode of the AP using SFTP. For details, see 7.2
Example for Switching a Fit AP to the Fat Mode Using SFTP.
For APs in factory defaults, it is recommended that you switch the working mode of an AP by
referring to 7.1 Example for Switching a Fit AP with Factory Defaults to the Fat Mode by
One Click.
For other models, see 7.3 Example for Switching a Fit AP to the Fat Mode Using FTP.
This example is also applicable to switching a Fit AP to the Fat mode using FTP or TFTP.
Note the following differences:
l Configure the FTP or TFTP client software on the PC, which is not mentioned here.
l Different parameters are used in the command for switching the AP mode and are
described in the procedure.
Networking Scenario
To use a new AP independently provide Wi-Fi coverage, you need to switch the AP to the Fat
mode and deploy services through the web platform or other way.
Connect the AP to a PC through an Ethernet cable in a proper mode, as shown in Figure 7-2.
When the AP supports DC power supply and works with a power adapter, connect the AP to
the AC directly through an Ethernet cable. If the AP does not support DC power supply or no
adapter is available, supply PoE power to the AP. In this case, connect the AP to the PC
through a PoE device.
When the PC serves as an SFTP server, prepare the Fat AP software package for the AP to
obtain through SFTP.
Quick Configuration
This section helps you quickly configure an AP, without the need to read the entire document.
If you are not familiar with the product or operation, read the detailed guidance in the
following sections.
Pr Task
oc
ed
ur
e
1 Prepare the environment: Configure the IP address, STelnet client, and SFTP server
software on the PC. Download the Fat AP software package of the target version to
the SFTP server. Check network connectivity and the indicator states of the AP.
Pr Task
oc
ed
ur
e
2 Check AP information: On the PC, log in to the AP through STelnet to check the
version and working mode of the AP.
3 Start the switching: Run the ap-mode-switch fat sftp filename server-ip-address
user-name password [ port ] command in the system view. The AP restarts.
If FTP or TFTP is used, run the following command:
l FTP mode: ap-mode-switch fat ftp filename server-ip-address user-name
password [ port ]
l TFTP mode: ap-mode-switch fat tftp filename server-ip-address
NOTE
For the support for FTP, SFTP, and TFTP modes by different models and versions, see the Fit AP
Command Reference. Select a proper mode as required.
4 Verify the switching: Log in to the AP again and check the working mode of the AP.
Configuration Procedure
Step 1 Prepare the environment.
The following is used as an example. Prepare your environment based on site requirements.
Dev Description
ice
AP Model: AP4050DN
Version: V200R007C20
Default information:
l IP address: 169.254.1.1
l User name: admin
l Password: admin@huawei.com
l STelnet login port number: 22
# Power on the AP. The indicator is on for around 2 minutes during the startup. When the
indicator blinks, the AP is started successfully.
# Set the IP address of the PC to 169.254.1.100 and mask to 255.255.0.0 so that the PC and
AP are located on the same network segment.
# Open FreeSSHd on the PC, and set SFTP server parameters:
l Set the IP address and port number for the client to access the server. Retain the default
settings here.
l Set the authentication mode so that the password is required for the client to access the
server.
l Select a local directory to provide file services for the client. Store the downloaded
software package in this directory.
l Add a user to verify identity information entered by the client to ensure access security.
# When the following information is displayed, the AP is connected successfully. Enter the
user name and password to log in to the AP.
login as: admin
Further authentication required
admin@169.254.1.1's password:admin@huawei.com //For information security,
characters you entered are invisible.
Info: Current mode: Fit (managed by the AC). //The current mode is Fit.
Info: You are advised to change the password to ensure security.
<Huawei>
# Check AP information.
<Huawei> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AP4050DN FIT V200R007C20SPCa00) //Model,
working mode, and version
...
# Switch the AP mode to Fat. Set the file name (including the extension) of the target
software package, IP address, user name, and password of the SFTP server. The AP will
restart and the restart takes around 2 minutes.
[Huawei] ap-mode-switch fat sftp Fat&CloudAP4050DN_V200R007C20SPCa00.bin
169.254.1.100 huawei huawei123
Warning: The system will reboot and start in fat mode of V200R007C20SPCa00.
Continue? (y/n)[n]:y
Warning: Do Not Power-off!
..................................................................................
........................
End of file......
NOTE
If FTP or TFTP is used, specify the following parameters in the switching command (as an example):
l FTP mode: ap-mode-switch fat ftp Fat&CloudAP4050DN_V200R007C20SPCa00.bin
169.254.1.100 huawei huawei123
l TFTP mode: ap-mode-switch fat tftp Fat&CloudAP4050DN_V200R007C20SPCa00.bin
169.254.1.100
----End
FAQ
An error message is displayed when you run a mode switching command.
[Huawei] ap-mode-switch fat sftp Fat&CloudAP4050DN_V200R007C20SPCa00.bin
169.254.1.100 huawei huawei@123
Warning: The system will reboot and start in fat mode of V200R007C20SPCa00.
Continue? (y/n)[n]:y
Warning: Do Not Power-off!
.
Error: Upgrade failed due to a failure in downloading the version file.
The public key for the SSH server is not configured on the AP. When the AP accesses the
SSH server for the first time, authentication fails.
Run the ssh client first-time enable command in the system view to allow the AP to access
the server. The public key will be saved and used for authentication on the server.
[Huawei] ssh client first-time enable
Networking Scenario
To use a new AP independently provide Wi-Fi coverage, you need to switch the AP to the Fat
mode and deploy services through the web platform or other way.
Connect the AP to a PC through an Ethernet cable in a proper mode, as shown in Figure 7-3.
When the AP supports DC power supply and works with a power adapter, connect the AP to
the AC directly through an Ethernet cable. If the AP does not support DC power supply or no
adapter is available, supply PoE power to the AP. In this case, connect the AP to the PC
through a PoE device.
When the PC serves as an FTP server, prepare the Fat AP software package for the AP to
obtain through FTP.
Quick Configuration
This section helps you quickly configure an AP, without the need to read the entire document.
If you are not familiar with the product or operation, read the detailed guidance in the
following sections.
Pr Task
oc
ed
ur
e
1 Prepare the environment: Configure the IP address, STelnet client, and FTP server
software on the PC. Download the Fat AP software package of the target version to
the FTP server. Check network connectivity and the indicator states of the AP.
2 Check AP information: On the PC, log in to the AP through STelnet to check the
version and working mode of the AP.
Pr Task
oc
ed
ur
e
4 Verify the switching: Log in to the AP again and check the working mode of the AP.
Configuration Procedure
Step 1 Prepare the environment.
The following is used as an example. Prepare your environment based on site requirements.
Dev Description
ice
AP Model: AP5030DN
Version: V200R007C20
Default information:
l IP address: 169.254.1.1
l User name: admin
l Password: admin@huawei.com
l STelnet login port number: 22
# Power on the AP. The indicator is on for around 2 minutes during the startup. When the
indicator blinks, the AP is started successfully.
# Set the IP address of the PC to 169.254.1.100 and mask to 255.255.0.0 so that the PC and
AP are located on the same network segment.
l Add a user to verify identity information entered by the client to ensure access security.
# When the following information is displayed, the AP is connected successfully. Enter the
user name and password to log in to the AP.
login as: admin
Further authentication required
admin@169.254.1.1's password:admin@huawei.com //For information security,
characters you entered are invisible.
Info: Current mode: Fit (managed by the AC). //The current mode is Fit.
Info: You are advised to change the password to ensure security.
<Huawei>
# Check AP information.
<Huawei> display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AP5030DN FIT V200R007C20SPCa00) //Model,
working mode, and version
...
# Switch the AP mode to Fat. Set the file name (including the extension) of the target
software package, IP address, user name, and password of the FTP server. The AP will restart
and the restart takes around 2 minutes.
[Huawei] ap-mode-switch ftp FatAP5X30XN_V200R007C20SPCa00.bin 169.254.1.100
huawei huawei123
Warning: Do Not Power-off.........
Info: Upgrade upgrade-assistant-package successfully!
Warning: System will reboot, if you want to switch to upgrade-assistant-package.
Are you sure to execute these operations ? [Y/N]: y
NOTE
If TFTP is used, specify the following parameters in the switching command (as an example).
ap-mode-switch tftp FatAP5X30XN_V200R007C20SPCa00.bin 169.254.1.100
----End
Applicable models: APs supporting both the Fit and Fat modes
In centralized management mode, you can manage the upgrade and mode switching for a
single AP or APs of the same model or in the same group on the AC. This example describes
how to switch the working mode of a single AP.
Networking Scenario
Log in to the AC through the web platform, without the need to adjust the networking or cable
connection.
Quick Configuration
This section helps you quickly configure an AP, without the need to read the entire document.
If you are not familiar with the product or operation, read the detailed guidance in the
following sections.
Pr Task
oc
ed
ur
e
1 Prepare the environment: Download the Fat AP software package of the target
version to the PC where you log in to the AC.
2 Check AP information: Log in to the web platform of the AC, choose Monitoring >
AP, and view information about the AP, including the IP address, model, and version.
3 Load the software package to the AP: Choose Maintenance > AP Maintenance >
AP Upgrade, select the upgrade mode, and upload the software package, and
upgrade the AP. You can check the upgrade progress on the Upgrade Status page.
The upgrade state is displayed success after around 2 minutes (requiring mode
switching).
NOTE
To switch the working mode for APs in a batch, select an AP model or group on this page to
determine the upgrade scope and select the immediate or scheduled upgrade mode.
4 Start the switching: Choose Configuration > AP Config > AP Config, and modify
AP mode as fat. The AP restarts. The restart takes around 2 minutes.
5 Verify the switching: Log in to the AC using the CLI console on the web platform,
STelnet to the AP and check the working mode of the AP.
Configuration Procedure
Step 1 Prepare the environment.
The following is used as an example. Prepare your environment based on site requirements.
Dev Description
ice
Dev Description
ice
AC Model: AC6605
Version: V200R007C20
Management IP address: 169.254.1.1
Administrator account: Telnet and web platform
l User name: admin
l Password: huawei@123
AP Model: AP4050DN
Version: V200R007C20
Information for the radio used by the AP to go online:
l IP address: 192.168.10.227
l User name: admin (default)
l Password: admin@huawei.com (default)
l STelnet login port number: 22 (default)
# Click the Upgrade Status tab to upgrade the AP upgrade progress. The upgrade takes
around 2 minutes.
# Select AP, click Modify, select AP mode as fat, and click OK. The AP will restart and the
restart takes around 2 minutes.
# In the Telnet window, enter the user name and password to log in to the AC, STelnet to the
AP to view AP information. The AP is working in Fat mode.
Warning: Telnet is not a secure protocol, and it is recommended to use Stelnet.
Login authentication
Username:admin
Password:huawei@123 //For information security, characters you entered are
invisible.
<AC6605> system-view
Enter system view, return user view with Ctrl+Z.
[AC6605] stelnet 192.168.10.227 //Log in to the target AP from the AC.
Please input the username:admin
Trying 192.168.10.227 ...
Press CTRL+K to abort
Connected to 192.168.10.227 ...
Enter password:admin@huawei.com //For information security, characters you
entered are invisible.
Info: Current mode: Fat (working independently).
Warning: The default country code is CN. Ensure that AP radio attributes comply
with laws and regulations in different countries. Do you want to change the
country code? [Y/N]:n
Info: You are advised to change the password to ensure security.
<ap1> system-view
[ap1] display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (AP4050DN FAT V200R007C20SPCa00)
...
----End
Applicable model: APs that support the Fit and Fat modes and have a console port
Networking Scenario
If the mode switching using the preceding methods fails, you can use the Uboot mode to
switch the AP mode.
Connect the AP to a PC through an Ethernet cable in a proper mode, as shown in Figure 7-4.
When the AP supports DC power supply and works with a power adapter, connect the AP to
the AC directly through an Ethernet cable. If the AP does not support DC power supply or no
adapter is available, supply PoE power to the AP. In this case, connect the AP to the PC
through a PoE device.
When the PC serves as a TFTP server, prepare the Fat AP software package for the AP to
obtain through TFTP.
Quick Configuration
This section helps you quickly configure an AP, without the need to read the entire document.
If you are not familiar with the product or operation, read the detailed guidance in the
following sections.
Proce Task
dure
1 Prepare the environment: Download the Fat AP software package of the target
version to the PC. Configure the IP address for the PC and specify the TFTP tool
directory to the same as that for storing the software package on the PC. Check
network connectivity and the indicator states of the AP.
Proce Task
dure
2 Start the switching: Restart the AP, enter the Uboot CLI view, configure the IP
addresses of the AP and TFTP server, and run the update system filename
command. Restart the AP again.
3 Verify the switching: Log in to the AP again and check the working mode of the
AP.
Configuration Procedure
Step 1 Prepare the environment.
The following is used as an example. Prepare your environment based on site requirements.
Dev Description
ice
AP Model: AP4050DN
Version: V200R007C20
Default information:
l Baud rate (B): 9600
l Data bits (D): 8
l Parity (P): None
l Stop bits (S): 1
l Flow control (F): None
l Uboot password: admin@huawei.com
# Open PuTTY on the PC, set Connection type to Serial, enter the COM port, and click
Open.
# Configure IP addresses for the AP and TFTP server to be in the same network segment so
that the AP can obtain the target software package from the TFTP server.
ar7240> setenv ipaddr 192.168.56.2 #IP address of the AP
ar7240> setenv serverip 192.168.56.1 #IP address of the TFTP server
ar7240> saveenv
Saving Environment to Flash...
Erasing Flash...Writing to Flash... done
##################
done
......
......
The current device is a FIT AP, but the upgrade package is for a FAT&CLOUD AP. C
ontinue? [y/n]:y
Warning: Do Not Power-Off!
................................................................................
............Done
Warning: Do Not Power-Off!
...Done
Upgrade nor Boot Successful
Writing Version to Flash...
Set Boot KernelA Address: 0x1c0f000
Erasing SPI flash...Writing to SPI flash...done
Warning: The backup software system of the AP supports the fat and cloud modes.
To retain the default mode (fat), please input 'Y' or 'y'. Alternatively, please
select a mode (fat/cloud):fat //To switch to the cloud mode, enter cloud.
Info: The system will start in default(Fat) mode. Please restart the system.
Upgrade Firmware to A Successful
----End
8 Troubleshooting
For details about how to troubleshoot failures to switch between the Fat and Fit AP modes,
see Fit AP and Fat AP Mode Switching Failure.
9 Related Information