04-05-2016 10:09 AM - edited 03-05-2019 03:43 AM
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?
04-05-2016 10:10 AM
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
04-05-2016 02:03 PM
Hello.
class VoIP will be policed (conditional policer) to 40% if the link is congested.
If not - it may allocate more bandwidth.
04-06-2016 05:42 AM
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).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide