6-92
To do…
Use the command…
Remarks
Terminate the connection to the FTP
server and return to user view
quit
Optional
Available in FTP client view,
equal to the
bye
command.
FTP Client Configuration Example (On the SR6602 router)
Network requirements
z
As shown in
, use Device as an FTP client and PC as the FTP server. Their IP addresses
are 10.2.1.1/16 and 10.1.1.1/16 respectively. Device and PC are reachable to each other.
z
Device downloads a boot file from PC for device upgrade, and uploads the configuration file to PC
for backup.
z
On PC, an FTP user account has been created for the FTP client, with the username being
abc
and the password being
pwd
.
Figure 6-2
Network diagram for FTPing a boot file from an FTP server
Internet
Device
10.1.1.1/16
FTP server
FTP client
10.2.1.1/16
PC
Configuration procedure
If the available memory space of the device is not enough, use the
fixdisk
command to clear the
memory or use the
delete
/unreserved
file
-
url
command to delete the files not in use and then perform
the following operations.
# Log in to the server through FTP.
<Sysname> ftp 10.1.1.1
Trying 10.1.1.1
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 to transmit boot file.
[ftp] binary
200 Type set to I.
# Download the boot file
newest.bin
from PC to Device.
Summary of Contents for SR6600 SPE-FWM
Page 112: ...6 101...