During a network maintenance window, a network engineer attempts to transfer a software image to a Cisco IOS XE switch located across an enterprise WAN link with mild latency and occasional packet loss. When using Trivial File Transfer Protocol (TFTP), the transfer repeatedly stalls and experiences severe throughput degradation whenever a single packet is dropped. However, when switching to File Transfer Protocol (FTP) over the same link, the transfer completes smoothly despite identical network conditions. Which underlying transport protocol characteristic explains why FTP recovers from packet loss far more efficiently than TFTP during file transfers?
- FTP operates over TCP using dynamic sliding window mechanisms and selective acknowledgments, whereas TFTP operates over UDP using a lock-step stop-and-wait acknowledgment mechanism where each individual block must be acknowledged before the next block is transmitted.Cevap
- BFTP utilizes TCP port 21 to negotiate a stateless UDP data stream, whereas TFTP relies exclusively on unacknowledged UDP broadcasts across port 69.
- CFTP incorporates native application-layer forward error correction (FEC) to rebuild missing segments without retransmission, whereas TFTP lacks error detection headers entirely.
- DFTP utilizes TCP windowing to dynamically compress payload data when packet drops occur, whereas TFTP on UDP forces the switch to restart the entire file transfer from the first block upon a timeout.
Cevap
FTP operates over TCP using sliding window mechanisms, whereas TFTP operates over UDP using a lock-step stop-and-wait acknowledgment mechanism where each block must be acknowledged prior to sending the next.
The correct answer highlights the foundational difference in flow control and reliability mechanics. FTP utilizes TCP, which features sliding window mechanisms that allow continuous stream transmission and selective retransmission of missing segments. TFTP uses UDP and requires an explicit ACK for every single data block before transmitting the next block (stop-and-wait), creating massive throughput bottlenecks when packets are dropped over WAN links.
Adım Adım Çözüm
Anahtar Kavram
TFTP (UDP 69, lock-step stop-and-wait per block) vs FTP (TCP 20/21, sliding windows, reliable streaming)