Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » Cisco » [Config] QoS with CBWFQ to prioritize a website
Search Topic:
Uniqs:
972
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
cisco vty lines »
« [Config] 3560 ios problem  
AuthorAll Replies


movement3

join:2002-11-03
Houston, TX

[Config] QoS with CBWFQ to prioritize a website

Hello,
We have an important website that our company heavily uses. We have 2 T1s going out to the Internet, so at times the T1s are maxed out with traffic. During those peak times, I would like priority to be given to this sales portal website and all other traffic falls in the same bucket.

This is my test config on a 871 hooked up to a regular aDSL line:


First, I download a large file from another website, then start a download from *.rapidshare.com, and lastly I fire up a bittorrent. After a couple of mins, the download from rapidshare does not consume the majority of traffic as I would expect. The traffic pattern stays the same as if there is not a policy map applied. Is something wrong with my config? Am I testing this scenario correctly? Thanks.

mplex

join:2004-04-15
Charleston, SC

Well that test should work correctly if the service policy is applied to the serial interfaces on your T1 router, but not on a DSL router. As far as your home router is concerned, Fa4 is a 100Mb interface, not a 6Mbps/384kbps etc link. I would try it at work, and then do a show policy-map int se0/1 on the interface and make sure it is matching correctly.

If you want it to work at home, you have to nest your policies and shape all traffic to the speed of your connection. It's too much to write up here, but what you have should work on a serial interface.


mikeeo
Premium
join:2000-03-12
Newark, DE


1 edit
reply to movement3
Try this

class-map HTTP
match protocl http url *rapidshare.com/*

policy-map CBWFQ
class HTTP
bandwidth whatever
class class-default
fair-queue

int fast ethernet or serial
service policy out CBWFQ

that should do it.

-Mike
CCIE #17982

Arbelac

join:2004-05-14
Canada
reply to movement3
Try changing the bandwidth on the interface you are applying this to, to match your external bandwidth.


mikeeo
Premium
join:2000-03-12
Newark, DE
He shouldn't have to change te bandwidth on the interface unless he is using bandwidth percent. I don't think he was matching packets in his class-map correctly.


movement3

join:2002-11-03
Houston, TX


1 edit
Hello,
Thanks for everyone's help. I was able to test the new config, but no luck. I think Mike is right, I not matching the regular expression correctly in the class-map part. To troubleshoot in steps, I'm just trying to match the packets up now, so for the policy part, I'm using a drop command. Here is the full config for the test lab, you can disregard the myFirewall and access 111, they are not applied to the int fa4. Is there specific debug command for class-maps? I just using debug ip packet detail right now. I'll keep on playing with this and post updates...


aryoba
Premium,MVM
join:2002-08-22

How about something like this?



mikeeo
Premium
join:2000-03-12
Newark, DE
you are gonna wanna stay away from using bandwidth percent. Its not Cisco recommended.

-Mike
CCIE #17982


movement3

join:2002-11-03
Houston, TX

Ok, I think I found a working config. I first tested with a drop command in the policy-map and could not reach the webpage. Then I added bandwidth 900 and fired up a lot of downloads from various sites. The speed to my desire site stayed around 100KB and 105KB. Thanks again for you help.

class-map match-any HTTP
match protocol http host "*.domain.com*"
!
!
policy-map CBWFQ
class HTTP
bandwidth 900
class class-default
fair-queue
!
interface FastEthernet4
service-policy output CBWFQ
Forums » Equipment Support » Hardware By Brand » Ciscocisco vty lines »
« [Config] 3560 ios problem  


Wednesday, 25-Nov 02:23:18 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [103] New AT&T Ad Campaign Hits Back At Verizon
· [85] New Bill Takes Aim At Higher Verizon ETFs
· [84] Apple Joins AT&T Verizon Snark Fest
· [39] In-Flight Internet Headed For Bumpy Landing?
· [32] Senators Want ACTA Made Public
· [30] Earthlink Suffers From Major E-mail Outage
· [30] AT&T Offers New Prepaid Wireless plans
· [28] Frontier Increases Modem Rental Fee
· [19] Despite Billions In USF Fees, U.S. Libraries Lack Bandwidth
· [16] Vivendi In Way Of Comcast's NBC Desires
Most people now reading
· Mysterious $800 Cash Deposit? [General Questions]
· [Rant] Damn Sermons through my speakers! [Rants, Raves, and Praise]
· Windows 7 boot manager editing questions [Microsoft Help]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· "ISP owners could face jail under child porn bill" - CBC [Canadian Broadband]
· Climate Change Scandal Erupts After Email Hack. [Security]
· Came from FIOS to Comcast and.....I'm glad I did! [Comcast HSI]
· [Config] cisco asa 5505 with multiple outside IP addresses [Cisco]
· [Rant] The Weather Channel [Rants, Raves, and Praise]
· Child Porn Laws - The Traci Lords Argument [Canadian Chat]