Book now with code EOY2025
dtlokee wrote: While UDP is connectionless it does not mean that TFTP is not, it means the transport layer protocol is connectionless. In this case TFTP has it's own built in flow control, error detection, acknowledgements, and error recovery mechanisims so it does not need to rely on a protocol suc as TCP. Why did Cisco choose to use tftp for many file copy operations? simple, it takes far less programming code to write the TFTP and UDP protocols than the TCP and FTP or HTTP protocols. When a router had only 128KB of rom (routers will boot to the rom if no IOS is found, this allows an administrator to copy an IOS to the router with a limited TCP/IP stack) it was important to have these things as streamlined as you could.
mattsthe2 wrote: dtlokee wrote: While UDP is connectionless it does not mean that TFTP is not, it means the transport layer protocol is connectionless. In this case TFTP has it's own built in flow control, error detection, acknowledgements, and error recovery mechanisims so it does not need to rely on a protocol suc as TCP. Why did Cisco choose to use tftp for many file copy operations? simple, it takes far less programming code to write the TFTP and UDP protocols than the TCP and FTP or HTTP protocols. When a router had only 128KB of rom (routers will boot to the rom if no IOS is found, this allows an administrator to copy an IOS to the router with a limited TCP/IP stack) it was important to have these things as streamlined as you could. So basically its easier to write error dection, flow control etc etc at the Application level than at the Transport Layer? If that is true then the only advantage to have the transport layer do the "cool stuff" is so it doesnt have to bounce up to Layer 7 to find out if there is a problem. So the difference is basically a trade off between. Easier code writing to do at the application layer Vs. bounching up to L7?
dtlokee wrote: mattsthe2 wrote: dtlokee wrote: While UDP is connectionless it does not mean that TFTP is not, it means the transport layer protocol is connectionless. In this case TFTP has it's own built in flow control, error detection, acknowledgements, and error recovery mechanisims so it does not need to rely on a protocol suc as TCP. Why did Cisco choose to use tftp for many file copy operations? simple, it takes far less programming code to write the TFTP and UDP protocols than the TCP and FTP or HTTP protocols. When a router had only 128KB of rom (routers will boot to the rom if no IOS is found, this allows an administrator to copy an IOS to the router with a limited TCP/IP stack) it was important to have these things as streamlined as you could. So basically its easier to write error dection, flow control etc etc at the Application level than at the Transport Layer? If that is true then the only advantage to have the transport layer do the "cool stuff" is so it doesnt have to bounce up to Layer 7 to find out if there is a problem. So the difference is basically a trade off between. Easier code writing to do at the application layer Vs. bounching up to L7? Not that it's easier but TCP needs to be able to handle the connection oriented services for ANY application layer protocol which makes it very bulky. In the case of TFTP the error detection and correction is only concerned with 512B blocks of data and can be done more efficently at the application layer. TCP has mechanisms for negotiating the window sizes, slow start algorithm, maintaining sequence numbers, and so on. All of this requires more code space than is necessary in this case.
sprkymrk wrote: Here was a pretty good summary of comparing FTP to TFTP. Much of it follows along the lines of what the others were saying: Warning - Pop-Ups on the sitehttp://www.tcpipguide.com/free/t_TFTPOverviewHistoryandStandards-2.htm
mattsthe2 wrote: sprkymrk wrote: Here was a pretty good summary of comparing FTP to TFTP. Much of it follows along the lines of what the others were saying: Warning - Pop-Ups on the sitehttp://www.tcpipguide.com/free/t_TFTPOverviewHistoryandStandards-2.htm Thanks sprkymrk, I just did an IOS upgrade using TFTP and FTP. Can i say that FTP was so much more quickier. Why is that?
Use code EOY2025 to receive $250 off your 2025 certification boot camp!