Step3
Enable FTP server on the PC and set the path where the application file is stored, the FTP
username, and the password. In the example, the FTP username is
guest
and the password is
123456
.
Step4
Log into the FTP server.
<HP>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 at the CLI.
Table 6-9
Description on the information displayed when the FTP client logs into the FTP server
Display information
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
The user name is correct. Input the password.
230 User logged in
You have logged into the FTP server successfully.
Step5
Updating an application file.
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.
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.
For details about the
get
command, refer to
File System Management
in the
System Volume
of
HP SR6600 Routers User Manual
.
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.
Step6
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
.