R3204P16-HP Load Balancing Module System Maintenance Command Reference-6PW101

111
Description
Use the tftp command to upload files from the local device to a TFTP server or download files from the
TFTP server to the local device.
If no destination file name is specified, the saved file uses the source file name.
This command applies to IPv4 networks.
Examples
# Download the config.cfg file from the TFTP server with the IP address of 192.168.0.98 and save it as
config.bak. Specify the source IP address to be 192.168.0.92.
<Sysname> tftp 192.168.0.98 get config.cfg config.bak source ip 192.168.0.92
...
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait....
TFTP: 372800 bytes received in 1 second(s)
File downloaded successfully.
# Upload the config.cfg file from the local device to the default path of the TFTP server with the IP address
of 192.168.0.98 and save it as config.bak. Specify the source IP interface to be GigabitEthernet 0/1.
<Sysname> tftp 192.168.0.98 put config.cfg config.bak source interface GigabitEthernet
0/1
File will be transferred in binary mode
Sending file to remote TFTP server. Please wait...
TFTP: 345600 bytes sent in 1 second(s).
File uploaded successfully.
tftp client source
Syntax
tftp client source { interface interface-type interface-number | ip source-ip-address }
undo tftp client source
View
System view
Default level
2: System level
Parameters
interface interface-type interface-number: Specifies the source interface for establishing TFTP
connections. The primary IP address of the source interface is used as the source IP address of packets
sent to a TFTP server. If the source interface has no primary IP address specified, no TFTP connection can
be established.
ip source-ip-address: Specifies the source IP address of packets sent to a TFTP server, which is one of the
IP addresses configured on the LB module.
Description
Use the tftp client source command to specify the source IP address of packets sent to a TFTP server.
Use the undo tftp client source command to restore the default.