Solved

Managing Cisco CBWFQ

Posted on 2008-10-19
3
628 Views
Last Modified: 2012-08-13
Hi!

I hope you can help me with this question because I've not been able to find a solution yet.

This is the situation: my private network 192.168.1.0/24 connects to Internet through a Cisco 2651XM router with a DSL connection providing 10000 Kbps download and 256 Kbps upload. I want to implement a QoS policy on the router so that HTTP traffic from this network gets precedence over HTTP traffic coming from a single host located at 192.168.2.1. I want to use CBWFQ for this.

Let's suppose I configure the class-maps and policy-maps this way:

 class-map match-all HTTP1
    match access-group 150

 class-map match-all HTTP2
    match access-group 160

  policy-map Map
     class HTTP1
        bandwidth percent 50
     class HTTP2
         bandwidth percent 25
     class class-default
          fair-queue

  access-list 150 permit tcp 192.168.1.0 0.0.0.255 any eq 80
  access-list 160 permit tcp host 192.168.2.1 any eq 80

and then apply the Map policy-map to the outside interface using the "service-policy outside Map" interface command.

Now, I know that with this configuration HTTP traffic from 192.168.1.0/24 is guaranteed minimum 50% of the interface bandwidth and HTTP traffic from 192.168.2.1 is guaranteed minimum 25% but both can increase their own bandwidth usage if the other map isn't using the one reserved for itself.

My question is: suppose that host at 192.168.1.1 and 192.168.1.2 start sending HTTP requests. Are these two flows (which belong to the same class) managed using a FIFO policy inside the same class or are they managed differently? In other words, with the configuration above, what happens if host at 192.168.1.1 starts consuming the whole bandwidth reserved to the HTTP1 class (half of the interface bandwidth) and 192.168.1.2 wants to connect too? Will the router decrease bandwidth assigned to 192.168.1.1 to assign a portion of it to 192.168.1.2 (WFQ behaviour) or will 192.168.1.1 continue to consume the whole bandwidth (FIFO behaviour) thus starving 192.168.1.2? If so, what commands do I have to issue in order to manage different flows inside the same class using a WFQ policy?

Thanks very much for your help.

Bye.

0
Comment
Question by:Vincy8501
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
kyleb84 earned 500 total points
ID: 22754481
All traffic that matches a class is treated as "one stream".

If two devices are performing HTTP transactions that both match the same CBWFQ class, it'll behave like FIFO until the bandwidth limiting kicks in and packets will be dropped/delayed.

You'll have to match each specific device and give it a bandwidth allocation if you want specific bandwidth shares.
0
 

Author Comment

by:Vincy8501
ID: 22755760
Thanks very much for your reply.

I suspected that but, is it really possible that there is no way to manage certain classes that group many IP addresses (like in the configuration above) using CBWFQ and then use WFQ for different flows inside the same class?

You know, it would be much simpler to manage because I could allocate a mininum amount of bandwidth for the whole class and then set the router to split it fairly, instead it would be very difficult to manually set the minimum bandwidth for each of the 254 hosts my internal network range groups. What would happen if those addresses were thousands like in an A class subnet?

Thanks again.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Home internet speed 20 57
Usage of Prefix-List 5 77
Show IP BGP Information 10 73
Cisco HSRP - Do i need more than one WAN IP ? 7 52
Security is one of the biggest concerns when moving and migrating your data from your on-premise location to the Public Cloud.  Where is your data? Who can access it? Will it be safe from accidental deletion?  All of these questions and more are imp…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question