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 FTP server IP address is configured, the FTP server user name is anonymous, the FTP server password is anonymous@huawei.com.
Format
ap update ftp-server ip-address server-ip-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. |
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 five APs can be upgraded simultaneously. When the AC functions as an FTP server, the number of VTY users is the reduced number of APs that can be upgraded simultaneously.
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.