Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 4 File Management Commands
3Com Corporation
4-45
The source IP specified is 0.0.0.0
4.5.2 tftp
Syntax
tftp ip-address { get | sget | put } source-filename [ destination-filename ]
View
User view
Parameter
ip-address : IP address of the TFTP server.
source-filename: Source file name.
destination-filename: Target file name.
get: Downloads the file without protection. In this mode, the router writes data to the
Flash memory during file transfer, which is somewhat unsafe. For example, if you
specify destination-filename to system, the new file rewrites the original system file at
real time. The failure of this download attempt will cause inability of the router to start.
sget: Downloads the file with protection. In this mode, the router starts writing data to
the Flash memory after file transfer completes. Then the original system file will not be
rewritten even when the download fails, thus ensuring higher reliability. This method
however requires larger memory.
put: Uploads the file.
Description
Use the tftp command to upload or download a file through TFTP.
Related command: tftp-server acl.
Example
# Download file vrpcfg.cfg from the root directory of the TFTP server at 1.1.254.2 and
save it as vrpcfg.bak.
<3com> tftp 1.1.254.2 get vrpcfg.cfg flash:/vrpcfg.bak
# Upload file vrpcfg.cfg stored under the root directory of the Flash memory onto the
default directory on the TFTP server at 1.1.254.2 and save it as vrpcfg.bak.
<3com> tftp 1.1.254.2 put flash:/vrpcfg.cfg vrpcfg.bak
4.5.3 tftp host source-interface
Syntax
tftp host source-interface interface-type interface-number