R3303-HP HSR6800 Routers Fundamentals Command Reference

80
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 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.
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
# In standalone mode, download the newest.bin file from the TFTP server at 192.168.1.26 and save it to
both the root directory of the CF card on the active MPU and the root directory of the CF card on the
standby MPU.
<Sysname> tftp 192.168.1.26 get newest.bin startup.bin
.
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait..................
TFTP: 2737556 bytes received in 13 second(s)
File downloaded successfully.
// Download the file from the TFTP server to the root directory of the CF card on the active MPU.
<Sysname> tftp 192.168.1.26 get newest.bin slot1#cfa0:/startup.bin
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait...|
TFTP: 2737556 bytes received in 14 second(s)
File downloaded successfully.
// Download the file from the TFTP server to the root directory of the CF card on the standby MPU.
# In IRF mode, download the newest.bin file from the TFTP server at 192.168.1.26 and save it to both the
root directory of the CF card on the global active MPU and the standby MPU that resides in slot 1 of
member device 2.
<Sysname> tftp 192.168.1.26 get newest.bin startup.bin
.
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait..................
TFTP: 2737556 bytes received in 13 second(s)
File downloaded successfully.