2 tftp configuration, I. prerequisites, Ii. basic tftp configurations – H3C Technologies H3C S3100 Series Switches User Manual
Page 547: 2 tftp configuration -15

Operation Manual – FTP and TFTP
H3C S3100-52P Ethernet Switch
Chapter 1 FTP and TFTP Configuration
1-15
1.2.2 TFTP Configuration
I. Prerequisites
A switch operates as a TFTP client and a remote PC as the TFTP server. The network
operates properly, as shown in Figure 1-4.
II. Basic TFTP configurations
Table 1-10
Basic TFTP configurations
Operation
Command
Description
Download a file
through TFTP
tftp
tftp-server get
source-file
[ dest-file ]
Optional
Upload a file
through TFTP
tftp
tftp-server put
source-file
[ dest-file ]
Optional
Enter system view system-view
—
Set the TFTP file
transmission mode
tftp
{ ascii | binary }
Optional
By default, the binary file
transmission mode is
adopted.
Specify the ACL
adopted when a
switch attempts to
connect a TFTP
server
tftp-server acl acl-number
Optional
III. Specifying the source interface and source IP address for a TFTP client
You can specify the source interface and source IP address for a switch operating as a
TFTP client, so that it can connect with a remote TFTP server through the IP address of
the specified interface or the specified IP address.
Table 1-11
Specify the source interface and source IP address for a TFTP client
Operation
Command
Description
Specify the source interface
only used for the current
connection
tftp
tftp-server
source-interface
interface-type
interface-number
{
get
source-file
[ dest-file ] | put
source-file-url
[ dest-file ] }
Optional
Specify the source IP
address only used for the
current connection
tftp
tftp-server source-ip
ip-address
{ get source-file
[ dest-file ] | put source-file-url
[ dest-file ] }
Optional
Enter system view
system-view
—