cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1143
Views
0
Helpful
1
Replies

How can I limit bandwidth per IP

filip00011
Level 1
Level 1

Currently I'm able to limit bandwidth for the whole subnet like this:

I want to have a limit of 2Mb down 1Mb up for each client not the whole subnet. Yes I could create two access-lists and class maps for every single IP in the range, but I don't feel this is scalable solution.

access-list bandwitch_limit-dvacet extended permit ip any 192.168.20.0 255.255.255.0
access-list bandwitch_limit-dvacet-up extended permit ip 192.168.20.0 255.255.255.0 any

class-map bandwitch_limit_dvacet
 match access-list bandwitch_limit-dvacet

class-map bandwitch_limit_dvacet_up
 match access-list bandwitch_limit-dvacet-up

policy-map bandwitch_limit
  class bandwitch_limit_dvacet
  police input 2000000
 class bandwitch_limit_dvacet_up
  police input 1000000

service-policy bandwitch_limit interface inside

1 Reply 1

Hi! I'm looking for a similar solution, is this for the destination IP?

I want to accomplish this:

www.example.com (190.5.5.5) - 2MB

Rest of Internet - No limit

Will this work just editing your ACLs?

Rolando A. Valenzuela.

Review Cisco Networking products for a $25 gift card