Tftp configuration, Basic configurations on a tftp client – H3C Technologies H3C S3600 Series Switches User Manual
Page 970
![background image](https://www.manualsdir.com/files/812872/content/doc970.png)
2-2
TFTP Configuration
Complete the following tasks to configure TFTP:
Task
Remarks
Basic configurations on a TFTP client
—
TFTP Configuration: A Switch
Operating as a TFTP Client
Specifying the source interface or source
IP address for an FTP client
Optional
TFTP server configuration
For details, see the corresponding
manual
—
TFTP Configuration: A Switch Operating as a TFTP Client
Basic configurations on a TFTP client
By default a switch can operate as a TFTP client. In this case you can connect the switch to the TFTP
server to perform TFTP-related operations (such as creating/removing a directory) by executing
commands on the switch.
Follow these steps to perform basic configurations on a TFTP client:
To do…
Use the command…
Remarks
Download a file from a TFTP
server
tftp tftp-server get source-file
[ dest-file ]
Optional
Upload a file to a TFTP server
tftp tftp-server put source-file
[ dest-file ]
Optional
Enter system view
system-view
—
Set the file transmission mode
tftp { ascii | binary }
Optional
Binary by default.
Specify an ACL rule used by
the specified TFTP client to
access a TFTP server
tftp-server acl acl-number
Optional
Not specified by default.
Specifying the source interface or source IP address for an FTP 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.
Follow these steps to specify the source interface and source IP address for a TFTP client:
To do…
Use the command…
Remarks
Specify the source interface
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
Not specified by default.
Specify the source IP address
used for the current connection
tftp tftp-server source-ip
ip-address { get source-file
[ dest-file ] | put source-file-url
[ dest-file ] }
Optional
Not specified by default.