H3C s3600 series Command Manual page 1057

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

When uploading files to a TFTP server, you can only select the files under the current working directory
of the device. To upload files in another directory, use the cd command to change to the specified
directory in user view before executing the tftp put command. For the execution of the cd command,
refer to the File System Management part in this manual.
Related commands: tftp get.
Examples
# Upload file config.cfg to the TFTP server whose IP address is 1.1.1.1 and save it as temp.cfg.
<Sysname> tftp 1.1.1.1 put config.cfg temp.cfg
File will be transferred in binary mode.
Copying file to remote tftp server. Please wait... /
TFTP:
962 bytes sent in 0 second(s).
File uploaded successfully.
tftp tftp-server source-interface
Syntax
tftp tftp-server source-interface interface-type interface-number { get source-file [ dest-file ] | put
source-file-url [ dest-file ] }
View
User view
Parameters
tftp-server: IP address or host name of the TFTP server to be connected to, 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.
interface-type: Type of the source interface.
interface-number: Number of the source interface.
get: Specifies to download a file from the TFTP server.
source-file: Name of the file to be downloaded.
dest-file: File name used when a file is downloaded and saved to the switch.
put: Specifies to upload a file to the TFTP server.
source-file-url: Path and name of the file to be uploaded to the TFTP server.
dest-file: File name used when a file is uploaded and saved to a TFTP server.
Description
Use the tftp tftp-server source-interface command to connect to a TFTP server through the specified
source interface, and perform download or upload operations. If the specified source interface does not
exist, a prompt appears to show the command fails to be executed.
Examples
# Connect to the remote TFTP server whose IP address is 192.168.8.8 through the source interface
VLAN-interface 1, and download the file named 3600.bin from it.
<Sysname> tftp 192.168.8.8 source-interface Vlan-interface 1 get 3600.bin
2-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents