No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Enabling the FTP Server Function

Enabling the FTP Server Function

Refer to the following procedure to enable the FTP server function on the device (Assume that the local user name and password are admin1234 and Helloworld@6789 respectively):

<HUAWEI> system-view
[~HUAWEI] ftp server enable
[*HUAWEI] aaa
[*HUAWEI-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
[*HUAWEI-aaa] local-user admin1234 level 3
[*HUAWEI-aaa] local-user admin1234 service-type ftp        //Set the service type of the user admin1234 to FTP.
[*HUAWEI-aaa] local-user admin1234 ftp-directory flash:         //Set the FTP working directory of the user admin1234 to flash:/.
[*HUAWEI-aaa] commit
[~HUAWEI-aaa] return
<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]: y

After the configuration is complete, you can connect to the device from your PC through FTP. Assume that the management IP address of the FTP server is You can perform the following steps on your PC to connect to the device (The messages may vary according to the operating system of the PC, and the following messages are for reference only):

C:\Documents and Settings\Administrator> ftp
Connected to
220 FTP service ready.
User ( admin1234   //Enter the user name admin1234.
331 Password required for admin1234.
Password:   //Enter the password Helloworld@6789. The password will not be displayed on the terminal.
230 User logged in.
ftp> binary
200 Type set to I.
ftp> put   //Upload the system file to the device.
200 Port command okay.
150 Opening BINARY mode data connection for /
226 Transfer complete.
ftp: 4342 bytes sent in 223.23Seconds 560.79Kbytes/sec.
ftp> get vrpcfg.cfg   //Back up the configuration file vrpcfg.cfg to the PC.
200 Port command okay.
150 Opening BINARY mode data connection for /vrpcfg.cfg
226 Transfer complete.
ftp: 4342 bytes received in 0.04Seconds 120.6Kbytes/sec.
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 195236

Downloads: 3214

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next