96
Configuring TFTP
Trivial File Transfer Protocol (TFTP) is a simplified version of FTP for file transfer over secure reliable
networks. TFTP uses UDP port 69 for data transmission. In contrast to TCP-based FTP, TFTP does
not require authentication or complex message exchanges, and is easier to deploy. TFTP is suited
for reliable network environments.
The device can only act as a TFTP client. You can upload a file from the device to the TFTP server or
download a file from the TFTP server to the device. If you download a file with a file name that exists
in the target directory, the device deletes the existing file and saves the new one. If file download fails
due to network disconnection or other reasons, the original file cannot be restored. Therefore, use a
nonexistent file name instead.
Figure 26
TFTP application scenario
FIPS compliance
The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for
features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more
information about FIPS mode, see
Security Configuration Guide
.
TFTP is not supported in FIPS mode.
Configuring the device as an IPv4 TFTP client
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional.) Use an ACL to
control the client's access
to TFTP servers.
tftp-server
acl
acl-number
By default, no ACL is used for
access control.
3.
Specify the source IP
address for TFTP packets
sent by the TFTP client.
tftp
client
source
{
interface
interface-type interface-number
|
ip
source-ip-address
}
By default, no source IP address
is specified. The device uses the
primary IP address of the output
interface as the source IP
address.
4.
Return to user view.
quit
N/A
5.
Download or upload a file
in an IPv4 network.
tftp
tftp-server
{
get
|
put
|
sget
}
source-filename
[
destination-filename
] [
vpn-instance
vpn-instance-name
] [
dscp
dscp-value
|
source
{
interface
interface-type interface-number
|
ip
source-ip-address
} ] *
The source IP address specified
in this command takes
precedence over the one set by
the
tftp client source
command.
Use this command in user view.
Internet
Device
PC
TFTP client
TFTP server
Summary of Contents for FlexNetwork 10500 Series
Page 139: ...130 Sysname display version ...