16.06.2014 Views

Cisco CCNA Study Guide - Router Alley

Cisco CCNA Study Guide - Router Alley

Cisco CCNA Study Guide - Router Alley

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>CCNA</strong> <strong>Study</strong> <strong>Guide</strong> v2.62 – Aaron Balchunas<br />

91<br />

Transport Layer Protocols<br />

Section 7<br />

- TCP and UDP -<br />

The Transport layer (OSI Layer-4) does not actually transport data,<br />

despite its name. Instead, this layer is responsible for the reliable transfer of<br />

data, by ensuring that data arrives at its destination error-free and in order.<br />

The Transport layer is referred to as the Host-to-Host layer in the<br />

Department of Defense (DoD) reference model.<br />

Transport layer communication falls under two categories:<br />

• Connection-oriented – requires that a connection with specific<br />

agreed-upon parameters be established before data is sent.<br />

• Connectionless – requires no connection before data is sent.<br />

Connection-oriented protocols provide several important services:<br />

• Connection establishment – connections are established, maintained,<br />

and ultimately terminated between devices.<br />

• Segmentation and sequencing – data is segmented into smaller<br />

pieces for transport. Each segment is assigned a sequence number, so<br />

that the receiving device can reassemble the data on arrival.<br />

• Acknowledgments – receipt of data is confirmed through the use of<br />

acknowledgments. If a segment is lost, data can be retransmitted to<br />

guarantee delivery.<br />

• Flow control (or windowing) – data transfer rate is negotiated to<br />

prevent congestion.<br />

The TCP/IP protocol suite incorporates two Transport layer protocols:<br />

• Transmission Control Protocol (TCP) – connection-oriented<br />

• User Datagram Protocol (UDP) - connectionless<br />

Both TCP and UDP provide a mechanism to differentiate applications<br />

running on the same host, through the use of port numbers. When a host<br />

receives a packet, the port number tells the transport layer which higherlayer<br />

application to hand the packet off to.<br />

Both TCP and UDP will be covered in detail in this guide. Please note that<br />

the best resource on the Internet for TCP/UDP information is the exemplary<br />

TCP/IP <strong>Guide</strong>, found here: http://www.tcpipguide.com/free/index.htm<br />

* * *<br />

All original material copyright © 2013 by Aaron Balchunas (aaron@routeralley.com),<br />

unless otherwise noted. All other material copyright © of their respective owners.<br />

This material may be copied and used freely, but may not be altered or sold without the expressed written<br />

consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!