![3Com H3C SECPATH F5000-A5 ADVANCED VPN FIREWALL 12-PORT GIGABIT ETHERNET... Скачать руководство пользователя страница 97](http://html1.mh-extra.com/html/3com/h3c-secpath-f5000-a5-advanced-vpn-firewall-12-port-gigabit-ethernet/h3c-secpath-f5000-a5-advanced-vpn-firewall-12-port-gigabit-ethernet_installation-manual_3098102097.webp)
6-24
Upgrading and Backing Up an Application Using FTP at the CLI
Firewall serving as the FTP client and PC serving as the FTP server
1) Set up the upgrading environment. Refer to “Upgrading and Backing Up an Application Using
TFTP at the CLI” on page 6-20.
2) Use
the
dir
command on the terminal to view the files stored in the current file system and the
available space of the storage device. For details, refer to “Upgrading and Backing Up an
Application Using TFTP at the CLI” on page 6-20.
3) Enable FTP server on the PC and set the path where the application file is stored. Set the FTP
username and password. In this example, the FTP username is
guest
and the password is
123456
.
4) Log into the FTP server.
<H3C>ftp 192.168.80.200
Trying 192.168.80.200 ...
Press CTRL+K to abort
Connected to 192.168.80.200.
220 3Com 3CDaemon FTP Server Version 2.0
User(192.168.80.200:(none)):guest
331 User name ok, need password
Password:
230 User logged in
[ftp]
After you log into the server, you can update and backup an application file using the CLI.
Table 6-10
Command output description for logging into the FTP server
Field
Description
ftp 192.168.80.200
Log into the FTP server and enter FTP client view.
User(192.168.80.200:(none))
Input the username configured on the FTP server.
331 User name ok, need password
Input the password.
230 User logged in
You have logged into the FTP server successfully.
5) Upgrading an application file.
Using FTP, you can download an application file from the PC to the firewall, and overwrite the existing
main application file to implement application upgrading. The new application file takes effect when the
firewall reboots.
# Download file
main.bin
from the FTP server to the firewall and save it using the same name of
main.bin
.
[ftp]get main.bin main.bin
cfa0:/main.bin has been existing. Overwrite it? [Y/N]:y
227 Entering passive mode (192,168,80,200,7,237)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP: 14092032 byte(s) received in 467.570 second(s), 53.00K byte(s)/sec.