72
ip
source-ip-address:
The source IP address of TFTP connections. It must be an IP address
that has been configured on the AC.
Description
Use the
tftp client source
command to configure the source address of the TFTP
packets from the TFTP client.
Use the
undo telnet client source
command to restore the default.
By default, an AC uses the IP address of the interface determined by the matched
route as the source IP address to communicate with a TFTP server.
The source address can be specified as the source interface and the source IP; if
you use the
tftp client source
command to specify the source interface and then
the source IP, the newly specified source IP overwrites the configured source
interface and vice versa.
If the source address is specified with the
tftp client source
command and then
with the
tftp
command, the source address specified with the latter one is used to
communicate with the TFTP server.
The source address specified with the
tftp client source
command is valid for all
tftp
connections and the source address specified with the
tftp
command is valid for
the current
tftp
command.
Related commands:
display tftp client configuration
.
Examples
Example 1:
Specify the source IP address of the TFTP client as 2.2.2.2.
<Sysname> system-view
[Sysname] tftp client source ip 2.2.2.2
Example 2:
Specify the source interface of the TFTP client as GigabitEthernet1/0/1.
<Sysname> system-view
[Sysname] tftp client source interface GigabitEthernet1/0/1
tftp ipv6
Syntax
tftp ipv6
tftp-ipv6-server
[
-i
interface-type interface-number
] {
get
|
put
}
source-file
[
destination-file
]
View
User view