06-19-2016 04:27 AM - edited 03-05-2019 07:01 AM
06-19-2016 01:06 PM
I don't believe this is a valid configuration. Probably just lucky that the IOS version accepted it.
06-20-2016 05:29 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
Logically, you're child shapers shouldn't shape, as each is the same as the parent's shaper.
Now if the child shaper's were, for example, each 4M, logically then, policy-map tunnel-policy should never see bandwidth more than 10M (because of the parent's shaper), but an individual tunnel-policy class's shaper would restrict its class to 4M, and if it does, that congestion should be managed by the default-queue-policy. (With each tunnel-policy class shaping at 4M, only two of the three classes might be shaping the parent's 10M.)
BTW, does a policy like what I just described, above, make sense? It can. Suppose the main interface had more physical bandwidth then its overall CIR, and further suppose, remote site's (per tunnel) interface had even less bandwidth. So, such a three tier policy, as above, would insure the local interface's CIR isn't exceeded and it would also insure remote interfaces bandwidth wasn't exceeded. However, the policy I described wouldn't always guarantee VoIP and/or Video had priority. For example, suppose the three tunnel-policy classes has directed to them 3.5M, each. Or suppose, only 5M was directed to the parent policy.
06-20-2016 07:43 AM
The policy you described makes perfect sense and I can see the use case. However, I still do not understand what happens when the collection of child policies attempt to exceed the parent's CIR. Logically it should not be possible to exceed 10 Mbps so the parent has to make a decision to 1) queue the packet or 2) drop the packet. In my example, there is a 3:1 over subscription and each child promises 10 Mbps to their class of traffic. If the child is not making the queuing and congestion avoidance decisions what is?
My assumption is the collection of child policies should never exceed the parent CIR?
06-20-2016 08:07 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
Logically, you child policies should never see more than the amount of the traffic being shaped by the parent. I.e. queuing/shaping starts with the top policy.
So, the most traffic your tunnel-policy should ever see is 10M. That could be just for one class, 2 classes or all 3 classes (or actually all 4, as there's always a default class, implicit when not explicitly defined).
Let's say 40M was directed to just tunnel 1. Parent's shape should provide 10M to tunnel 1. What happens to the other 30M? I believe it's dropped by Parent's shaper. I.e. tunnel 1 never "sees" the other 30M. Then as your tunnel 1's shaper is configured for 10M too, effectively there's not congestion for default-queue-policy to manage.
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