7-5
By default, a device uses the IP address of the interface determined by the matched route as the
source IP address to communicate with a TFTP server.
Note that:
z
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.
z
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.
z
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
# 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
# Specify the source interface of the TFTP client as Vlan-interface 1.
<Sysname> system-view
[Sysname] tftp client source interface vlan-interface 1
tftp ipv6
Syntax
tftp ipv6 tftp-ipv6-server
[
-i
interface-type interface-number
] {
get
|
put
}
source-file
[
destination-file
]
View
User view
Default Level
3: Manage level
Parameters
tftp-ipv6-server
: IPv6 address or host name (a string of 1 to 46 characters) of a TFTP server.
-i
interface-type interface-number
: Specifies the egress interface by its type and number. This
parameter can be used only in case that the TFTP server address is a link local address and the
specified egress interface must have a link local address (For the configuration of link local address,
see
IPv6 Basics
in the
IP Services Volume
).
get
: Downloads a file.
put
: Uploads a file.
source-filename
: Source filename.
destination-filename
: Destination filename. If not specified, this filename is the same as the source
filename.
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...