Content

| 8.6 |  | Congestion Avoidance |
| 8.6.3 |  | Configuring WRED on a physical interface |

To enable WRED on an interface use the command random-detect.

> Router(config-if)#random-detect

No other commands or parameters need to be specified in order to configure WRED on the interface with the default parameter values.

The defaults can be changed with the following interface commands:

> Router(config-if)#random-detect exponential-weighting-constant exponent min-threshold max-threshold mark-prob-denominator

This command configures the weight factor used in calculating the average queue length:

> Router(config-if)#random-detect precedence precedence min-threshold max-threshold mark-prob-denominator

This command configures parameters for packets with a specific IP Precedence. The minimum threshold for IP Precedence zero corresponds to half the maximum threshold for the interface. The command must be issued for each precedence. To configure RED use the same parameters for each precedence. The default WRED parameter values are based on the best available data.