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