< Home

easy-operation client sftp-server

Function

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

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

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

Format

easy-operation client sftp-server ip-address ipaddress &<1-4> [ username username [ password password ] ]

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

Parameters

Parameter Description Value
ip-address ipaddress Specifies the IP address of an SFTP server. The value is in dotted decimal notation.
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 command to specify IP addresses, user names, and passwords for the servers.

Precautions

  • The easy-operation client sftp-server 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 command in the system view to delete the specified IP addresses, user names, and passwords of SFTP servers.
  • 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.
  • A maximum of four SFTP file servers' IP addresses, user names, and passwords can be specified. A device searches for and obtains the desired files from the servers in the sequence in which file servers are configured.
  • Ensure that the files to be downloaded have been uploaded to the specified file servers.

Example

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

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