112
•
interface
interface-type interface-number
: Specifies an interface by its type and number. The
primary IPv4 address of this interface will be used as the source IPv4 address for outgoing
TFTP packets. Make sure the interface is up and has the primary IPv4 address configured.
Otherwise, the transmission fails.
•
ip
source-ip-address
: Specifies an IPv4 address. This address must be the IPv4 address of an
interface in up state. Otherwise, the transmission fails.
Usage guidelines
The source address specified with the
tftp
command takes precedence over the source address
specified with the
tftp
client
source
command.
The source address specified with the
tftp client source
command applies to all TFTP connections.
The source address specified with the
tftp
command applies only to the current TFTP connection.
Examples
# Download the
new.bin
file from the TFTP server at 192.168.1.1 and save it as
new.bin
.
<Sysname> tftp 192.168.1.1 get new.bin
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.9M 100 13.9M 0 0 1206k 0 0:00:11 0:00:11 --:--:-- 1206k
<System>
Table 16 Command output
Field Description
%
Percentage of file transmission progress.
Total
Size of files to be transmitted, in bytes.
%
Percentage of received file size to total file size.
Received
Received file size, in bytes.
%
Percentage of sent file size to total file size.
Xferd
Sent file size, in bytes.
Average Dload
Average download speed, in bps.
Speed Upload
Average upload speed, in bps.
Related commands
tftp client source
tftp client ipv6 source
Use
tftp client ipv6 source
to specify the source IPv6 address for TFTP packets sent to an IPv6
TFTP server.
Use
undo tftp client ipv6 source
to restore the default.
Syntax
tftp client ipv6 source
{
interface
interface-type interface-number
|
ipv6
source-ipv6-address
}
undo
tftp client ipv6 source