2/24 10.4.4.4/24 Figure 32-1. Simple converged network Configuration The interface we'll be concentrating on is S0/1 on R1. Here is the configuration: interface Serial0/1 ip address 192.168.1.1 255.255.255.0 service-policy output WAN The service-policy statement maps the policy map named WAN to the interface. Here is the configuration for the policy map: policy-map WAN class Voice-RTP priority 128 class Voice-Control bandwidth percent 5 class HTTP bandwidth percent 10 class class-default fair-queue The policy map references four classes: Voice-RTP, Voice-Control, HTTP, and the special class class-default. Remember that class-default is a special class name used when building the default class. The default class is where packets not matching any other class are queued. The queues are designed as follows: Voice-RTP Packets in this class will be put into the strict priority queue. The queue will be sized for 128 Kbps. This is roughly the size of two 64 Kbps G711-encoded VoIP calls. Packets with an IP precedence of 5 will be put into this queue. This is defined in the Voice-RTP class map. Voice-Control The voice control for the VoIP class should not consume much bandwidth. I have guaranteed 5 percent of the link's total bandwidth to this class. Packets marked with an IP precedence of 3 will be put into this queue. This is defined in the Voice-Control class map. I have guaranteed this class 10 percent of the link's total bandwidth. Any traffic with a destination port of 80 will match this class, as referenced by the HTTP class map, and access list 101. class-default This queue is where packets that don't match any other queue will end up. The only definition for the queue is that these packets will be fair-queued. They will be treated as they would be on a regular T1 serial link, but only after the other queues have been processed. The configuration for the class maps is as follows. class-default is a default class in IOS that requires no configuration: class-map match-any HTTP match access-group 101 class-map - match