2-2
By default, the binary mode is adopted.
Examples
# Specify to adopt the ASCII mode.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] tftp ascii
TFTP transfer mode changed to ASCII.
tftp get
Syntax
tftp tftp-server get source-file
[
dest-file
]
View
User view
Parameters
tftp-server
: IP address or the host name of a TFTP server, a string of 1 to 20 characters. If the switch
belongs to a cluster, the value cluster means to connect to the TFTP server of the cluster. For the
configuration of the TFTP server of a cluster, refer to the
Cluster
part in this manual.
source-file
: Name of the file to be downloaded from the TFTP server.
dest-file
: File name used when a file is downloaded and saved to the switch.
Description
Use the
tftp get
command to download a file from a TFTP server, and save it to the local storage
device.
Different from the FTP function, the working directory of a TFTP server cannot be changed or specified
on a TFTP client. To enter another working directory, you need to modify the working directory on the
TFTP server and relog in.
The 3com switch 5500-EI supports the TFTP file size negotiation function, namely, before downloading
a file, the switch requests the size of the file to be downloaded to the TFTP server, thus to ensure
whether there is enough space on the Flash for file downloading. If the TFTP server also supports the
function, when the file size is too large, the switch can know this in advance and stops the download
operation to save network resources; if the TFTP server does not support the function, the switch can
only download the file to its memory, and delete the file if it finds the file is too large when writing the file
to the Flash.
Related commands:
tftp put
.
Examples
# Download file
abc.txt
from the TFTP server whose IP address is 1.1.1.1 and save it as
efg.txt
(suppose free space of the flash memory is sufficient).
<Sysname> tftp 1.1.1.1 get abc.txt efg.txt
File will be transferred in binary mode.
Downloading file from remote tftp server, please wait......
TFTP: 35 bytes received in 0 second(s).
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...