# Example: Configuring Color-Blind RED

You can configure RED so that packets are dropped without regard to color. To do so, you combine a drop profile that has a committed threshold configured with a queue profile that specifies the same queue length for committed, conformed, and exceeded packets, as shown in Figure 3.

Figure 3: Color-Blind RED Drop Profile with Colorless Queue Profile

In the following example, the drop profile and queue profile combine to specify the following:

- When the average queue length is between 30 percent full (30 KB) and 90 percent full (90 KB), up to 5 percent of the packets are randomly dropped regardless of their color.
- When the average queue length is greater than 90 percent, all packets are dropped regardless of color.
  host1(config)#drop-profile nocolor host1(config-drop-profile)#c ommitted-threshold percent 30 90 5 host1(config-drop-profile)#exit host1(config)#queue-profile colorless host1(config-queue)#committed-length 100000 100000 host1(config-queue)#conformed-fraction 100 host1(config-queue)#exceeded-fraction 100

To achieve the same drop treatment for each color, you can specify color-blind RED in combination with a color-sensitive queue profile, as shown in Figure 4.

Figure 4: Color-Blind RED Drop Profile with Color-Sensitive Queue Profile

In the following example, the drop profile and queue profile combine to specify the following:

- When the average queue length is between 30 percent full (30 KB) and 90 percent full (90 KB), up to 5 percent of the packets are dropped randomly. In this case, the maximum queue length is 100 KB for green packets, 50 KB for yellow packets, and 25 KB for red packets. Therefore, the router randomly drops:
  - Red packets when the average queue length is between 7.5 KB and 22.5 KB
  - Yellow packets when the average queue length is between 15 KB and 45 KB
  - Green packets when the average queue length is between 30 KB and 90 KB
- When the average queue length is greater than 90 percent of the maximum queue length, all packets are dropped. Therefore, the router drops:
  - Red packets when the average queue length is greater than 22.5 KB
  - Yellow packets when the average queue length is greater than 45 KB
  - Green packets when the average queue length is greater than 90 KB
    host1(config)#drop-profile colorblindRed host1(config-drop-profile)#committed-threshold percent 30 90 5 host1(config-drop-profile)#exit host1(config)#queue-profile colorSensitive host1(config-queue)#committed-length 100000 100000

#### Related Documentation

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