08-03-2022 09:01 AM - last edited on 08-10-2022 12:13 AM by Translator
Hi,
I just wander if somebody could help me to understand IP Precedence configuration on Cisco ISR. Basically following Cisco documentation (https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_plcshp/configuration/xe-3s/qos-plcshp-xe-3s-book/qos-plcshp-two-rate-plcr.html#GUID-26784877-A7A9-4BF1-86E2-A6BDDEDC4B66), I want to set cir and pir with IP precedence like below:
police cir 1048500
pir 20970000
conform-action transmit
exceed-action set-prec-transmit 2
violate-action drop
what is nice and clear. What is not clear for me, how to make it working. Is queue WFQ or WRED which will use this marking enabled by default or do I need to configure it? If I need to configure it, what will be the simplest way to achieve the goal - 10MBps traffic always transmitted with the highest priority, between 10MBps to 20MBps transmitted with low priority, above 20MBps - dropped.
Thank you
Solved! Go to Solution.
08-06-2022 08:11 AM
The reason for having a policy on the MAN interface, assuming it's physically a gig connection, it allows you to shape at your contracted rate, which allows you to "know" and "manage" congestion for the 300 Mbps that you otherwise could not.
As to using policers rather than shapers, both will drop packets, the question is when. By default parameters, policers generally will drop before shapers, but based on parameter settings, they can drop at about the same point if desired. (BTW, also by default parameter settings, policers often tend to drop sooner than a like speed interface would - remember interfaces buffer too.)
Generally, I dislike policers as they will drop traffic from a short duration burst, that a shaper would past, but one thing a policer will do, it will avoid latency variations that a shaper (or interface buffer) will create. Also, policers can be used in both in and out polices, shapers only in out polices.
08-08-2022 01:24 AM
Joseph
Once again, many thanks for your help! I'm really impressed of your knowledge!
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