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 of the FTP server is configured, and the user name and password on the FTP server both have default settings. 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.
Format
ap update ftp-server { ip-address server-ip-address | ipv6-address server-ipv6-address } ftp-username ftp-username ftp-password cipher ftp-password
undo ap update ftp-server
Parameters
Parameter |
Description |
Value |
---|---|---|
ip-address server-ip-address |
Specifies an IPv4 address for the FTP server. |
The value is in dotted decimal notation. |
ipv6-address server-ipv6-address | Specifies an IPv6 address for the FTP server. |
The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
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 cipher text. |
- |
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:~)/%^%#. ftp-password also can be a string of 1 to 128 characters in plain text, such as huawei123. |
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:
- Run the ap update mode command to set the upgrade mode to ftp-mode.
- 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 15 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.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] ap update ftp-server ip-address 192.168.1.100 ftp-username admin ftp-password cipher wlanadmin
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] ap update ftp-server ipv6-address fc::01 ftp-username admin ftp-password cipher wlanadmin