No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
ap update sftp-server

ap update sftp-server


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

The undo ap update sftp-server command restores default sftp settings.

By default, no SFTP server IP address is configured, the SFTP server user name is anonymous, the SFTP server password is


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


Specifies the password for logging in to the sftp server.



Specifies the password in cipher text.



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 cipher text, such as %^%#A<g;&zQR7P3TF+,[MxQ1X%4[2~Gb]Vp#(e<y:~)/%^%#. sftp-password also can be a string of 1 to 128 characters in plain text, such as huawei123.


WLAN view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

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


  • 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. When the AC functions as an SFTP server, the number of VTY users is the reduced number of APs that can be upgraded simultaneously.

  • APs do not support the following characters:". Ensure that the sftp server user name and unencrypted password configured on the AC do not contain the preceding characters. Otherwise, sftp upgrade fails.


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

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap update sftp-server ip-address sftp-username admin sftp-password cipher wlanadmin
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 116922

Downloads: 83

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next