75
// Download the file from the TFTP server to the root directory on the flash of the active MPU of the IRF
fabric.
<Sysname> tftp 192.168.1.26 get newest.app slot1#flash:/startup.app
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 standby MPU of the IRF
fabric.
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 for establishing TFTP
connections. The primary IP address of the source interface is used as the source IP address of packets
sent to a TFTP server. If the source interface has no primary IP address specified, no TFTP connection can
be established.
ip
source-ip-address
: Specifies the source IP address of packets sent to a TFTP server, which is one of the
IP addresses configured on the device.
Description
Use the
tftp client source
command to specify the source IP address of packets sent to a TFTP server.
Use the
undo tftp client source
command to restore the default.
By default, the source IP address is the IP address of the output interface of the route to the server is used
as the source IP address..
If you use the
tftp client source
command to first configure a source interface and then a source IP address,
the source IP address overwrites the source interface, and vice versa.
If you first use the
tftp client source
command to specify a source IP address and then use the
tftp
command to specify another source IP address, the latter is used.
The source IP address specified with the
tftp client source
command applies to all TFTP connections while
the one specified with the
tftp
command applies to the current TFTP connection only.
Related commands:
display tftp client configuration
.
Examples
# Specify the source IP address of packets sent to a TFTP server as 2.2.2.2.
<Sysname> system-view
Summary of Contents for A7500 Series
Page 7: ...v Index 210 ...