Pcornel
Networking · IP Services › QoS

Congestion Avoidance

Cheat sheet · https://pcornel.dk/topic.php?topic=1250

Back to the Topic

Answer

Congestion avoidance drops some packets early as a queue fills, for example with WRED, so TCP senders slow down before the queue overflows and drops everything (tail drop).

Remember

  • Congestion avoidance drops some packets early to prevent queues filling (WRED).
  • TCP flows slow down when they see drops.
  • Not useful for UDP voice traffic.

First checks

  • show policy-map interface <interface> — random drops (WRED)
  • show interfaces <interface> — output drops

Commands

show policy-map interface Gi0/0/1 output
show platform hardware fed … qos queue stats

Verify in this order

queue fills → WRED probability → early drops → TCP backs off

Where it usually breaks

packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1250

Confirmation

Confirm action

Continue?