Users Guide

Table Of Contents
2. Define the set of traffic class values mapped to a queue.
OS10(config-qos-map)# queue 3 qos-group 0-3
NOTE: For the Z9332F-ON platform, you must specify the type of queue. For example:
OS10(config-qos-map)# queue 3 qos-group 0-3 type ucast
3. Verify the map entries.
OS10# show qos maps type tc-queue
Traffic-Class to Queue Map: tc-q-map
Queue Traffic-Class
--------------------------
3 0-3
4. Apply the map on a specific interface or on a system-QoS global level.
Interface level
OS10(conf-if-eth1/1/1)# qos-map traffic-class tc-q-map
System-qos level
OS10(config-sys-qos)# qos-map traffic-class tc-q-map
Choose all traffic classified for a queue
1. Create a queuing type class-map to match queue 5.
OS10(config)# class-map type queuing q5
2. Define the queue to match.
OS10(config-cmap-queuing)# match queue 5
Policing traffic
Policing allows you to control the speed of traffic that enters a network or an interface. Use rate policing to limit the rate of
ingress traffic flow. The flow can be all the ingress traffic on a port or a particular flow defined using a QoS class-map. In
addition, use policing to color the traffic:
When traffic arrives at a rate less than the committed rate, the color is green.
When traffic propagates at an average rate greater than or equal to the committed rate and less than peak-rate, the color is
yellow.
When the traffic rate is above the configured peak-rate, the traffic drops to guarantee a bandwidth limit for an ingress
traffic flow.
Interface rate policing limits the rate of traffic that is received on an interface. You can configure policing rates for the different
traffic types. You can also monitor the traffic to check if the traffic conforms to the rate limits that you have configured.
Peak rate is the maximum rate for traffic arriving or leaving an interface under normal traffic conditions. Peak burst size
indicates the maximum size of unused peak bandwidth that is aggregated. This aggregated bandwidth enables brief durations of
burst traffic that exceeds the peak rate.
Configure Interface rate policing
1. Create a QoS type empty class-map to match all the traffic.
OS10(config)# class-map example-cmap-all-traffic
Quality of service
1529