Tftp Client Source - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Description
Related command:
Example

tftp client source

Syntax
View
Parameter
Description
Use the
command to upload files from the local device to a TFTP server or
tftp
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.
tftp client source.
# 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...<HardReturn
TFTP:
2143 bytes received in 0 second(s)
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 Ether
net 1/0
.
File will be transferred in binary mode
Sending file to remote tftp server. Please wait... <HardReturn
TFTP:
2143 bytes sent in 0 second(s).
File uploaded successfully.
tftp client source { interface interface-type interface-number | ip source-ip-address }
undo tftp client source
System view
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: The source IP address of the TFTP connection. It must be an
IP address configured on the device.
Use the
tftp client source
packets from the TFTP client.
command to configure the source address of the TFTP
2393

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents