R3303-HP HSR6800 Routers Fundamentals Configuration Guide

79
Task Command
Remarks
Terminate the FTP connection without exiting FTP
client view.
disconnect
close
Use either command in FTP
client view.
Terminate the FTP connection and return to user
view.
bye
quit
Use either command in FTP
client view.
FTP client configuration example for standalone
mode
Network requirements
As shown in Figure 41, the router acts as the FTP client and the PC acts as the FTP server. The router and
the PC can reach each other. An account with the username abc and password abc is already configured
on the FTP server.
Log in to the FTP server from the FTP client, download the file newest.bin from the PC to the router, and
upload the configuration file config.cfg from the router to the PC for backup.
Figure 41 Network diagram
Configuration procedure
# Examine the storage space of the router for insufficiency or impairment. If no sufficient free space is
available, use the fixdisk command to fix the storage medium or use the delete/unreserved file-url
command to delete unused files. (Details not shown.)
# Log in to the server at 10.1.1.1 using the username abc and password abc.
<Router> ftp 10.1.1.1
Trying 10.1.1.1 ...
Press CTRL+K to abort
Connected to 10.1.1.1.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(10.1.1.1:(none)):abc
331 Give me your password, please
Password:
230 Logged in successfully
# Set the file transfer mode to binary.
[ftp] binary
200 Type set to I.
# Download the system software image file newest.bin from the PC to the router:
Download the file newest.bin from the PC to the root directory of the active MPU's storage medium.