Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Traffic Shaping T1 and HTTP Traffic

Status
Not open for further replies.

tjkenobi

MIS
Jul 15, 2002
23
US
Hi, I am wondering if any of you know how to limit the bandwidth from a 2620 router for only http traffic, all other traffic should be able to use any available bandwidth? Can this be done easily? My router version is Version 12.0(3)T3.

Any help would be appreciated.
 
check out

car is a pretty easy way to do it..
i assume this is an internet facing t1 that your trying to shape?

the problem is that it wont effectivly shape the inbound traffic if you dont control the other end of the t1.

you can shape what you send but not what the internet sends you back.. (well you can but your t1 is the bottleneck s its to late to drop after the packets have got to your router)
 
Thanks for your response, I should have been more specific, this is a point-to-point T1 to a main location. We are looking to cap the http traffic at x so all other traffic has room. I don't know if that is possible.
 
well since you control both ends you could use...
CBWFQ


you need to create a policy-map to reserve bandwidth for traffic..

give it a read...
but basically you could create class for your regular traffic and then reserve 95% bandwidth and then have the http traffic go to the default class and that will only leave it with whatever other bandwidth is available..

i would say give it a read and then ask more questions if you have any...
 
I think I have a grasp on creating the classes but how do I have http traffic go to a specific class? I think I see how to set this up for a specific interface on the router but I don't see how to set up for specific traffic types. Thanks for your help!
 
Hello
What you want to do is more like "policing" the traffic, this done with NBAR,but you will find this feature in the updated IOS.If you can I update your IOS,I will post you a config.
Regards

 
Hello
Below is a preview of the commands.
Router(config)#class-map BLOCKHTTP
Router(config-cmap)#match protocol http
Router(config)#policy-map BLOCKWWW
Router(config-pmap)#class BLOCKHTTP
Router(config-pmap-c)#police 56000

Regards
 
Here's how we do it. Say you have a T1 (1,544,000 BPS)
and want to reserve 10% (154,400 BPS);

---------snip-----------
interface FastEthernet0/0
ip address x.x.x.1 255.255.255.0
traffic-shape group 101 1389600
---------snip-----------
access-list 101 permit tcp any eq 0.0.0.255
access-list 101 permit tcp any eq 443 x.x.x.0 0.0.0.255
---------snip-----------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top