The tftp client-source command sets the loopback address or loopback interface as the source address or source interface of the device that functions as a TFTP client.
tftp client-source { -a source-ip-address | -i interface-type interface-number }
undo tftp client-source
| Parameter | Description | Value |
|---|---|---|
-a source-ip-address |
Specifies the IPv4 address of the local device. |
- |
-i interface-type interface-number |
Specifies the outbound interface on the local device. |
- |
When you run the tftp command to log in to a TFTP server without specifying a source address or source interface, the source address or interface that is specified by tftp client-source is adopted by default. If you run the tftp command and specify a source address or source interface at the same time, you can log in to the TFTP server with the specified source address or interface. When you view the current TFTP connection on the server, the specified source IP address or the primary IP address of the specified loop interface is displayed as the IP address of the user.