76
[Sysname] tftp client source ip 2.2.2.2
# Specify the IP address of interface VLAN-interface 1 as the source IP address of packets sent to a TFTP
server.
<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-filename
[
destination-filename
] [
vpn-instance
vpn-instance-name
]
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 an output interface by its type and number. This parameter
can be used only when the TFTP server address is a link local address and the specified output interface
has a link local address. For the configuration of a link local address, see IPv6 basics configuration in the
Layer 3—IP Services Configuration Guide
.
get
: Downloads a file.
put
: Uploads a file.
source-file
: Source filename.
destination-file
: Destination filename. If it is not specified, this filename is the same as the source
filename.
vpn-instance
vpn-instance-name
: Specifies the MPLS L3 VPN that the TFTP server belongs to. The
vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters.
Description
Use the
tftp ipv6
command to download a specified file from a TFTP server or upload a specified local
file to a TFTP server in an IPv6 network.
Examples
# Download
filetoget.txt
from the TFTP server.
<Sysname> tftp ipv6 fe80::250:daff:fe91:e058 -i Vlan-interface 1 get filetoget.txt
...
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait....
TFTP: 411100 bytes received in 2 second(s)
File downloaded successfully.
Summary of Contents for A7500 Series
Page 7: ...v Index 210 ...