R3204P16-HP Load Balancing Module System Maintenance Configuration Guide-6PW101

66
FTP configuration
NOTE:
The LB module supports FTP configuration only in the command line interfaces (CLIs).
FTP overview
Introduction to FTP
The File Transfer Protocol (FTP) is an application layer protocol used to share files between server and
client over a TCP/IP network.
FTP uses TCP ports 20 and 21. Port 20 is used to transmit data, and port 21 is used to transmit control
commands. For more information about FTP basic operations, see RFC 959.
FTP transfers files in the following modes:
Binary mode: Transfers files as raw data, like .app, .bin, and .btm files.
ASCII mode: Transfers files as text, like .txt, .bat, and .cfg files.
Operation of FTP
FTP adopts the client/server model. Your LB module can function either as the client or the server, as
shown in Figure 28.
W
hen the LB module serves as the FTP client, a user can telnet to it from a PC, and execute the ftp
command to establish a connection to the remote FTP server on the PC to upload/download files
to/from the PC.
When the LB module serves as the FTP server, a user can FTP to the LB module from a PC that runs
the FTP client and upload/download files to/from the LB module.
Figure 28 Network diagram for FTP
When the LB module serves as the FTP client, you need to perform the following configuration:
Table 19 Configuration when the LB module serves as the FTP client
Device Confi
g
uration
Remarks
LB (FTP client)
Use the ftp command to establish the
connection to the remote FTP server
If the remote FTP server supports anonymous
FTP, the LB module can log in to it directly; if
not, the LB module must obtain the FTP
username and password first to log in to the
remote FTP server.
Internet
LB
PC