H3C S7500E Series Command Manual page 1296

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – File System Management
H3C S7500E Series Ethernet Switches
destination-filename: Destination file name.
get: Downloads a file in normal mode.
put: Uploads a file.
sget: Downloads a file in secure mode.
source: Configures parameters for source address binding.
interface interface-type interface-number: Specifies the source interface by its
type and number. The primary IP address configured on the source interface is the
source IP address of the packets sent by FTP. If no primary IP address is
configured on the source interface, the transmission fails.
ip source-ip-address: Specifies the source IP address for the current TFTP client
to transmit packets. This source address must be the one that has been
configured on the device.
Description
Use the tftp command to upload files from the local device to a TFTP server or
download files from the TFTP server to the local device.
If no destination file name is specified, the saved file uses the source file name.
The priority of the source address specified with this command is higher than that
with the tftp client source command. If you use the tftp client source command
to specify the source address first and then with the tftp command, the latter one
is adopted.
This command applies to IPv4 network.
Related commands: tftp client source.
Examples
# Download the config.cfg file from the TFTP server with the IP address of
192.168.0.98 and save it as config.bak. Specify the source IP address to be
192.168.0.92.
<Sysname> tftp 192.168.0.98 get config.cfg config.bak source ip 192.168.0.92
.
File will be transferred in binary mode
Downloading file from remote tftp server, please wait...\
TFTP:
File downloaded successfully.
# Upload the config.cfg file from the storage device to the default path of the TFTP
server with the IP address of 192.168.0.98 and save it as config.bak. Specify the source
IP interface to be Ethernet 1/0.
<Sysname> tftp 192.168.0.98 put config.cfg config.bak source interface
Ethernet 1/0
.
2143 bytes received in 0 second(s)
3-3
Chapter 3 TFTP Configuration Commands

Advertisement

Table of Contents
loading

Table of Contents