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

71
FTP client configuration example
Network requirements
As shown in Figure 29, use LB module 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. LB module and PC are reachable to each other.
LB module downloads a boot file from PC for upgrade, and uploads the configuration file to PC for
backup.
On PC, an FTP user account has been created for the FTP client, with the username abc and the
password abc.
Figure 29 Network diagram for FTPing a boot file from an FTP server
Configuration procedure
CAUTION:
If the available memory space of the LB module 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 LB module.
[ftp] get newest.bin
# Upload the configuration file config.cfg of LB module to the server for backup.
[ftp] ascii
[ftp] put config.cfg back-config.cfg
227 Entering Passive Mode (10,1,1,1,4,2).
125 ASCII mode data connection already open, transfer starting for /config.cfg.
226 Transfer complete.
FTP: 3494 byte(s) sent in 5.646 second(s), 618.00 byte(s)/sec.
[ftp] bye
Internet
LB
10.1.1.1/16
FTP server
FTP client
10.2.1.1/16
PC