H3C S3100 Series Command Manual page 869

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual (For Soliton) – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
View
User view
Parameters
tftp-server: IP address or the host name of a TFTP server, a string of 1 to 20 characters.
If the switch belongs to a cluster, the value cluster means to connect to the TFTP server
of the cluster. For the configuration of the TFTP server of a cluster, refer to the Cluster
part in this manual.
source-file: Name of the file to be downloaded from the TFTP server.
dest-file: File name used when a file is downloaded and saved to the switch.
Description
Use the tftp get command to download a file from a TFTP server, and save it to the
local storage device.
Different from the FTP function, the working directory of a TFTP server cannot be
changed or specified on a TFTP client. To enter another working directory, you need to
modify the working directory on the TFTP server and relog in.
The H3C S3100 series switch supports the TFTP file size negotiation function, namely,
before downloading a file, the switch requests the size of the file to be downloaded to
the TFTP server, thus to ensure whether there is enough space on the Flash for file
downloading. If the TFTP server also supports the function, when the file size is too
large, the switch can know this in advance and stops the download operation to save
network resources; if the TFTP server does not support the function, the switch can
only download the file to its memory, and delete the file if it finds the file is too large
when writing the file to the Flash.
Related commands: tftp put.
Examples
# Download file abc.txt from the TFTP server whose IP address is 1.1.1.1 and save it
as efg.txt (suppose free space of the flash memory is sufficient).
<Sysname> tftp 1.1.1.1 get abc.txt efg.txt
File will be transferred in binary mode.
Downloading file from remote tftp server, please wait......
TFTP:
File downloaded successfully.
# Download file temp.txt from the TFTP server (1.1.1.1) and save it as test1.txt
(suppose that free space of the Flash is insufficient and the TFTP server does not
support file size negotiation).
<Sysname> tftp 1.1.1.1 get temp.txt test1.txt
File will be transferred in binary mode.
35 bytes received in 0 second(s).
2-2
Chapter 2 TFTP Configuration Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents