Operation Manual – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches Chapter 2 TFTP Configuration
2-2
2.2 TFTP Configuration
Table 2-1 TFTP configuration tasks
Item Configuration task Description
TFTP Configuration: A Switch
Operating as a TFTP Client
Basic configurations on a TFTP
client
—
TFTP server configuration
For details, see the
corresponding manual
—
2.2.1 TFTP Configuration: A Switch Operating as a TFTP Client
I. 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.
Table 2-2 lists
the operations that can be performed on a TFTP client.
Table 2-2 Basic configurations on a TFTP client
Operation Command Description
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
2.2.2 TFTP Configuration Example
I. Network requirements
A switch operates as a TFTP client and a PC as the TFTP server. The application
named switch.bin is stored on the PC. Download it (switch.bin) to the switch through
TFTP, and use the boot boot-loader command to specify switch.bin as the
application for next startup. Reboot the switch to upload the configuration file named
config.cfg to the work directory on the PC to back up the configuration file.