09-14-2017 09:26 AM - edited 03-05-2019 09:08 AM
Hi Folks,
i am little bit confused in HQOS configuration where CBWFQ have bandwidth command configured as well have policing.
For example:
class ce_af4
bandwidth 170
police 64000 12000 24000 conform-action set-dscp-transmit af41 exceed-action set-dscp-transmit af41 violate-action set-dscp-transmit af42
!
With this configurations, will the AF4 class packets get atleast 170Kbps bandwidth during congestion ? But 64000bps is CIR for this class which means 64000 bits will be sent per second with Bc=12000.
For your information, above AF4 queue is the child queue of shaping queue of 3Mbps.
Need a good explanation please ?
Thanks.
Solved! Go to Solution.
09-14-2017 12:51 PM
09-14-2017 12:51 PM
09-15-2017 01:51 AM
Thanks Joseph for the explanation. However, I have few more queries as listed below.
What would be the data rate per second then ? As i understand policer comes before the queueing, scheduler & as per policer command: BC = 12000 bytes & Be = 24000bytes. As i understand, Bc is the amount of data could be sent per Tc. Here, Tc is coming as 96000 bps (Bc)/ 64000bps (CIR) = 1.5sec
Now, i apply this logic then we can send committed 96000bits in one Tc (1.5sec). If it is true then how can 64000bps be achieved as CIR :(, its bit confusing. If we say 170kbps bandwidth could be minimum bandwidth allocated for this class then it is really confusing with policer Bc & Tc.
if i assume, above shouldn't work this way then please advise what could be the data rate per second with Bc, Be & How do we configure this CIR, Bc & Be values for 170Kbps ? I mean the best practises for this configurations.
Please advise.
Thanks.
09-15-2017 02:10 AM
Just to add one more thing, shaping values for the the classes like AF4 are given below:
class class-default
shape average 3552000 14208 0
service-policy Out_MPLS
what is the role of Bc values in shaping queue here when every class have Bc values in policer statement ?
09-15-2017 04:01 AM
09-15-2017 03:33 AM
09-15-2017 04:06 AM
09-15-2017 07:55 AM
Thanks Joseph for the explanation.....Cheers..!!
09-15-2017 03:15 AM
09-15-2017 04:07 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