Not clear exactly what you want to achieve, so I will make a couple of
assumptions.
Say you only want to limit each individual customer to 1Mb.
I assume the customer come in a switch which is not qos capable. Let me know
what switch you have as this could make things easier.
So the problem is limiting customers outbound once their traffic has been
aggregated. This can still be easily done using qos and your acl's
1) Create an ACL for each customer (using named ACL's for clarity)
ip access-list standard customer-1
permit 10.0.0.64 0.0.0.63
ip access-list standard customer-2
permit ......
2) Create a separate class-map for each customer:
class-map match-any customer-1
match access-group name customer-1
class-map match-any customer-2
etc....
3) Create your policy-map
policy-map cust-1mb
class customer-1
police cir 1000000 bc 31250
conform-action transmit
exceed-action drop
class customer-2
police cir 1000000 bc 31250
conform-action transmit
exceed-action drop
class customer-3
etc
4) Apply the policy-map to the interface - you can do this inbound from the
switch or outbound to the internet
interface fastethernet 0/0 ?
service-policy output cust-1mb
Voila.
show policy interface fast 0/0 to verify.
Now, you could also be really nice and guarantee each customer a minimum of
1mb, but distribute any extra bandwidth not being used at the time amongst
them.
That might not be what they paid for however
- Ben
"Michael Love" <> wrote in message
news:417912a0$...
> I'm trying to find the proper way of achieving this on a 2600 series
router
> running IOS 12.3(10):
>
> We have a good number of clients on our system, and the service that we
sell
> them gives them a maximum rate of 1mpbs each. If our bandwidth to the
> internet is 10mbps, for example, that means 10 customers can get get the
> maximum rate at once. In practice, we rarely have more than a couple of
> customers performing large downloads at once.
>
> The previous administrator tried to enforce the 1mbps policy by setting up
> an access list like this for the subnet (the ip addresses below are just
> examples):
> access-list 101 permit ip any 10.0.0.64 0.0.0.63
> and then doing a simple traffic shape on the access-list
>
> This, of course, limited traffic across the subnet as a whole to 1mpbs, so
> if our available bandwidth was 10mbps and 3 customers tried to push to
1mpbs
> each, each would be limited to 333kbps, and 9mbps of our bandwidth would
be
> unused. This is not what we wanted.
>
> Then, he set an access list where he specified each individual ip on the
> subnet separately. This, didn't work because, essentially, he just
recreated
> the above access list in long-hand.
>
> He's tossed the job over to me, now. I'm certainly not an IOS expert, I
have
> a couple of books I've been reading, as well as Cisco's webpages. I've set
> up QoS policies to help reduce the bandwidth wasted by P2P software and
> things like that, but up to now I've been working on groups of traffic
> types. Other than doing something stupid and adding 60 "traffic-shape
group
> <xxx> 1000000" commands to the interface, I'm not sure what to do.
>
> I'm certain there's a simpler way to separately rate-limit each individual
> IP on the subnet, but I've been looking through docs and doing web
searches
> for the last few hours, and found nothing to help me with this particular
> problem.
>
> Can anyone either explain to me how to do this, or point me in the
direction
> of an appropriate example? This is driving me nuts because I'm sure
there's
> a simple way to do it, and I'm overlooking it somewhere.
>
> Thanks!
>
>