03-02-2018 11:57 AM - edited 03-03-2019 08:45 AM
Hi Guys,
I have the following configuration on my WAN interface. It is a 20 Mbs link.
Since the interface is set at 100Mbs, and at 20 %, the bandwidth for COS3 is 20Mbs. I wanted to know how bandwidth are allocated for the default class.
When COS3 traffic is less than 20%, should class default traffic should have no problem taking into account that its bandwidth is the size of the link?
but when COS3 is at max utilization, will class default traffic be drop at the policer or the interface?
policy-map qos-policing
class COS3-policing
bandwidth percent 20
class class-default
random-detect dscp-based
fair-queue
service-policy output qos-policing
========================================
Class-map: COS3-policing (match-any)
0 packets, 0 bytes
30 second offered rate 0000 bps, drop rate 0000 bps
Match: ip dscp af11 (10)
0 packets, 0 bytes
30 second rate 0000 bps
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 0/0
bandwidth 20% (20000 kbps)
=================================
Cheers,
Ben
03-05-2018 02:04 AM
Hi Ben
I'm not sure I fully understand You.
You ask about a policer, but there are no policer configured.
If You mean the provider policer, and Your config is what You have show. Then there will be problem.
Your router thinks it can run 100M, and the bandwidth reservation of 20% will only kick in if the interface will be fully loaded (100M). So in that case the provider will randomly drop traffic that is over the 20M.
If You should be sure, You have to configure nested QoS. Where you have Your own shaping to 20M.
/Mikael
03-24-2018 05:06 AM
Hi Mikael,
Thanks for the input.
Yes i meant on the provider's side - sorry for the misunderstanding.
Also about when COS3 will be a max utilization (i.e 20Mbps), will all traffic at class default be drop on my policy?
Rgrds,
Ben.
03-05-2018 07:06 AM - edited 03-05-2018 07:07 AM
How much bandwidth your class default obtains, depends on whether your CBWFQ is pre or post HQF IOS variant, especially when using FQ. For HQF, I believe it also depends on whether a bandwidth allocation has been set for class default.
BTW, Mikael has touched on this, but you might misunderstand how the bandwidth statement works in a CBWFQ policy or how such a policy works when the physical interface offers more bandwidth than is actually available.
03-24-2018 05:08 AM
Hi Joseph,
Well my confusion is rather on the bandwidth statement based on the interface bandwidth, and how traffic will be allocated to default class if COS 3 traffic is at 20 Mb. Considering that the line is only 20 Mb.
Thanks,
Ben
03-24-2018 07:57 AM
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