< Home

tftp-server/sftp-server/ftp-server

Function

The tftp-server command configures the TFTP server IP address on the Commander.

The sftp-server command configures the SFTP server IP address, user name, and password on the Commander.

The ftp-server command configures the FTP server IP address, user name, and password on the Commander.

The undo tftp-server command deletes the TFTP server IP address on the Commander.

The undo sftp-server command deletes the SFTP server IP address, user name, and password on the Commander.

The undo ftp-server command deletes the FTP server IP address, user name, and password on the Commander.

By default, no file server IP address, user name, or password is configured on the Commander.

Format

tftp-server ip-address

{ sftp-server | ftp-server } ip-address [ username username [ password password ] ]

undo tftp-server [ ip-address ]

undo { sftp-server | ftp-server } [ ip-address ] [ username username ] [ password password ]

Parameters

Parameter Description Value
ip-address Specifies the IP address of a file server (TFTP, SFTP, or FTP server). The value is in dotted decimal notation.
username username Specifies the user name used to log in to the SFTP or FTP server. The value is a string of 1 to 64 case-sensitive characters.
password password Specifies the password used to log in to the SFTP or FTP server. The value is a case-sensitive character string. A password in plain text contains 1 to 16 characters, and a ciphertext password contains 48 characters.

In the configuration file, the password is displayed in ciphertext regardless of whether it is input in plaintext or ciphertext.

Views

Easy-Operation view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Files that need to be downloaded by clients are saved in a file server. After clients obtain information from the Commander about the necessary files, the clients download the files from the file server specified on the Commander. Therefore, the file server information must be configured on the Commander.

Precautions

  • If the file server is an SFTP or FTP server and has a user name and password configured, configure the same user name and password on the Commander.
  • Using an SFTP server is recommended because FTP and TFTP have security risks.
  • Information about only one file server can be configured. If you run this command multiple times, only the latest configuration takes effect.
  • Ensure that the files required for clients have been saved on the specified file server.

Example

# Specify the IP address, user name, and password of the SFTP server on the Commander.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] sftp-server 10.10.10.5 username easyoperation password 123456

# Specify the TFTP server IP address on the Commander.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] tftp-server 10.10.10.5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >