Class of service

 

When you create a differentiated service policy or an inbound admission policy, you also create and use a class of service.

Differentiated service policies and inbound admission policies use a class of service to group traffic into classes. Even though most of this happens through hardware, you control how you group traffic and what priority the traffic must receive.

As you carry out quality of service (QoS), you first define policies. The policies determine the who, what, where, and when. Then assign a class of service to your policy. Classes of service are defined separately and might be reused by policies. When you define the class of service, you specify if it can be applied to outbound, inbound, or both policy types. If you select both (outbound and inbound), then a differentiated service policy and an inbound admission policy can use that class of service.

The settings within the class of service depend on whether the class of service is used for inbound, outbound, or both types of policies. When you create the class of service, you might encounter the following requirements:

Codepoint marking

QoS uses the suggested codepoints to assign per-hop behaviors to traffic. Routers and switches use these codepoints to give traffic priority levels. Your system cannot use these codepoints, because it does not act as a router. You must determine which codepoints to use, based on your individual network needs. Consider what applications are most important to you and what policies must be assigned higher priority. The most important thing is to be consistent with your markings so that you get the results you expect. These codepoints are a key part of differentiating different classes of traffic.

Traffic metering

QoS uses rate control limits to restrict traffic through your network. These limits are placed by setting the token bucket size, peak rate limit, and average rate limit. See Token bucket and bandwidth limits for more information about these specific values.

Out-of-profile traffic

The final portion of a class of service is out-of-profile handling. When you assign the rate control limits, you set values to restrict traffic. When traffic exceeds these restrictions, the packets are considered out-of-profile. The information in a class of service tells the system whether to drop UDP traffic and reduce TCP congestion window, shape, or remark out-of-profile packets.

Drop UDP packets or reduce TCP congestion window: If you decide to drop and adjust out-of-profile packets, the UDP packets are dropped. However, the TCP congestion window is reduced so that the data rate complies with the token bucket rate. The number of packets that can be sent into the network at any given time decreases, and the congestion is reduced.

Delay (Shape): If you delay the out-of-profile packets, they are shaped to conform to your defined handling characteristics.

Remark with DiffServ codepoint: If you remark out-of-profile packets with a codepoint, they are reassigned a new codepoint. The packets are not throttled to meet your handling characteristics, just remarked. When you assign these handling instructions in the wizard, click Help for more specific information.

Priority

You can prioritize the connections that are made to your system by different inbound admission control policies. This allows you to define the order in which completed connections are handled by your system. You can choose high, medium, low, or best effort.

 

Parent topic:

Concepts

Related concepts
Integrated service using differentiated service markings Inbound admission policy Differentiated service

Related reference
Using codepoints to assign per-hop behaviors