Tftp Client Source - H3C S5120-EI Series Command Reference Manual

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

<Sysname> tftp 192.168.1.26 get newest.bin slot2#flash:/startup.bin
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait...|
TFTP:
2737556 bytes received in 14 second(s)
File downloaded successfully.
// Download the file from the TFTP server to the root directory on the flash of the slave switch.

tftp client source

Syntax
tftp client source { interface interface-type interface-number | ip source-ip-address }
undo tftp client source
View
System view
Default level
2: System level
Parameters
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 TFTP.
If no primary IP address is configured on the source interface, the transmission fails.
ip source-ip-address: The source IP address of TFTP connections. It must be an IP address that has been
configured on the device.
Description
Use the tftp client source command to configure the source address of the TFTP packets from the TFTP
client.
Use the undo telnet client source command to restore the default.
By default, a device uses the IP address of the interface determined by the matched route as the source
IP address to communicate with a TFTP server.
Note that:
The source address can be specified as the source interface and the source IP; if you use the tftp
client source command to specify the source interface and then the source IP, the newly specified
source IP overwrites the configured source interface and vice versa.
If the source address is specified with the tftp client source command and then with the tftp
command, the source address specified with the latter one is used to communicate with the TFTP
server.
The source address specified with the tftp client source command is valid for all tftp connections and
the source address specified with the tftp command is valid for the current tftp command.
Related commands: display tftp client configuration.
Examples
# Specify the source IP address of the TFTP client as 2.2.2.2.
<Sysname> system-view
77

Advertisement

Table of Contents
loading

Table of Contents