HP VPN Firewall Appliances System Management and Maintenance Command Reference
264
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
[Sysname] tftp client source ip 2.2.2.2
# Use the primary IP address of interface GigabitEthernet 0/1 as the source IP address for outgoing TFTP
packets.
<Sysname> system-view
[Sysname] tftp client source interface gigabitethernet 0/1
[Sysname]
Related commands
display tftp client configuration
tftp ipv6
Use tftp ipv6 to download a specified file from a TFTP server or upload a specified local file to a TFTP
server in an IPv6 network.