Uploading files through FTP on the USG6000

The configuration roadmap for FTP file upload is as follows:
The device serves as the FTP server, and no independent software shall be installed. Configuration on the device is required.
Note:
When you upload a file to the device from the configuration terminal, and the device has a file with the same name, no information is prompted, and the original file is directly overwritten. To save the original file, run the rename command to change the file name before file upload.

1. Enable FTP and configure the FTP user name, password, and FTP path.

system-view
[sysname] ftp server enable
Info: Start FTP server
[sysname] aaa
[sysname-aaa] manager-user ftpuser
[sysname-aaa-manager-user-ftpuser] password
Enter Password:
Confirm Password:
[sysname-aaa-manager-user-ftpuser] service-type ftp
[sysname-aaa-manager-user-ftpuser] level 3
[sysname-aaa-manager-user-ftpuser] ftp-directory hda1:/
Note:
The password configured on the device must meet the password strength requirements. It is recommended that the password contain at least three types of such characters as case-sensitive letters, digits, and special characters.
Local users for FTP need to run the ftp-directory command to configure the FTP path to save the file on the device.

2. Run the ftp command to log in to the device from the configuration terminal. Run the put command to upload the file to the device.

This part uses a Windows PC as an example: Choose Start > Run, enter cmd, and click OK.
C:\Documents and Settings\Administrator> ftp 192.168.0.1
User (192.168.0.1:(none)): ftpuser
Password:
230 User logged in.
ftp>put vrpcfg.cfg /Upload the file to the device.
ftp> lcd /You can display the file upload path.
Local directory now C:\Documents and Settings\Administrator.
ftp>
Note:
Administrator is the default OS user name. You can set different user names.
You can run the lcd command to query the storage path for the backup configuration file.
Commands on different FTP clients may differ due to different OSs. For details, refer to related OS documents.

Scroll to top