Uploading files through FTP on the USG2000&5000

The configuration roadmap for FTP file upload is as follows:

1. Configuration roadmap

a. Enable the FTP server function of the device and configure valid login users.
b. Log in to the device through HyperTerminal on the PC.
c. Log in to the FTP server using the correct user name and password.
d. Upload the file to the device.

2. Operation steps

a. Enable FTP on the FTP server and configure the authorization information of FTP users.
system-view
[Firewall] ftp server enable
[Firewall] aaa
[Firewall-aaa] local-user admin password irreversible-cipher Admin@123
b. Configure the authorization mode, priority, and directory of the FTP users on the FTP server.
[Firewall-aaa] local-user admin service-type ftp
[Firewall-aaa] local-user admin level 3
[Firewall-aaa] local-user admin ftp-directory flash:
[Firewall-aaa] quit
c. Set the IP address of the FTP server.
[Firewall] interface GigabitEthernet 0/0/1
[Firewall-GigabitEthernet0/0/1] ip address 128.18.90.111 255.255.255.0
[Firewall-GigabitEthernet0/0/1] quit

3. Configuration verification

Upload the file to the device for authentication.
C:\Documents and Settings\user> ftp 128.18.90.111
User(128.18.90.111:(none)): admin
Password:
230 User logged in.
ftp> binary
ftp> put sys.bin
ftp> quit
Display the obtained file on the device.
dir
10:28:14 2015/04/23
Directory of flash:/

0 -rw- 43046824 Aug 19 2014 16:39:41 sys.bin
1 -rw- 0 Aug 19 2014 17:02:39 patchnpstate.dat
2 -rw- 37 Apr 10 2015 08:42:15 private-data.txt
3 -rw- 4648 Apr 07 2015 10:48:53 vrpcfg.zip
4 -rw- 7526 Dec 12 2014 16:39:09 vrpcfg11.cfg
5 -rw- 512 Jan 28 2015 10:50:26 runmode.ini

57277 KB total (15220 KB free)

Scroll to top