cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1800
Views
30
Helpful
16
Replies

Cisco ISR and IP Precedence

Piotr Kowalczyk
Level 1
Level 1

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

16 Replies 16

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.

Joseph

Once again, many thanks for your help! I'm really impressed of your knowledge!

Review Cisco Networking for a $25 gift card