Content

| 8.6 |  | Congestion Avoidance |
| 8.6.5 |  | Configuring WRED with CBWFQ |

WRED can be combined with CBWFQ. In this combination CBWFQ provides a guaranteed percentage of the output bandwidth, WRED ensures that TCP traffic is not sent faster than CBWFQ can forward it.

The abbreviated configuration below shows how WRED can be added to a policy-map specifying CBWFQ:

> Router(config)#policy-map prioritybw
> Router(config-pmap)#class class-default fair-queue
> Router(config-pmap-c)#class prioritytraffic bandwidth percent 40 random-detect

The random-detect parameter specifies that WRED will be used rather than the default tail-drop action.