221 Logout.
<Sysname>
FTP client configuration example in IRF mode
Network requirements
As shown in
password 123456 has been created on the PC.
•
Use the IRF fabric as an FTP client to log in to the FTP server.
Download the file temp.bin from the FTP server to the FTP client.
•
Upload the configuration file config.cfg from the FTP client to the FTP server for backup.
•
Figure 26 Network diagram
IRF (FTP client)
IP:
10.2.1.1/16
Master
(Member_ID=1)
Note: The orange line represents an IRF connection.
Configuration procedure
# Configure IP addresses as shown in
(Details not shown.)
# Examine the storage space on the member devices. 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 using the 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 file temp.bin from the PC to the root directory of the flash memory on the global active
MPU.
ftp> get temp.bin
Figure
26, the PC is acting as an FTP server. A user account with the username abc and
Subordinate
(Member_ID=2)
Internet
Figure
26. Make sure the IRF fabric and PC can reach each other.
86
FTP server
10.1.1.1/16
PC