Go Back   Velocity Reviews > Newsgroups > Cisco
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Cisco - Bandwidth limiting on interfaces

 
Thread Tools Search this Thread
Old 01-17-2005, 03:20 PM   #1
Default Bandwidth limiting on interfaces


Hello, I've got a 100Mbit interface that i want to limit to 3Mbps,
I'm pretty sure the interface config command "bandwidth" doesn't
limit the interface, just modifies the metrics of routing proto's.
How can i limit my interface to 3Mbps?


Adam Landas
  Reply With Quote
Old 01-17-2005, 07:40 PM   #2
Adam Landas
 
Posts: n/a
Default Re: Bandwidth limiting on interfaces

Is it possible to do this on a per url basis rather then a vlan/int
basis? I have a catalyst 6509 with two sup2 cards and PFC card???

On Tue, 18 Jan 2005 00:23:49 +0000, Paul Cocker wrote:

> "Adam Landas" <> wrote in message
> news et...
>> Hello, I've got a 100Mbit interface that i want to limit to 3Mbps,
>> I'm pretty sure the interface config command "bandwidth" doesn't
>> limit the interface, just modifies the metrics of routing proto's.
>> How can i limit my interface to 3Mbps?

>
> Adam,
>
> try the rate-limit command which you can apply to the interface. the below
> example i think would work (this is for going into the interface - change
> input to output for going out). The below example is only 160k, you'd want
> to change that to 3145728.
>
> rate-limit input access-group 101 160000 2000 2000 conform-action transmit
> exceed-action drop
>
>
> access-list 101 permit ip any any
>
> Paul


  Reply With Quote
Old 01-17-2005, 10:06 PM   #3
Adam Landas
 
Posts: n/a
Default Re: Bandwidth limiting on interfaces

Yea, right now we have in place a set of PacketShapers. But
they are all 100Mbit connects, being that we limit most
of our customers to 5Mbits, this means we can only have
20 site per PacketShaper. Since the purchace of our new Cat,
I've been trying to elimanate unneeded network apliances.
And we do have a Content Switching Module.

On Tue, 18 Jan 2005 03:38:34 +0000, Walter Roberson wrote:

> In article <>,
> Adam Landas <> wrote:
> :Is it possible to do this on a per url basis rather then a vlan/int
> :basis? I have a catalyst 6509 with two sup2 cards and PFC card???
>
> I believe that you cannot do that with that equipment. I'm not
> sure you can it with any Cisco equipment... a content service switch
> maybe?
>
> One thing I've wondered is this: if you configure bandwidth per
> url, then what are you expecting to have happen if many people/
> devices request transfers simultaneously? If you have
> (say) 250 URLs [easily possible if you are restricting bandwidth
> to known file sharing or streaming media sites], then do you
> configure each for 1/250th of the bandwidth left over after your
> high priority allocations? If yes then you have wasted bandwidth
> if only one person is accessing http. If no, then you allocate
> a particular bandwidth ... say 32 Kb/s. If you do get people
> accessing all 250 urls then that would be 8 Mb/s you are trying
> to reserve, which might be a lot more than your link is capable of.


  Reply With Quote
Old 01-18-2005, 12:23 AM   #4
Paul Cocker
 
Posts: n/a
Default Re: Bandwidth limiting on interfaces

"Adam Landas" <> wrote in message
news et...
> Hello, I've got a 100Mbit interface that i want to limit to 3Mbps,
> I'm pretty sure the interface config command "bandwidth" doesn't
> limit the interface, just modifies the metrics of routing proto's.
> How can i limit my interface to 3Mbps?


Adam,

try the rate-limit command which you can apply to the interface. the below
example i think would work (this is for going into the interface - change
input to output for going out). The below example is only 160k, you'd want
to change that to 3145728.

rate-limit input access-group 101 160000 2000 2000 conform-action transmit
exceed-action drop


access-list 101 permit ip any any

Paul


  Reply With Quote
Old 01-18-2005, 03:38 AM   #5
Walter Roberson
 
Posts: n/a
Default Re: Bandwidth limiting on interfaces

In article <>,
Adam Landas <> wrote:
:Is it possible to do this on a per url basis rather then a vlan/int
:basis? I have a catalyst 6509 with two sup2 cards and PFC card???

I believe that you cannot do that with that equipment. I'm not
sure you can it with any Cisco equipment... a content service switch
maybe?

One thing I've wondered is this: if you configure bandwidth per
url, then what are you expecting to have happen if many people/
devices request transfers simultaneously? If you have
(say) 250 URLs [easily possible if you are restricting bandwidth
to known file sharing or streaming media sites], then do you
configure each for 1/250th of the bandwidth left over after your
high priority allocations? If yes then you have wasted bandwidth
if only one person is accessing http. If no, then you allocate
a particular bandwidth ... say 32 Kb/s. If you do get people
accessing all 250 urls then that would be 8 Mb/s you are trying
to reserve, which might be a lot more than your link is capable of.
--
Reviewers should be required to produce a certain number of
negative reviews - like police given quotas for handing out
speeding tickets. -- The Audio Anarchist
  Reply With Quote
Old 01-18-2005, 07:25 AM   #6
Walter Roberson
 
Posts: n/a
Default Re: Bandwidth limiting on interfaces

In article <csi0bq$nmh$>,
Walter Roberson <> wrote:
|In article <>,
|Adam Landas <> wrote:
|:Is it possible to do this on a per url basis rather then a vlan/int
|:basis? I have a catalyst 6509 with two sup2 cards and PFC card???

|I believe that you cannot do that with that equipment. I'm not
|sure you can it with any Cisco equipment... a content service switch
|maybe?

Hey, it's nice to be wrong sometimes.

Please see the example at the following url:

http://www.cisco.com/warp/public/105...ing_cbwfq.html

It is presented in the context of ATM, but you can ignore that
part of it and just look at the way it is done near the top
of the configuration file for "Cisco 2600 Router".
--
Aleph sub {Aleph sub null} little, Aleph sub {Aleph sub one} little,
Aleph sub {Aleph sub two} little infinities...
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump