OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

Policing traffic

Use policing to limit the rate of ingress traffic flow. The flow can be all the ingress traffic on a port or a particular flow assigned with a traffic class ID.

In addition, you can 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 is dropped to guarantee a bandwidth limit for an ingress traffic flow.

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 cmap-all-traffic
  2. Create a QoS type policy-map to define a policer
    OS10(config)# policy-map interface-policer
                                        OS10(config-pmap-qos)# class cmap-all-traffic
                                        OS10(config-pmap-c-qos)#police cir 4000 pir 6000
                                        
                                     

Configure flow rate policing

  1. Create a QoS type class-map to match the traffic flow
    OS10(config)# class-map cmap-cos3 
                                        OS10(config-cmap-qos)# match cos 3
                                     
  2. Create a QoS type policy-map to define a policer and assign a traffic class ID for the CoS flow
    OS10(config)# policy-map flow-policer
                                        OS10(config-pmap-qos)# class cmap-cos3
                                        OS10(config-pmap-c-qos)# set qos-group 3
                                        OS10(config-pmap-c-qos)#police cir 4000 pir 6000
                                     

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\