08-26-2015 05:03 PM - edited 03-05-2019 02:10 AM
All,
A few years ago, we were given a qos policy by our ISP to apply to our routers. Lately, I've been asked a lot of questions as to how the router is managing these queues, how much bandwidth we're getting, etc. The policy that we've been given is below:
policy-map COS
class HIGH
priority percent 33
set ip dscp ef
class MEDIUM
bandwidth remaining percent 60
set ip dscp af31
service-policy MARK-BGP
class LOW
bandwidth remaining percent 30
random-detect
set ip dscp af21
class class-default
bandwidth remaining percent 10
random-detect
set ip dscp default
!
This policy has served us well, but the following questions have crept up.
1. Why would the provider give us this policy that carves out 33% for llq, but we only have 20% real time traffic allowed through the mpls network?
2. When a single call comes in, does the router automatically carve out 33% for the single call? This is assuming there is congestion and the policy is active.
3. Does it make more sense to change the llq to 20% to match the provider?
The funny thing is that the provider's recommendation of 33% does NOT match any of their qos offerings on the sheet. The are all whole numbers like 10, 20, 30, 50, 75, and 90. So I can only assume that they gave us this recommendation based on Cisco's best practice of the llq not taking up more than 33% of the circuit. We've not seen any issues from this policy either. The only concern is that they're rolling phones out, and I've told them to calculate bandwidth for the phones based on 33% of the branch's circuit speed. The issue with that is I'm wondering if they should calculate them based on the 20% that the provider allows through their network.
Thanks,
John
Solved! Go to Solution.
08-27-2015 07:31 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 whatsoever (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
#1 Another yes or no.
If you MPLS link really limits your LLQ traffic to 20%, it's going to get dropped. The "advantage" of having it be dropped on your interface, you have better visibility into your oversubscription. That said, decreasing your LLQ to 20% might be more restrictive than the MPLS 20% settings, and if so, you'll drop before the MPLS vendor would have.
The better case, is to set a policer to match exactly what the MPLS vendor is doing, and use that. That way, you have drop visibility and your drop behavior will match what the MPLS vendor would have done to your traffic.
#2 If you vendor is really enforcing 20%, that's what you want to use for your number of calls.
re: BTW - Sounds like you might want the Erlang.
Search for Erlang info:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/srnd/collab11/collab11/sizing.html
http://www.cisco.com/c/en/us/support/docs/voice/h323/5756-7.html
08-27-2015 05:31 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 whatsoever (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
#1 The 33% might be as you say, they are just going by Cisco's generic recommendation, but it also might be to allow some head room in the implicit policer as you can not explicitly set its Bc, Be and Tc.
#2 Yes and no. The way LLQ works, its queue is dequeued, and emptied, before any other queues. The 33% is a policer value. It controls how much bandwidth a particular LLQ class may use. Remember you can have multiple LLQ classes. All their traffic is serviced out of one queue, but each LLQ class can have a different policed rate. So, all traffic in HIGH class, regardless whether one flow or many, will be policed (when there's congestion) to 33%.
#3 Hard to say, again, because we don't know what the implicit policer is using for Bc, Be and Tc and you probably don't know exactly how the provided polices its 20%. (The latter would be nice to know, but often difficult to obtain from the provider. If obtained, though, you can have an explicit policer in the class that matches the provider's values while still keeping the priority % higher.)
I would recommend your VoIP phone roll out use the bandwidth allowance on your MPLS circuits, the 20%, rather than the policy's 33%.
08-27-2015 06:52 AM
Thanks Joseph! Now I have a couple of other questions:
1. Could we experience a negative effect changing to 20% from the 33% if we're not 100% positive why the ISP has given us this percentage?
2. When we're calculating for phones, I've been stating that the calculation should be done based on the 33% rule. For example, on a single T1:
1544 * .33 = 510 / 96k = 5 calls
Whereas, if we're doing the 20% rule (based on the ISP's allowance for EF), it would be:
1544 * .20 = 309 / 96k = 3 calls
We're still waiting to hear back from the ISP in regards to why they gave this to us, and if there is anything updated from them.
BTW, I thought I had found a formula that Cisco had to calculate how many calls a site could have based on the amount of people. For example, if there was a site with 50 users, there was a formula that would figure out that 15 calls would be the max the site could have at one time. Do you know that formula or have a link to it?
Thanks!
08-27-2015 07:31 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 whatsoever (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
#1 Another yes or no.
If you MPLS link really limits your LLQ traffic to 20%, it's going to get dropped. The "advantage" of having it be dropped on your interface, you have better visibility into your oversubscription. That said, decreasing your LLQ to 20% might be more restrictive than the MPLS 20% settings, and if so, you'll drop before the MPLS vendor would have.
The better case, is to set a policer to match exactly what the MPLS vendor is doing, and use that. That way, you have drop visibility and your drop behavior will match what the MPLS vendor would have done to your traffic.
#2 If you vendor is really enforcing 20%, that's what you want to use for your number of calls.
re: BTW - Sounds like you might want the Erlang.
Search for Erlang info:
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/srnd/collab11/collab11/sizing.html
http://www.cisco.com/c/en/us/support/docs/voice/h323/5756-7.html
08-27-2015 09:36 AM
Thanks Joseph!
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