3 tftp configuration example, I. network requirements, 3 tftp configuration example -16 – H3C Technologies H3C S3100 Series Switches User Manual
Page 548

Operation Manual – FTP and TFTP
H3C S3100-52P Ethernet Switch
Chapter 1 FTP and TFTP Configuration
1-16
Operation
Command
Description
Specify an interface as the
fixed source interface to be
used in each connection
tftp source-interface
interface-type
interface-number
Optional
Specify an IP address as the
fixed source IP address to be
used in each connection
tftp source-ip ip-address
Optional
Display the fixed source IP
address used by a TFTP
client to connect to a TFTP
server
display tftp source-ip
This command
can be executed
in any view.
Note:
z
The specified interface must be an existing one, and otherwise a prompt appears to
show the configuration fails.
z
The value of argument ip-address must be an IP address on the device where the
configuration is performed, and otherwise a prompt appears to show the
configuration fails.
z
The source interface/source IP address set for one connection is prior to the fixed
source interface/source IP address set for each connection. That is, for a
connection between a TFTP client and a TFTP server, if you specify the source
interface/source IP address only used for the connection this time, and the specified
source interface/source IP address is different from the fixed one, the former will be
used for the connection this time.
z
You may specify only one source interface or source IP address for the TFTP client
at one time. That is, only one of the commands tftp source-interface and tftp
source-ip
can be effective at one time. If both commands are configured, the one
configured later will overwrite the original one.
1.2.3 TFTP Configuration Example
I. Network requirements
A switch operates as a TFTP client and a PC as the TFTP server.
z
The TFTP work directory is configured on the TFTP server.
z
The IP address of a VLAN interface on the switch is 1.1.1.1/24. The port through
which the switch connects with the PC belongs to the VLAN. The IP address of the
PC is 1.1.1.2/24.