No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

WLAN V200R008C10 Typical Configuration Examples

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Switching a Fit AP to the Fat Mode Using SFTP

Example for Switching a Fit AP to the Fat Mode Using SFTP

Applicable Scope

Applicable version: V200R007, V200R008, V200R009 and V200R010

Applicable models: AP5050DN-S, AP2051DN, AP2051DN-S, AP2051DN-E, AP1050DN-S, AD9431DN-24X, AP2050DN, AP2050DN-S, AP2050DN-E, AP4050DN-HD, AP4050DN-E, AP7050DN-E, AP7050DE, AD9430DN-12, AD9430DN-24, AP6150DN, AP6050DN, AP8130DN, AP8030DN, AP4050DN, AP4051DN, AP4151DN, AP4050DN-S, AP8050DN, AP8150DN, AP8050DN-S, AP4051TN, AP6052DN, AP7052DN, AP7152DN, AP7052DE, AP8050TN-HD, AP8082DN, AP8182DN,

For APs in factory defaults, it is recommended that you switch the working mode of an AP by referring to Example for Switching a Fit AP with Factory Defaults to the Fat Mode by One Command.

This example is also applicable to switching a Fit AP to the Fat mode using FTP or TFTP. Note the following differences:

  • Configure the FTP or 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 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-12.

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.

Figure 4-12 AP-PC connection diagram

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.

Procedure

Task

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.

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:

  • FTP mode: ap-mode-switch fat ftp filename server-ip-address user-name password [ port ]
  • TFTP mode: ap-mode-switch fat tftp filename server-ip-address

4

Verify the switching: Log in to the AP again and check the working mode of the AP.

Configuration Procedure

  1. 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)

    SFTP server: FreeSSHd (third-party software)

    AP

    Model: AP4050DN

    Version: V200R007C20

    Default information:

    • IP address: 169.254.1.1
    • User name: admin
    • Password: admin@huawei.com
    • 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.

    # Log in to Huawei enterprise technical support website (support.huawei.com/e), download the Fat AP software package, and store the package on the PC.

    # 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:

    • Set the IP address and port number for the client to access the server. Retain the default settings here.

    • Set the authentication mode so that the password is required for the client to access the server.

    • Select a local directory to provide file services for the client. Store the downloaded software package in this directory.

    • Add a user to verify identity information entered by the client to ensure access security.

    • Enable the SFTP service.

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

  3. Start the switching.

    # Enable the first-time authentication function on the AP working as an SSH client.

    <Huawei> system-view
    [Huawei] ssh client first-time enable

    # 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......
    
    Info: system is rebooting ,please wait...
    NOTE:

    If FTP or TFTP is used, specify the following parameters in the switching command (as an example):

    • FTP mode: ap-mode-switch fat ftp Fat&CloudAP4050DN_V200R007C20SPCa00.bin 169.254.1.100 huawei huawei123
    • TFTP mode: ap-mode-switch fat tftp Fat&CloudAP4050DN_V200R007C20SPCa00.bin 169.254.1.100

  4. 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:admin@huawei.com
    
    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 (AP4050DN FAT V200R007C20SPCa00)
    ...

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
Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000184389

Views: 91174

Downloads: 460

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next