R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)

89
Configuration procedure
# Configure IP addresses as shown in Figure 43. 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.)
# L o g i n t o t h e F T P s e r v e r a t 10 .1.1.1 u s i n g t h e u s e r n a m e abc and password 123 456 .
<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 file temp.bin from the PC to the device.
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)
# Set the file transfer mode to ASCII. Upload the configuration file startup.cfg from the device to the PC
for backup.
ftp> ascii
200 TYPE is now ASCII
ftp> put startup.cfg back-startup.cfg
local: startup.cfg remote: back-startup.cfg
150 Connecting to port 47461
226 File successfully transferred
3494 bytes sent in 5.646 seconds (618.00 kbyte/s)
ftp> bye
221-Goodbye. You uploaded 2 and downloaded 2 kbytes.
221 Logout.
<Sysname>
FTP client configuration example (MSR4000)
Network requirements
As shown in Figure 44, 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.