< Home

ap update sftp-server

Function

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.

Format

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

Parameters

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.

Views

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.

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.

Example

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

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap update sftp-server ip-address 192.168.1.100 sftp-username admin sftp-password cipher wlanadmin
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >