Reference Guide
Conguring QoS is a three-step process:
1 Create class-maps to classify the trac ows. The following are the dierent types of class-maps:
• qos type(default)—Classies the ingress data trac.
• queuing type—Classies the egress queues.
• control-plane—Classies the control-plane trac.
• network-qos—Classies the set of trac-class IDs for ingress buer congurations.
2 Create policy-maps to dene the policies for the classied trac ows. The following are the dierent types of policy-maps:
• qos type(default)—Denes the following actions for the qos type classes of trac.
• Policing
• Marking with a trac class ID
• Modifying packet elds such as CoS and DSCP
• Enabling trust based classication
• queuing type—Denes the following actions for the queuing type classes of egress trac.
• Shaping
• Bandwidth assignment for queues
• Strict priority assignment for queues
• Buer conguration for queues
• WRED/ECN conguration on queues
• control-plane—Denes the policing of control queues for the control-plane policing on control queues.
• network-qos—Denes the Ingress buer conguration for selected trac-class for the network-qos type classes of trac.
3 Apply the policy-maps to interface (port), system (all interfaces), or control-plane trac as follows:
• Control-plane polices must be applied on control-plane mode.
• The qos and network-qos policies must be applied in the input direction on physical interfaces or on system-qos mode.
• Queuing policies must be applied in the output direction on physical interfaces or on system-qos mode.
When a policy is applied on system, the policy is eective on all the ports in the system. However, interface level policy gets
precedence over system level policy.
Class-map conguration
You can implement classication or ltering packets into various trac classes based on a packet match criteria using class-maps. OS10
allows you to create class-maps to separate packets based on a specic match criteria. You can congure three types of class-maps—
control-plane, qos (default), and queueing.
• Create a class-map, and congure a name for the class-map in CONFIGURATION mode.
class-map [type [control-plane | qos | queueing]] [match-all | match-any]class-map-name
• qos—Creates a QoS class-map type
• queuing—Creates a queuing class-map type
• control-plane—Creates a control-plane class-map type
• match-all | match-any—Sets match-all or match-any as your match lter, with match-any as the default
• class-map-name—Enter a class-map name - up to 32 characters
NOTE
: If you create a class-map without entering the class-map type, qos is automatically set as the default class-map type.
Congure class-map
OS10(config)# class-map type qos match-any solar
546
Quality of service