R3204P16-HP Load Balancing Module System Maintenance Configuration Guide-6PW101
77
Table 21 Configuration when the LB module serves as the TFTP client
Device Confi
g
uration
Remarks
LB (TFTP client)
• Configure the IP address and routing function, and ensure that the
route between the LB module and the TFTP server is available.
• Use the tftp command to establish a connection to the remote TFTP
server to upload/download files to/from the TFTP server
—
PC (TFTP server)
Enable TFTP server on the PC, and configure the TFTP working
directory.
—
Configuring the TFTP client
When the LB module acts as a TFTP client, you can upload a file on the LB module to a TFTP server and
download a file from the TFTP server to the local device. You can use either of the following methods to
download a file:
• Normal download: The LB module writes the obtained file to the storage medium directly. If you
download a remote file using a filename destination-filename that exists in the target directory, the
LB module deletes the original file and saves the new one. If file download fails due to network
disconnection or other reasons, the original file will never recover because it has been deleted.
• Secure download: The LB module saves the obtained file to its memory and does not write it to the
storage medium until the whole file is obtained. If you download a remote file using a filename
destination-filename that exists in the target directory, the original file is not overwritten. If file
download fails due to network disconnection or other reasons, the original file still exists. This mode
is more secure but consumes more memory.
HP recommends that you use the secure mode or, if you use the normal mode, specify a filename
inexistent in the target directory.
When using the tftp client source or tftp command, you can specify the source interface (such as a
loopback interface) or source IP address. The primary IP address of the specified source interface or the
specified source IP address is used as the source IP address of sent TFTP packets.
The TFTP client follows these rules to select the source IP address of packets sent to the TFTP server:
• If no source IP address is specified, the IP address of the output interface of the route to the server
is used as the source IP address.
• The source IP address specified with the tftp client source or tftp command is used.
• If you first use the tftp client source command to specify a source IP address and then use the tftp
command to specify another source IP address, the latter is used.
• The source IP address specified with the tftp client source command applies to all TFTP connections
but the one specified with the tftp command applies to the current TFTP connection only.
Follow these steps to configure the TFTP client:
To do… Use the command…
Remarks
Enter system view system-view —
Use an ACL to control the LB
module’s access to TFTP
servers
tftp-server acl acl-number
Optional
By default, no ACL is used to
control the LB module’s access to
TFTP servers.