The ap update sftp-server command configures basic SFTP information, including the IP address, user name, and password of the SFTP server.
The undo ap update sftp-server command restores default SFTP settings.
By default, no IP address, user name, or password is configured for the SFTP server.
ap update sftp-server ip-address server-ip-address sftp-username sftp-username sftp-password cipher sftp-password
undo ap update sftp-server ip-address
Parameter |
Description |
Value |
---|---|---|
ip-address server-ip-address |
Specifies an IPv4 address for the SFTP server. |
The value is in dotted decimal notation. |
sftp-username sftp-username |
Specifies the SFTP 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. |
sftp-password |
Specifies the password for logging in to the SFTP server. |
- |
cipher |
Specifies the password in ciphertext. |
- |
sftp-password |
Specifies the SFTP server password. |
The value is a string of characters without question marks (?). It cannot start or end with double quotation marks (" ") or spaces. sftp-password can be up to 188 characters in ciphertext, such as %^%#A<g;&zQR7P3TF+,[MxQ1X%4[2~Gb]Vp#(e<y:~)/%^%#. It also can be a string of 1 to 128 characters in plaintext, such as huawei123. |
Usage Scenario
Precautions
It is recommended that you use an external SFTP server to upgrade APs. If the AC functions as the SFTP 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.
APs do not support the double quotation marks ("). Ensure that the SFTP server user name and unencrypted password configured on the AC do not contain the preceding characters. Otherwise, SFTP upgrade fails.