01-16-2015 10:31 AM - edited 03-05-2019 12:34 AM
Hello ,
i have some question regarding fair-queue...
I am not clear whether fair-queue is same as CBWFQ.....
What is fair queue ? Can we configure fair queue on newer release...15 and later ? How to configure per-flow queue-limit and number of dynamic queues.
Thanks
01-16-2015 12:29 PM
Fair queuing or Weighted Fair queuing in Cisco is the queuing mechanism which define queue dynamically without user interaction on the basis of flows. But the CBWFQ are user defined queues on the basis of some selection criteria by defining the traffic classes.
Class-Based Weighted-Fair Queuing (CBWFQ) is a queuing algorithm that combines the ability to guarantee bandwidth with the ability to dynamically ensure fairness to other flows within a class of traffic.
In Cisco IOS release 15M&T , The fair-queueing behavior for the class-default class is flow-based. This is a change from the weighted fair queueing (WFQ) behavior in previous releases. With flow-based fair queueing, the flow queues in the class-default class are scheduled equally instead of by weight based on the IP Precedence bits(IPP)
So confirmed that the FQ pre-sorter included in the class-default and because do not include IPP values so it is not WFQ. When you do not explicitly configure the class-default class in a policy map, its default queueing behavior is FIFO. You can configure the bandwidth, fair-queue, or service-policy commands in the class-default class to achieve different queueing behaviors..
01-17-2015 11:53 PM
In newer IOS releases, Fair-Queue in not limited to default-class only. Suppose you define a traffic class for mission critical data and allocate some bandwidth, then you can define Fair-queuing for this class also.
01-19-2015 03:50 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
No, they are not the same, although they are similar.
What is FQ? FQ insures each queue gets its fair share of available bandwidth. Exactly what that means is probably better explained by searching the Internet.
CBWFQ (in theory, or in practice with HQF) is what it's named, i.e. Class Based Weighted Fair Queuing. This too is probably better explained by searching the Internet.
Since HQF, which includes 15x code, FQ can be configured in CBWFQ classes (except LLQ classes). (NB: pre-HQF, fair-queue could be configured in class-default, but it was actually WFQ, not FQ.)
How per-flow queue-limits and number of dynamic queues are defined, I believe, varies based on IOS version. Sometimes you cannot explicitly configure them; defaults are often dependent on interface bandwidth Sometimes there are subcommands that can set their values. Check your IOS version's reference and usage guide manuals, and/or use a question mark while within the CBWQF policy.
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