Chapter 24 Configuring QoS

Configuring Quality of Service (QoS)

 

Command

Purpose

Step 5

 

 

[no] random-detect discard-class-based

Base WRED on the discard class value of a packet.

 

 

To disable this feature, use the no form of this command.

Step 6

 

 

[no] random-detect discard-class value

Configure WRED parameters for a discard-class value for a class policy

 

min-threshold max-threshold

in a policy map.

 

mark-prob-denominator

value—Discard class. Valid values are 0 to 2.

 

 

 

Example

Note WRED counters are not supported for discard class 0.

 

Router(config-pmap-c)# random-detect

 

 

 

discard-class 2 100 200 10

min-threshold—Minimum threshold in number of packets. Valid

 

 

 

 

values are 1 to 4096. When the average queue length reaches the

 

 

minimum threshold, WRED randomly drops some packets with the

 

 

specified IP precedence.

 

 

max-threshold—Maximum threshold in number of packets. Valid

 

 

values are 1 to 4096. When the average queue length exceeds the

 

 

maximum threshold, WRED drops all packets with the specified IP

 

 

precedence.

 

 

Note Max-threshold values configured above 1024 cannot be

 

 

reached.

 

 

mark-prob-denominator—Denominator for the fraction of packets

 

 

dropped when the average queue depth is at the maximum

 

 

threshold. For example, if the denominator is 512, 1 out of every

 

 

512 packets is dropped when the average queue is at the maximum

 

 

threshold. Valid values are 1 to 65535. The default is 10; 1 out of

 

 

every 10 packets is dropped at the maximum threshold.

 

 

To return the values to the default for the discard class, use the no form

 

 

of this command.

 

 

 

Configuring Shaping

The Cisco ASR 901 supports class-based traffic shaping. Follow these steps to configure class-based traffic shaping.

Class-based traffic shaping is configured using a hierarchical policy map structure; you enable traffic shaping on a primary level (parent) policy map and other QoS features such as queuing and policing on a secondary level (child) policy map.

This section contains the following topics:

Configuring Class-Based Traffic Shaping in a Primary-Level (Parent) Policy Map

Configuring the Secondary-Level (Child) Policy Map

Configuring Class-Based Traffic Shaping in a Primary-Level (Parent) Policy Map

Follow these steps to configure a parent policy map for traffic shaping.

Step 1 Use the policy-mapcommand to specify the policy map for which you want to configure shaping and enter policy-map configuration mode.

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23826-09

 

 

24-47

 

 

 

 

 

Page 483
Image 483
Cisco Systems A9014CFD Configuring Shaping, No random-detect discard-class-based, No random-detect discard-class value