Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Weighted fair queue question

Unanswered Question
Apr 11th, 2006
User Badges:
  • Green, 3000 points or more

when i configure WFQ on an interface, i see a parameter called available bandwidth on the sh interface command which is less than the actual interface bandwidth. And if the traffic exceeds the available bandwidth then will result in output queue drops.

also i found that changing the interface bandwidth to any arbitrary value changes these parameters as well. ( eg. if i ahve a 1 MB interface and i configure the bandwidht statement as 10 MB, the available bandwidth shows around 8MB) . will it mean then, it will not show drops till the traffic exceeds 8 MB.

please make me understand how this is calculated and how does it affect the interface parameters like queuing etc.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
a-vazquez Tue, 04/18/2006 - 07:27
User Badges:
  • Silver, 250 points or more

WFQ will always alocate the same bandwidth to each flow, irrespective of what kind of flows they are. This is the typical behavior of flow based WFQ. The behavior is similar to plain FQ since the flows are all of equal weights

Try this URL:http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800b75af.html

mheusinger Tue, 04/18/2006 - 07:37
User Badges:
  • Green, 3000 points or more


in case you use WFQ configured on an interface, the configured "bandwidth" has no influence on the queueing behaviour. Software based queueing (like WFQ in a router) will be involved, when the hardware queue is full, i.e. when there is more traffic than the interface can send at the time. You can never send more traffic than the layer1 clock rate allows you to send - no matter what you configure with the interface command "bandwidth".

In case you configure CBWFQ through a policy-map, then the configured interface "bandwidth" is used to calculate the bandwidth per class within percent based CBWFQ. Again this will only make sense if you adjust the interface "bandwidth" to the clock rate.

Hope tis helps! Please rate all posts.

Regards, Martin

bantamdraper13 Thu, 04/27/2006 - 12:31
User Badges:

OK - So you're saying that since I'm using WFQ, the badwidth command does nothing? So what do I need to do to get it working? I tried setting the "bandwidth percent" to 20 and it still does the same thing (no marked outgoing packets)... And why is it working on my other router with the same config?

I also tried configuring a policy map, but when I apply it to the interface, it won't even match traffic.

Thanks for your response!

vladrac-ccna Thu, 04/27/2006 - 16:13
User Badges:
  • Silver, 250 points or more


could you explain exactly what you are trying to achieve?

You could try to lead you in the correct direction.

are you trying to policy a traffic? or shape it?

what configurations are you using?



This Discussion