< Home

ap update ftp-server

Function

The ap update ftp-server command configures basic FTP information, including the FTP server IP address, FTP server user name, and password.

The undo ap update ftp-server command restores default FTP settings.

By default, no IP address, user name, or password is configured for the FTP server.

Format

ap update ftp-server ip-address server-ip-address ftp-username ftp-username ftp-password cipher ftp-password

undo ap update ftp-server ip-address

Parameters

Parameter

Description

Value

ip-address server-ip-address

Specifies an IPv4 address for the FTP server.

The value is in dotted decimal notation.

ftp-username ftp-username

Specifies the FTP server user name.

The value is a string of 1 to 31 characters. The value cannot contain question marks (?) and cannot start or end with double quotation marks (" ") or spaces.

ftp-password

Specifies the password for logging in to the FTP server.

-

cipher

Specifies the password in ciphertext.

-

ftp-password

Specifies the FTP server password.

The value is a string of characters without question marks (?). It cannot start or end with double quotation marks (" ") or spaces. ftp-password contains 188 characters in cipher text, such as %^%#A<g;&zQR7P3TF+,[MxQ1X%4[2~Gb]Vp#(e<y:~)/%^%#. It can also be a string of 1 to 128 characters in plain text, such as huawei123.

Views

WLAN view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

  • The FTP configuration is used when the automatic upgrade and online upgrade modes are FTP. In the automatic upgrade or online upgrade, the AC sends basic FTP information to the AP, and the AP requests the FTP server for upgrade based on FTP information.
  • After running the ap update ftp-server command, you can perform the following operations:
    1. Run the ap update mode command to set the upgrade mode to ftp-mode.
    2. Run the ap update multi-load command to upgrade APs in batches.

Precautions

  • It is recommended that you use an external FTP server to upgrade APs. If the AC functions as the FTP server, a maximum of five APs can be upgraded simultaneously. If there are n login VTY users, the maximum number of APs that can be upgraded simultaneously is subtracted by n - 1.

  • The FTP server user name cannot contain the double quotation marks ("). Ensure that the FTP server user name and unencrypted password configured on the AC do not contain the preceding characters. Otherwise, FTP upgrade fails.

Example

# Configure the FTP server IP address, FTP server user name, and password.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap update ftp-server ip-address 192.168.1.100 ftp-username admin ftp-password cipher wlanadmin
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >