Example for Switching a Fit AP to the Fat Mode Using FTP
Applicable Scope
Applicable version: V200R007 and later versions
Applicable models:
AP Series |
AP Model |
---|---|
AP3000 |
AP3010DN-V2 and AP3030DN |
AP4000 |
AP4030DN, AP4030DN-E, and AP4130DN |
AP5000 |
AP5030DN, AP5030DN-S, and AP5130DN |
This example is also applicable to switching a Fit AP to the Fat mode using TFTP. Note the following differences:
- Configure the TFTP client software on the PC, which is not mentioned here.
- 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 to 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 4-13.
If the AP supports DC power supply and works with a power adapter, connect the AP to a PC 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.
Step |
Task |
---|---|
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. |
3 |
Start the switching: Execute commands sequentially in system view. ap-mode-switch prepare //The AP may need to be restarted depending on the AP status. ap-mode-switch check ap-mode-switch ftp filename server-ip-address user-name password [ port ] //The AP will restart. If TFTP is used, run the ap-mode-switch tftp filename server-ip-address command. 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
- Prepare the environment.
The following is used as an example. Prepare your environment based on site requirements.
Device
Description
PC
Operating system: Windows 7
STelnet client: PuTTY (third-party software)
FTP server software
AP
Model: AP5030DN
Version: V200R007C20
Default information:
- IP address: 169.254.1.1
- STelnet login port number: 22
- User names and passwords: The default username and password are available in WLAN Default Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained the access permission of the document, see Help on the website to find out how to obtain it.
# 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.
# Set FTP server parameters.
# Log in to Huawei enterprise technical support website (support.huawei.com/e), download the Fat AP software package, and store the package on the FTP directory.
- 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: //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 ...
- Start the switching.
# Prepare the switching.
[Huawei] ap-mode-switch prepare Info: Prepare is ok, Use ap-mode-switch command to switch to fat ap.
# Verify before the switching.
[Huawei] ap-mode-switch check Info: Ap-mode-switch check ok.
# 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
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
In V200R019C10 and later versions, the file name extension of the AP software package is changed from .bin to .cc.
- Verify the switching.
# Log in to the AP to view AP information. The AP is working in Fat mode.
login as: admin Further authentication required admin@169.254.1.1's password: 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. <Huawei> system-view [Huawei] display version Huawei Versatile Routing Platform Software VRP (R) software, Version 5.170 (AP5030DN FAT V200R007C20SPCa00) ...