HP VPN Firewall Appliances System Management and Maintenance Command Reference

263
Default command level
3: Manage level
Parameters
server-address: IP address or host name of a TFTP server.
get: Downloads a file in normal mode.
put: Uploads a file.
sget: Downloads a file in secure mode.
source-filename: Source file name.
destination-filename: Destination file name. If this argument is not specified, the file uses the source file
name, and is saved in the directory where the user performed the TFTP operation.
vpn-instance vpn-instance-name: Specifies the VPN 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.
source: Configures parameters for source address binding.
interface interface-type interface-number: Specifies the source interface by its type and number. The
primary IP address configured on the source interface is the source IP address of the packets sent by TFTP.
If no primary IP address is configured on the source interface, the transmission fails.
ip source-ip-address: Specifies the source IP address for the current TFTP client to transmit packets. This
source address must be an IP address that has been configured on the device.
Examples
# Download the config.cfg file from the TFTP server at 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 at 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
Use tftp client source to specify a source IP address for outgoing TFTP packets.
Use undo tftp client source to restore the default.