
Configuring IP Utilities
2-10
304234-A Rev 00
TFTP Overview
The Trivial File Transfer Protocol (TFTP) is a TCP/IP standard protocol for
transferring files with minimum capability and minimal overhead. TFTP is
implemented on top of the unreliable connectionless datagram delivery service
and is used to move files between network devices.
TFTP was designed to be small and easy to implement. Because it is small, it is
more restrictive, lacking most of the features of the File Transfer Protocol (FTP).
TFTP provides inexpensive, unsophisticated file-transfer service only. It cannot
list directories and provides no authentication.
TFTP runs on top of the User Datagram Protocol (UDP) and uses timeout and
retransmission to ensure that data arrives. Each file transfer begins with a request
to read or write to a file; this request also serves to ask for a connection. If the
server grants the request, the connection is opened and the file is sent in
fixed-length blocks (data packets) of 512 bytes. Each data packet contains one
block of data and must be acknowledged by an acknowledgment packet before the
next packet is sent. A data packet of less than 512 bytes terminates the transfer.
If a packet gets lost in the network, the intended recipient will time out and may
retransmit its last packet (which can be data or an acknowledgment), causing the
sender of the lost packet to retransmit the packet. Because the lock-step
acknowledgment guarantees that all older packets have been received, the sender
keeps one packet only on hand for transmission.
Change Working
Directory
CWD Causes the server to change the volume.
Print Working
Directory
PWD Causes the server to print its current working directory.
Implementation-specific FTP Commands
Compact COMP Causes the server to compact the flash card. Use this
command after the
delete
command, or when the amount of
contiguous space is low. You can determine the amount of
contiguous space on a router by using the
dir
command.
Table 2-3. FTP Commands Supported
(continued)
Command Code Description
Komentarze do niniejszej Instrukcji