< Home

easy-operation client sftp-server-url

Function

The easy-operation client sftp-server-url command specifies URLs, user names, and passwords for SFTP servers on a pre-delivery device.

The undo easy-operation client sftp-server-url command deletes the specified URLs, user names, and passwords of SFTP servers on a pre-delivery device.

By default, URLs, user names, and passwords of SFTP servers are not specified on pre-delivery devices.

Format

easy-operation client sftp-server-url url-address [ username username [ password password ] ]

undo easy-operation client sftp-server-url [ url-address ] [ username username ] [ password ]

Parameters

Parameter Description Value
url-address Specifies the URL of an SFTP server. The value is a string of 1 to 64 characters.
username username Specifies a user name for SFTP server access. The value is a string of 1 to 64 characters.
password password Specifies a password for SFTP server access. The value is a string of 1 to 16 characters in plaintext or 48 characters in ciphertext.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After a device obtains file information to be downloaded from an intermediate file, it must download the specified files from file servers. To allow the device to visit the servers, run the easy-operation client sftp-server-url command to specify URLs, user names, and passwords for the SFTP servers on the device.

Precautions

  • The easy-operation client sftp-server-url command is contained only in a device's pre-delivery configuration file. It is not allowed to run this command after device delivery.
  • If you do not want to use the pre-configured device deployment function, run the undo easy-operation client sftp-server-url command in the system view to delete the specified URLs, user names, and passwords of SFTP servers.

  • You can specify an SFTP server using either an IP address or URL.
  • If a user name and a password have been set on a file server, the device must have the same user name and password configured.
  • Ensure that the files to be downloaded have been uploaded to the specified file servers.

Example

# Delete the URL, user name, and password of an SFTP server.

<HUAWEI> system-view
[HUAWEI] undo easy-operation client sftp-server-url www.1234.com username huawei password
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >