10-30-2015 09:16 AM - edited 03-05-2019 02:38 AM
Hi All,
I want configure a NBAR QoS policy on my Dialer in Cisco 887. However I need to append the policy to the interface oly if I activate a shape (as indicated in this link)
https://supportforums.cisco.com/discussion/10856131/llq-over-tunnel-interface
I had a look around the shaping stuff, however the topic seems quite huge and I don' t have a good understanding yet.
Thinking about the upstream of my ADSL (560 Kbps), what is the best shaping configuration ?
I was thinking shape peak percent 90 Is it right?
Thanks
10-30-2015 09:55 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
Normally you shape for the next bottleneck you cannot manage (this allows you do manage congestion upstream from the natural bottleneck). For an ADSL port, you would shape egress for your upstream bandwidth.
As I believe many Cisco shapers don't account for L2 overhead, you can shape "slower" to allow for that overhead. Unfortunately, L2 overhead, as a percentage, varies based on packet's size. What I generally do is shape "slower" for my expected average overhead, usually by 10 to 15 percent.
PS:
Don't use shape peak, it usually doesn't opeate as I believe it should, and I doubt your ADSL has provided peak bursting; so, just shape aveage.
Pre-HQF IOS shapers use FQ. Post HQF IOS shapers use FIFO, so for the latter, I would recommend a child policy, with a class-default, using FQ. This assuming you don't already have a more complicated child policy.
10-30-2015 10:18 AM
Hi, Thank you very much for your reply.
Let's take an example:
policy-map QoS_DNS
class NBAR_DNS
bandwidth percent 50
policy-map QOS
class class-default
shape average percent 100
service-policy QoS_DNS
And I apply that to my interface dialer wit 800Kb in upstream.
What is going to be the shape in Upstream? (800Kbp?) What is going to be the bandwidht reserved for dns (I guess 400kbps)
10-30-2015 11:15 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
I believe the shape average percent 100 will base it's percentage on the interface it "belongs" to. I.e. so you dialer interface would need a bandiwdth statement for 800. (It's been many years since I've used a dialer interface, and shaper percentage is a more recent command, so I'm not 100% positive. You could also shape for 800000.)
The DNS class will be whatever is the bandwidth of its parent class. So, if class-default in the parent class class-default is 800 K, then NBAR_DNS should be half, or 400 K.
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