Information About DiffServ Compliant WRED
Differentiated Services for WRED
Differentiated Services is a multiple service model that can satisfy differing Quality of Service (QoS) requirements. With Differentiated Services, the network tries to deliver a particular kind of service based on the QoS specified by each packet. This specification can occur in different ways. The DiffServ Compliant WRED feature enables WRED to use either the 6-bit differentiated services code point (DSCP) or the IP Precedence setting in IP packets when it calculates the drop probability for a packet. The DSCP value is the first six bits of the IP type of service (ToS) byte.
Usage Guidelines for DiffServ Compliant WRED
To configure the DiffServ Compliant WRED feature, first specify the policy map, add the class, and configure the bandwidth or shape for the class. If you want WRED to use the DSCP value when it calculates the drop probability, use the dscp-based argument with the random-detect command to specify the DSCP value and then use the random-detect dscp command to modify the default minimum and maximum thresholds for the DSCP value. If you want WRED to use the IP Precedence value when it calculates the drop probability, use the precedence-based argument with the random-detect command to specify the IP Precedence value. This configuration can then be applied wherever policy maps are attached (for example, at the interface level, the per-VC level, or the shaper level).
Remember the following points when using the commands included with this feature:
-
If you use the dscp-based argument, WRED will use the DSCP value to calculate the drop probability.
-
If you use the precedence-based argument, WRED will use the IP Precedence value to calculate the drop probability.
-
The dscp-based and precedence-based arguments are mutually exclusive.
-
If you do not specify either argument, WRED will use the IP Precedence value to calculate the drop probability (the default method).