6-25
z
When you download an application file, if a file with the same name exists on the firewall, the
system asks you whether to overwrite the existing file on your device. You need to enter
Y
for
confirmation.
z
For details about the
get
command, refer to
H3C SecPath Series Security Products User Manual
.
z
You can upgrade a configuration file in the way you upgrade an application file. A configuration file
can be modified using a text editor. You can modify a configuration file and then download the
modified configuration file to the firewall to upgrade the configuration file. The modification takes
effect after the firewall reboots.
6) Backup an application file.
Using FTP, you can backup an application file by uploading it from the firewall to the PC.
# Upload file
main.bin
on the firewall to the PC and save it as
main.bin
.
[ftp]put main.bin main.bin
227 Entering passive mode (192,168,80,200,5,34)
125 Using existing data connection
226 Closing data connection; File transfer successful.
FTP:14092032 byte(s) sent in 14.400 second(s), 1722.00Kbyte(s)/sec
[ftp]quit
221 Service closing control connection
z
When you backup an application file, if the file name already exists on the server, the system
overwrites the existing file without any prompt.
z
For details about the
put
command, refer to
H3C SecPath Series Security Products User Manual
.
z
You can backup a configuration file in the way you backup an application file.
Table 6-11
Command output description for upgrading and backing up an application file
Field
Description
[ftp]get main.bin main.bin
Download the file used for upgrading.
cfa0:/main.bin has been existing. Overwrite it?
[Y/N]:y
The system asks you whether to overwrite the
existing file.
FTP: 14092032 byte(s) received in 467.570
second(s), 53.00K byte(s)/sec
Download and upgrading of the application file
is finished.
[ftp]put main.bin main.bin
Upload the file from the firewall to the PC.
FTP: 14092032 byte(s) sent in 14.400 second(s),
1722.00Kbyte(s)/sec
Upload and backup of the application file is
finished.