Users Guide

Differentiated Services 1517
cos-queue random-detect 2
Apply the policy to an interface. Incoming traffic on this interface will be
matched against the policy. Matching packets will be assigned to CoS queue 2
and policed per the above.
interface Te1/0/1
service-policy in p1
exit
DiffServ for VoIP
One of the most valuable uses of DiffServ is to support Voice over IP (VoIP).
VoIP traffic is inherently time-sensitive: for a network to provide acceptable
service, a guaranteed transmission rate is vital. This example shows one way
to provide the necessary quality of service: how to set up a class for UDP
traffic, have that traffic marked on the inbound side, and then expedite the
traffic on the outbound side. The configuration script is for Router 1 in the
accompanying diagram: a similar script should be applied to Router 2.