H3C SR6608/6604 Routers Installation Manual
Chapter 7 Maintaining Software
7-29
Using FTP, you can download an application file from the PC to the router, and
overwrite the original main application file to implement application updating. The
updated application file takes effect when the router reboots.
# Download file
main.bin
from the FTP server to the router 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: 22745844 byte(s) received in 467.570 second(s), 53.00K byte(s)/sec.
Note:
z
When you download an application file, if a file having the same name with the
downloaded file exists on the router, the system prompts whether to overwrite the
file on the router. You need to choose
Y
or
N
for confirmation.
z
For details about the
get
command, refer to
H3C SR66 Series Routers User
Manual
.
z
You can update a configuration file in the way you update an application file. A
configuration file can be modified by a text editor. You can modify a configuration file
and then download the modified configuration file to the router, and the modification
takes effect after the router reboots.
6)
Back up an application file.
Using FTP, you can back up an application file by uploading it to the PC.
# Upload file
main.bin
on the router to the server, 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: 24802996 byte(s) sent in 14.400 second(s), 1722.00Kbyte(s)/sec
[ftp]quit
221 Service closing control connection