Home > TCP UDP Questions

TCP UDP Questions

July 30th, 2017 in ROUTE 300-101 Go to comments

Question 1


It is a general best practice to not mix TCP-based traffic with UDP-based traffic (especially Streaming-Video) within a single service-provider class because of the behaviors of these protocols during periods of congestion. Specifically, TCP transmitters throttle back flows when drops are detected. Although some UDP applications have application-level windowing, flow control, and retransmission capabilities, most UDP transmitters are completely oblivious to drops and, thus, never lower transmission rates because of dropping.
When TCP flows are combined with UDP flows within a single service-provider class and the class experiences congestion, TCP flows continually lower their transmission rates, potentially giving up their bandwidth to UDP flows that are oblivious to drops. This effect is called TCP starvation/UDP dominance.
TCP starvation/UDP dominance likely occurs if TCP-based applications is assigned to the same service-provider class as UDP-based applications and the class experiences sustained congestion.
Granted, it is not always possible to separate TCP-based flows from UDP-based flows, but it is beneficial to be aware of this behavior when making such application-mixing decisions within a single service-provider class.

Reference: http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND/QoS-SRND-Book/VPNQoS.html

Question 2

Question 3


TCP Selective Acknowledgement (SACK) prevents unnecessary retransmissions by specifying successfully received subsequent data. Let’s see an example of the advantages of TCP SACK.

TCP_ACK.jpgTCP (Normal) Acknowledgement TCP_SACK.jpg
TCP Selective Acknowledgement

For TCP (normal) acknowledgement, when a client requests data, server sends the first three segments (named of packets at Layer 4): Segment#1,#2,#3. But suppose Segment#2 was lost somewhere on the network while Segment#3 stills reached the client. Client checks Segment#3 and realizes Segment#2 was missing so it can only acknowledge that it received Segment#1 successfully. Client received Segment#1 and #3 so it creates two ACKs#1 to alert the server that it has not received any data beyond Segment#1. After receiving these ACKs, the server must resend Segment#2,#3 and wait for the ACKs of these segments.

For TCP Selective Acknowledgement, the process is the same until the Client realizes Segment#2 was missing. It also sends ACK#1 but adding SACK to indicate it has received Segment#3 successfully (so no need to retransmit this segment. Therefore the server only needs to resend Segment#2 only. But notice that after receiving Segment#2, the Client sends ACK#3 (not ACK#2) to say that it had all first three segments. Now the server will continue sending Segment #4,#5, …

The SACK option is not mandatory and it is used only if both parties support it.

The TCP Explicit Congestion Notification (ECN) feature allows an intermediate router to notify end hosts of impending network congestion. It also provides enhanced support for TCP sessions associated with applications, such as Telnet, web browsing, and transfer of audio and video data that are sensitive to delay or packet loss. The benefit of this feature is the reduction of delay and packet loss in data transmissions. Use the “ip tcp ecn” command in global configuration mode to enable TCP ECN.

The TCP time-stamp option provides improved TCP round-trip time measurements. Because the time stamps are always sent and echoed in both directions and the time-stamp value in the header is always changing, TCP header compression will not compress the outgoing packet. Use the “ip tcp timestamp” command to enable the TCP time-stamp option.

The TCP Keepalive Timer feature provides a mechanism to identify dead connections. When a TCP connection on a routing device is idle for too long, the device sends a TCP keepalive packet to the peer with only the Acknowledgment (ACK) flag turned on. If a response packet (a TCP ACK packet) is not received after the device sends a specific number of probes, the connection is considered dead and the device initiating the probes frees resources used by the TCP connection.

Reference: http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipapp/configuration/xe-3s/asr1000/iap-xe-3s-asr1000-book/iap-tcp.html

Question 4


Global synchronization occurs when multiple TCP hosts reduce their transmission rates in response to congestion. But when congestion is reduced, TCP hosts try to increase their transmission rates again simultaneously (known as slow-start algorithm), which causes another congestion. Global synchronization produces this graph:



Global synchronization reduces optimal throughput of network applications and tail drop contributes to this phenomenon. When an interface on a router cannot transmit a packet immediately, the packet is queued. Packets are then taken out of the queue and eventually transmitted on the interface. But if the arrival rate of packets to the output interface exceeds the ability of the router to buffer and forward traffic, the queues increase to their maximum length and the interface becomes congested. Tail drop is the default queuing response to congestion. Tail drop simply means that “drop all the traffic that exceeds the queue limit. Tail drop treats all traffic equally and does not differentiate among classes of service.

Question 5


When TCP is mixing with UDP under congestion, TCP flows will try to lower their transmission rate while UDP flows continue transmitting as usual. As a result of this, UDP flows will dominate the bandwidth of the link and this effect is called TCP-starvation/UDP-dominance. This can increase latency and lower the overall throughput.

Question 6

Question 7

Question 8


If the speed of an interface is equal or less than 768 kbps (half of a T1 link), it is considered a low-speed interface. The half T1 only offers enough bandwidth to allow voice packets to enter and leave without delay issues. Therefore if the speed of the link is smaller than 768 kbps, it should not be configured with a queue.

Question 9

Question 10


First we need to understand about bandwidth-delay product.

Bandwidth-delay product (BDP) is the maximum amount of data “in-transit” at any point in time, between two endpoints. In other words, it is the amount of data “in flight” needed to saturate the link. You can think the link between two devices as a pipe. The cross section of the pipe represents the bandwidth and the length of the pipe represents the delay (the propagation delay due to the length of the pipe).

Therefore the Volume of the pipe = Bandwidth x Delay (or Round-Trip-Time). The volume of the pipe is also the BDP.


For example if the total bandwidth is 64 kbps and the RTT is 3 seconds, the formula to calculate BDP is:

BDP (bits) = total available bandwidth (bits/sec) * round trip time (sec) = 64,000 * 3 = 192,000 bits

-> BDP (bytes) = 192,000 / 8 = 24,000 bytes

Therefore we need 24KB to fulfill this link.

For your information, BDP is very important in TCP communication as it optimizes the use of bandwidth on a link. As you know, a disadvantage of TCP is it has to wait for an acknowledgment from the receiver before sending another data. The waiting time may be very long and we may not utilize full bandwidth of the link for the transmission.


Based on BDP, the sending host can increase the number of data sent on a link (usually by increasing the window size). In other words, the sending host can fill the whole pipe with data and no bandwidth is wasted.Bandwidth-delay_Product_Optimized.jpg

In conclusion, if we want an optimal end-to-end delay bandwidth product, TCP must use window scaling feature so that we can fill the entire “pipe” with data.

  1. TALAW
    May 16th, 2016

    Guys please help out ccnp route study material preferably pdf please which site can I get help

  2. to PAT
    May 26th, 2016

    BDP (bits) = total_available_bandwidth (bits/sec) x round_trip_time (sec)

    BDP= 64000*3=192000 bits=192000/8 bytes= 24000 bytes

  3. Anonymous
    July 19th, 2016


  4. Sheril
    July 19th, 2016


  5. Anonymous
    July 25th, 2016

    Kindly send me new updated dumps…
    I will attempt my exam in next week.
    Umair.asmatullah9211@ g m a i l. C o m

  6. SC
    August 14th, 2016

    Just Passed the exam 300-101 today, dumps and this site really helped. astonished to see 100% common questions sim and lab in exam.
    My advice: Read thoroughly, study with concentration, practice all the labs in this site, and do not forget to understand the explanations of each questions in this site to pass the exam in first attempt and with 100% marks.
    I achieved 923 due to silly mistake.
    will appear for switch exam very soon.

  7. SC
    August 14th, 2016

    for dumps mail sourabh dot er at gmail

  8. Maribeth
    August 15th, 2016

    Peernshdetje.jam 17-vjeqare dhe kam nje gjoks shum shum te vogel.a mund te me jepni ndonje keshille qfar te bej qe te me rritet gjoksi ne gjendjen normale????

  9. about Q8
    September 14th, 2016

    Why is the answer A ?
    When video traffic flow to the queue on a narrow link ,
    the traffic typically is not fragmented .
    what does it mean ?

  10. draugir
    September 16th, 2016

    guys, can anyone confirm that this questions are from CCNP R&S. I think this questions are from voice exam…

  11. Disappointed
    October 4th, 2016

    Guys, I failed today with a 640. The ‘300-101: Implementing Cisco IP Routing’ exam is completely different then what is on this site. Not even close. There are maybe 10 questions that are the same… What happened???

  12. im
    October 5th, 2016

    has cisco changed their course which is not known 9tut? digitaltut can you please clarify, thanks

  13. Also Disappointedy
    October 5th, 2016

    I too failed with 610. Only about 10 of the questions were on there.

  14. Digital Eagle
    October 10th, 2016

    What kinds of simulations were on the exam?

  15. Jane
    November 4th, 2016

    Please Please Please, could somebody email me the latest dumps pdf + Labs (Packet Tracer) for CCNP route exam on jane_woken52 @ yahoo.com . I will be very thankful of you guys. I don’t know how and where to find. Pleaseeeeeee .

  16. Io
    November 14th, 2016

    Everything you require to get ready and quickly pass the tough Cisco Certified Design Professional 300-101exam with 100% pass guarantee in first attempt. http://www.grades4sure.com/300-101-exam-questions.html

  17. Meyousi
    November 17th, 2016

    The materials are very accurate. Few incorrect answers. But I do not expect a full score, anyway. 89% is enough for me. I just passed my exam 9 hours ago. The dumps are trustful. I recommend http://www.testmayor.com to all who want to pass their exam in the first attempt. Practice your exam with this dumps and you will 100% pass your exam.

  18. Sudeb
    November 23rd, 2016


  19. Anonymous
    June 30th, 2017

    can u guys please send me the latest dumps on miguelfilipe_20_01 @ hotmail . com

  20. jokie
    August 2nd, 2017
  21. Anonymous
    August 25th, 2017

    Failed today…760 only..labs are same ..loads of new questions..all dumps outdated…study hard chaps

  22. Steffy
    August 28th, 2017

    Hello everyone, for latest valid dump with continuous update, please contact me at steffyshirls @ gmail .com

  1. No trackbacks yet.