3-13 QoS Configuration ApproachesThis chapter covers the following topics:z QoS Configuration Approach Overviewz Configuring a QoS PolicyQoS Configuration Approach OverviewTwo approaches are available for you to configure QoS: policy-based and non policy-based.Some QoS features can be configured in either approach while some can be configured only in oneapproach.Non Policy-Based ConfigurationIn the non policy-based approach, you configure QoS service parameters without using a QoS policy.For example, to rate limit an interface, you can use the line rate feature to directly configure a rate limiton the interface rather than using a QoS policy.Policy-Based ConfigurationIn the policy-based approach, QoS service parameters are configured through configuring QoSpolicies. A QoS policy defines what QoS actions to take on what class of traffic for purposes such astraffic shaping or traffic policing.Before configuring a QoS policy, be familiar with these concepts: class, traffic behavior, and policy.ClassClasses are used to identify traffic.A class is identified by a class name and contains some match criteria for traffic identification. Therelationship between the criteria is AND or OR.z AND: A packet is considered as belonging to a class only when the packet matches all the criteriain the class.z OR: A packet is considered as belonging to a class if it matches any of the criteria in the class.Traffic behaviorA traffic behavior defines a set of QoS actions to take on packets, such as priority marking and trafficredirecting.PolicyA policy associates a class with a traffic behavior to define what actions to take on which class oftraffic.You can configure multiple class-behavior associations in a policy.Configuring a QoS PolicyFigure 3-1 shows how to configure a QoS policy.