# Example: Configuring Average Queue Length for RED

To enable calculation of average queue length, create a drop profile with a nonzero average-length exponent, reference the drop profile within a QoS profile, and attach the QoS profile to an interface.

The following drop profile enables the average queue length calculation, but does not initiate RED dropping behavior:

host1(config)#drop-profile averageOnly host1(config-drop-profile)#average-length-exponent 10

#### Related Documentation

- Configuring RED
- Dropping Behavior Overview
- RED and WRED Overview