cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
257
Views
0
Helpful
3
Replies

CBWFQ question

ciscoforum
Level 1
Level 1

Following is quoted from Cisco QOS training material talking about CBWFQ.

It says "the bandwidth assigned to the packets of a class

determines the order in which packets are sent. " How come the bandwidth determines the order of the packets being sent?

-----------------------------------------

For CBWFQ, the weight for a packet belonging to a specific class is derived from the bandwidth that you

assigned to the class when you configured it. Therefore, the bandwidth assigned to the packets of a class

determines the order in which packets are sent. All packets are serviced fairly based on weight.

3 Replies 3

Brandon Buffin
VIP Alumni
VIP Alumni

With CBWFQ, unlike WFQ, preference is given based on packet classification. The CBWFQ algorithm determines this preference based on the bandwidth command given to each class in the class map. So, in general, packets in a class with a higher bandwidth will go before packets from a lower bandwidth class because that queue is being serviced more often. This will always be the case for a priority queue.

Hope this helps.

Brandon

Thanks. If that's the case then the lower bandwidth class always has to wait for the higher bandwidth class packets to be sent out. It will creates delay for the lower bandwidth traffic, right?

This is true of a priority queue which is configured using the "priority" command as opposed to the "bandwidth" command. In this case, packets in the priority queue will always be sent before other packets. With CBWFQ, the higher bandwidth queue will simply be serviced more often. In some cases, this means that these packets will be sent before others, but not always. In either case, this does create delay for packets in a lower bandwidth class or packets not in the priority queue. When certain packets are given priority treatment either by way of the priority queue or by way of assigning them to a higher bandwidth class, other packets suffer.

Hope this helps. If so, please rate the post.

Brandon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: