R3303-HP HSR6800 Routers Fundamentals Command Reference
81
// Download the file from the TFTP server to the root directory of the CF card on the global active MPU
of the IRF fabric.
<Sysname> tftp 192.168.1.26 get newest.bin chassis2#slot1#cfa0:/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 of the CF card on the standby MPU of the
IRF fabric.
tftp client source
Use tftp client source to specify a source IP address for outgoing TFTP packets.
Use undo tftp client source to restore the default.
Syntax
tftp client source { interface interface-type interface-number | ip source-ip-address }
undo tftp client source
Default
The primary IP address of the output interface is used as the source IP address for outgoing TFTP packets.
Views
System view
Default command level
2: System level
Parameters
interface interface-type interface-number: Specifies a source interface for outgoing TFTP packets.
ip source-ip-address: Specifies a source IP address for outgoing TFTP packets. This IP address must be
one of the IP addresses configured on the device.
Usage guidelines
You can use the tftp client source command to specify a source IP address or source interface for the
TFTP packets sent by the device. If a source interface (typically, a loopback interface) is specified, its
primary IP address is used as the source IP address for the TFTP packets. The source interface setting and
the source IP address setting overwrite each other.
IMPORTANT:
To avoid TFTP connection failures, when you specify a source interface for TFTP packets, make sure the
interface has been assigned a primary IP address.
The tftp client source command setting applies to all TFTP sessions. When you set up a TFTP session with
the tftp command, you can also specify a different source IP address for the TFTP session.
Examples
# Specify 2.2.2.2 as the source IP address for outgoing TFTP packets.
<Sysname> system-view