cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
266
Views
0
Helpful
3
Replies

Shaping and Policing

sergeymolchanov
Level 1
Level 1

Hello! I have a question about using shaping and policy rules together.

Is policy rules works always for prioritization traffic or only when shaping occurs?

3 Replies 3

sergeymolchanov
Level 1
Level 1

Here is config:

policy-map TrafficPolicy                              

 class class-default                                         

  shape average 99000000                           

   service-policy TrafficPriority                   

 

policy-map TrafficPriority                         

class VoIP                                                         

  priority percent 40                                     

class class-default                                                     

  fair-queue                                                       

                                                                            

class-map match-any VOIP               

match protocol rtp audio                          

match protocol sip

 match protocol h323

Hello.

class VoIP will be policed (conditional policer) to 40% if the link is congested.

If not - it may allocate more bandwidth.

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Is policy rules works always for prioritization traffic or only when shaping occurs?

It depends on the policy.

In general, prioritization only "triggers" when there's congestion.  Shaping shapes (i.e. queues excess) when traffic goes out-of-bounds relative to the shaper's parameters.  If there are shaped queues, with traffic, prioritization can happen with them (such as would be the case with the policies you posted in your subsequent post).

Review Cisco Networking for a $25 gift card