CBWFQ allows user-defined traffic classes as compared to standard WFQ. WFQ applies weights to identified traffic to classify traffic into conversations and allocate bandwidth to each conversation. WFQ is enabled by default on all interfaces less than or equal to 2.048 Mbps.
For CBWFQ, traffic classes are defined matching protocols, ACLs and input interfaces. Packets satisfying the match criteria for a class constitutes the traffic for that class. A FIFO queue is reserved for each class, and traffic belonging to the class is directed to the queue for that class. A maximum of 64 classes/queues can be defined by a user in CBWFQ.
The characteristics of a particular class include bandwidth of the class, weight (derived from the "bandwidth" of the class), maximum packet limit and even queue limit.
If a default class is configured with bandwidth command, all unclassified traffic is put into a single FIFO queue and given treatment according to the configured bandwidth.
If a default class is configured with a fair-queue command, all unclassified traffic is flow classified and given best-effort treatment.
The mechanics behind "bandwidth" command:
1) CBWFQ shares interface bandwidth inversely proportional to flow weights. If there are N number of flows and flow(i) has weight value Weight(i), then CBWFQ guarantees flow(i) the following share of bandwidth: Share(i) = ( Weight(1) + .... + Weight(i) + ... + Weight(N) )/ Weight(i) 2) CBWQF assigns weights to dynamic conversations (non-user defined classes) using the formula-
Weight(i) = 32384/ (IP_Prec(i) + 1)
3) CBWFQ assigns weights to user-defined classes using the formula-
Weight(i) = Constant * Interface_BW / Class_BW if the bandwidth of the class is configured explicitly OR Weight(i) = Constant * 100 / BW_percent is the bandwidth of the class is configured as bandwidth percent or bandwidth remaining percent commands.
The Constant depends on the number of flow queues in WFQ.
Number of flows
The queues are allocated to different classes as below- if N is the number of dynamic flows of CBWFQ.
Hello Experts,For some reasons that I ignore the auto registration is not working. It's wokring for the IP Communicators but not for phones. The fact that it works for IP Communicators, I can assume that there is no issues with the config. The show c...
Hello all! Upfront, this is part of a college course I'm taking. I'm familiar with a lot of the stuff in an enterprise environment, but what I'm looking for is new to me! Part of an assignment I have is to propose a solution for a company facing...
I have an odd issue. 10-digit dialing was working fine for a site with a PRI, but I noticed that there was no 10D dial-peer anywhere on the gateway.I verified that we were sending the 10D DNIS to the gateway both by manually going through the call patch i...
We have a training room that is 30'x40'. We are installing a Codec Pro w/ DSP to manage ceiling mics, handhelds & lapels. We only want to capture the teacher at the front of the room - generally from a fixed location, but recognize some tea...
Hi, Is it possible to do constant live call monitoring for an agent? Right now, through Finesse and Calabrio, when a manager live monitors an agent, once that call ends, the monitoring stops. To monitor the next call, they have to start a...