
58-3
To do…
Use the command…
Remarks
tftp tftp-server source-ip
-file
[
dest-file
] }
Optional
Not specified by default.
Specify the source IP address
used for the current connection
ip-address
{
get
source
[
dest-file
] |
put source-file-url
Enter system view
—
system-view
Specify an interface as the
source interface a TFTP client
uses every time it connects to a
tftp source-interface
interface-type interface-number
TFTP server
Specify an IP address as the
source IP address a TFTP
client u
ses every time it
connects to a TFTP server
tftp source-ip ip-address
r command
Use eithe
Not specified by default.
Display the source IP address
by a TFTP client every
time it connects to a TFTP
serv
display tftp source-ip
Optional
Available in any view
used
er
z
z
configuration fails.
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.
s
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.
The specified interface must be an existing one; otherwise a prompt appears to show that the
configuration fails.
The value of the
ip-address
argument must be an IP address on the device where the configuration
is performed, and otherwise a prompt appears to show that the
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
That is, only one of the command
Configuration Example
etwork requirements
TFTP
N
stored o
comm
configuration file named
config.cfg
to the work directory on the PC to back up the configuration file.
z
The TFTP working directory is configured on the TFTP server.
z
Configure the IP addresses of a VLAN interface on the switch and the PC as 1.1.1.1 and 2.2.2.2
respectively. The port through which the switch connects with the PC belongs to the VLAN.
A switch operates as a TFTP client and a PC as the TFTP server. The application named
switch.bin
is
n the PC. Download it (
switch.bin
) to the switch through TFTP, and use the
boot boot-loader
and to specify
switch.bin
as the application for next startup. Reboot the switch to upload the