2-2
Task Remarks
TFTP server configuration For details, see the corresponding
manual
TFTP Configuration: The Device Operating as a TFTP Client

Basic configurations on a TFTP client

By default the device can operate as a TFTP client. In this case you can connect the device to the TFTP
server to perform TFTP-related operations (such as creating/removing a directory) by executing
commands on the device.
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 the device 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
Enter system view system-view