93
FTP client configuration example in standalone mode
Network requirements
, the PC is acting as an FTP server. A user account with the username
abc
and
password
123456
has been created on the PC.
•
Use the device as an FTP client to log in to the FTP server.
•
Download the
temp.bin
file from the PC to the device.
•
Upload configuration file
startup.cfg
from the device to the PC for backup.
Figure 24
Network diagram
Configuration procedure
# Configure IP addresses as shown in
. Make sure the device and PC can reach each other.
(Details not shown.)
# Examine the storage space of the device. If the free space is insufficient, use the
delete/unreserved
file
-
url
command to delete unused files. (Details not shown.)
# Log in to the FTP server at 10.1.1.1 using username
abc
and password
123456
.
<Sysname> ftp 10.1.1.1
Press CTRL+C to abort.
Connected to 10.1.1.1 (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
Remote system type is MSDOS.
ftp>
# Set the file transfer mode to binary.
ftp> binary
200 TYPE is now 8-bit binary
# Download the
temp.bin
file from the PC to the root directory of the flash memory on the active
MPU.
ftp> get temp.bin
local: temp.bin remote: temp.bin
150 Connecting to port 47457
226 File successfully transferred
23951480 bytes received in 95.399 seconds (251.0 kbyte/s)
# Download the
temp.bin
file from the PC to the root directory of the flash memory on the standby
MPU (in slot 1).
ftp> get temp.bin slot1#flash:/temp.bin
# Use the ASCII mode to upload configuration file
startup.cfg
from the device to the PC for backup.
ftp> ascii
Internet
Device
10.1.1.1/16
FTP server
FTP client
10.2.1.1/16
PC
Summary of Contents for FlexNetwork 10500 Series
Page 139: ...130 Sysname display version ...