R3303-HP HSR6800 Routers Fundamentals Command Reference
82
[Sysname] tftp client source ip 2.2.2.2
# Use the primary IP address of interface GigabitEthernet 3/0/1 as the source IP address for outgoing
TFTP packets.
<Sysname> system-view
[Sysname] tftp client source interface gigabitethernet 3/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.
Syntax
tftp ipv6 tftp-ipv6-server [ -i interface-type interface-number ] { get | put } source-filename
[ destination-filename ] [ vpn-instance vpn-instance-name ]
Views
User view
Default command level
3: Manage level
Parameters
tftp-ipv6-server: IPv6 address or host name of a TFTP server, a string of 1 to 46 characters.
-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 Layer 3—IP Services
Configuration Guide.
get: Downloads a file.
put: Uploads a file.
source-file: Source filename.
destination-file: Destination filename. If this argument is not specified, the file uses the source file name.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN where the TFTP server belongs. The
vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If the TFTP server is on the
public network, do not specify this option.
Examples
# Download filetoget.txt from the TFTP server.
<Sysname> tftp ipv6 fe80::250:daff:fe91:e058 -i gigabitethernet 3/0/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.