Operation Manual – File System Management
H3C S5500-EI Series Ethernet Switches
Chapter 3 TFTP Configuration
3-2
Figure 3-1
TFTP configuration diagram
Before using TFTP, the administrator needs to configure IP addresses for the TFTP
client and server, and make sure that there is a route between the TFTP client and
server.
3.2 Configuring the TFTP Client
When a device acts as a TFTP client, you can upload files on the device to a TFTP
server and download files from the TFTP server to the local device. You can use either
of the following ways to download files:
z
Normal download: The device writes the obtained files to the storage device
directly. In this way, the original system file will be overwritten and if file download
fails (for example, due to network disconnection), the device cannot start up
normally because the original system file has been deleted.
z
Secure download: The device saves the obtained files to its memory and does not
write them to the storage device until all user files are obtained. In this way, if file
download fails (for example, due to network disconnection), the device can still
start up because the original system file is not overwritten. This mode is securer
but consumes more memory.
You are recommended to use the latter mode or use a filename not existing in the
current directory as the target filename when downloading startup file or configuration
file.
Multiple routes may exist for a TFTP client to successfully access the TFTP server. You
can specify one by configuring the source address of the packets from the TFTP client
to meet the requirement of the security policy of the TFTP client. You can configure the
source address by configuring the source interface or source IP address. The primary
IP address configured on the source interface is the source address of the transmitted
packets. The source address of the transmitted packets is selected following these
rules:
z
If no source address of the TFTP client is specified, a device uses the IP address
of the interface determined by the routing protocol as the source IP address to
communicate with a TFTP server.
z
If the source address is specified with the
tftp client source
or
tftp
command, this
source address is adopted.
z
If the source address is specified with the
tftp client source
command and then
with the
tftp
command, the source address configured with the latter one is used
to communicate with a TFTP server.