Cisco QoS FAQ: Congestion Avoidance Through Drop Policies
Q1. Describe the function of the congestion window in TCP, and how it is changed as a result of packet loss.
Q2. Identify the two TCP windowing mechanisms, and describe when each is used.
Q3. Describe the process of TCP slow start, and when it occurs.
Q4. Describe the process of TCP congestion avoidance, and when it occurs.
Q5. Describe the meaning of the term “global synchronization,” and discuss what causes it.
Q6. Define the meaning of the term “tail drop.”
Q7. Define the meaning of the term “TCP starvation.”
Q8 Does RED compare the actual queue depth or the average queue depth to queue thresholds when deciding whether it should discard a packet? Why this one, and not the other?
Q9. Describe how RED uses actual queue depth to calculate average queue depth. Do not list the formula, but just describe the general idea.
Q10. Assume the RED minimum threshold is 20, the maximum threshold is 40, and the mark probability denominator is 10. What must be true for RED to discard all new packets?
Q11 Assume the RED minimum threshold is 20, the maximum threshold is 40, and the mark probability denominator is 10. What must be true for RED to discard 5 percent of all new packets?
Q12. Define how RED uses the mark probability denominator. Give one example.
Q13. Define the term “exponential weighting constant.” If the value is lowered compared to the default setting of 9, how does RED behave differently?
Q14. Spell out the words represented by the initialisms RED, WRED, and FRED.
Figure: Sample Network for All FRED Examples—Configuration on R3
Q15. List the queuing tools that can be concurrently supported on an interface when WRED has been enabled directly on a serial interface.
Q16. Identify the most important difference between RED operation and WRED operation.
17 Describe how WRED “weights” packets.
Q18. List the queuing tools that can enable WRED for use with some or all of their queues, effectively enabling WRED concurrently with the queuing tool.
Q19. What command enables you to look at WRED drop statistics when WRED is configured inside an MQC class?
Q20. Taking as many defaults as possible, list the configuration commands needed to configure precedence-based WRED on interface S1/1.
interface serial 1/1
random-detect
21 Taking as many defaults as possible, list the configuration commands needed to configure DSCP-based WRED on interface S1/1.
interface serial 1/1
random-detect dscp-based
Q22. Taking as many defaults as possible, list the configuration commands needed to configure DSCP-based WRED inside class class1, inside policy map my-policy. (You can assume that the CBWFQ configuration has already been completed, and you just entered global configuration mode. Assume that you need just to enable WRED in class class1.)
policy-map my-policy
class class1
random-detect dscp-based
Q23. List the command needed to set the minimum threshold to 25, the maximum threshold to 50, and the mark probability denominator to 4, for precedence 2.
Q24. What show command lists detailed statistics about random drops on interface S1/1?
show queueing interface s1/1
Flow-Based WRED (FRED)
Q25. List the queuing tools that can be concurrently supported on an interface when FRED has been enabled directly on a serial interface.
Q26. Identify the most significant difference between FRED operation and WRED operation.
Q27. List the three categories of flows defined by FRED, and identify which category has its packets discarded most aggressively.
28 Describe how FRED prevents TCP starvation.
Q29. List the queuing tools that can enable FRED for use with some or all queues, effectively enabling FRED concurrently with the queuing tool.
Q30. Suppose that an interface has five active flows, with Flow 1 consuming 20 queue entries, and a maximum queue size of 40. Describe the terms “maximum per-flow queue depth,” and give an example of how it is calculated with this example. Use default values for any information not stated in the question.
Q31 Taking as many defaults as possible, list the configuration commands needed to configure precedence-based FRED on interface S1/1.
interface serial 1/1
random-detect flow-based
By using the random-detect flow-based command, Cisco IOS Software adds the random-detect command automatically.
Q32. Taking as many defaults as possible, list the configuration commands needed to configure DSCP-based FRED on interface S1/1.
interface serial 1/1
random-detect dscp-based
random-detect flow-based
If you had just used the random-detect flow-based command, and not the randomdetect dscp-based command, Cisco IOS Software would have added the randomdetect command automatically, which enables precedence-based WRED.