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