UDP Question
typesh
Member Posts: 168
in CCNA & CCENT
Hello everyone,
I had a question regarding UDP and using T.F.T.P.
Since T.F.T.P uses UDP at the Transport Layer, how does error recovery take place?
For example, suppose we are using a T.F.T.P server to back up a router config file or a much larger file such as an IOS. Since the transmission of the config file or the IOS is being sent via UDP, what happens if an error occurs in transmission? Does the entire IOS not get copied from the router to the T.F.T.P server? I don't quite understand why UDP is used in this case involving file transfers. I understand why UDP is used for things such as VoIP, but it seems to me that reliable transport would be better suited to file transfer (such as backing up files to a T.F.T.P server).
Can anyone clarify please?
Thank you.
I had a question regarding UDP and using T.F.T.P.
Since T.F.T.P uses UDP at the Transport Layer, how does error recovery take place?
For example, suppose we are using a T.F.T.P server to back up a router config file or a much larger file such as an IOS. Since the transmission of the config file or the IOS is being sent via UDP, what happens if an error occurs in transmission? Does the entire IOS not get copied from the router to the T.F.T.P server? I don't quite understand why UDP is used in this case involving file transfers. I understand why UDP is used for things such as VoIP, but it seems to me that reliable transport would be better suited to file transfer (such as backing up files to a T.F.T.P server).
Can anyone clarify please?
Thank you.
Comments
-
jbrad95706 Member Posts: 225Hello everyone,
I had a question regarding UDP and using T.F.T.P.
Since T.F.T.P uses UDP at the Transport Layer, how does error recovery take place?
For example, suppose we are using a T.F.T.P server to back up a router config file or a much larger file such as an IOS. Since the transmission of the config file or the IOS is being sent via UDP, what happens if an error occurs in transmission? Does the entire IOS not get copied from the router to the T.F.T.P server? I don't quite understand why UDP is used in this case involving file transfers. I understand why UDP is used for things such as VoIP, but it seems to me that reliable transport would be better suited to file transfer (such as backing up files to a T.F.T.P server).
Can anyone clarify please?
Thank you.
TFTP and Error Correction - O'Reilly Media -
tiersten Member Posts: 4,505T FTP uses UDP because it was designed to be simple so you can implement it in a boot ROM or loader easily.
-
typesh Member Posts: 168jbrad95706 wrote: »
That was good! Thanks!
So if I understand correctly, the error recovery is implemented at the T.F.T.P level, and not at the UDP level? -
TBellamy Member Posts: 19 ■□□□□□□□□□So if I understand correctly, the error recovery is implemented at the T.F.T.P level, and not at the UDP level?
Yup. You got it.