cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
404
Views
5
Helpful
2
Replies

bandwidth limitation on 2951

mohammedsalih
Level 1
Level 1

Hi every one , i have 100 Mbps internet access and more than 5 subnets , i want to divide bandwidth between subnets or for each ip in subnet, i have 2951 cisco router , can any one provide me with the method of bandwidth limitation . with regards

2 Replies 2

Deepak Kumar
VIP Alumni
VIP Alumni

try to configure QoS like this 

access-list 101 permit ip any a.a.a.a w.w.w.w ## Subnet 1
access-list 102 permit ip any b.b.b.b w.w.w.w ## Subnet 2
access-list 103 permit ip any c.c.c.c w.w.w.w ## Subnet 3
access-list 104 permit ip any d.d.d.d w.w.w.w ## Subnet 4
access-list 105 permit ip any e.e.e.e w.w.w.w ## Subnet 5
!
class-map subnet-1
match access-group 101
!
class-map subnet-2 
match access-group 102
!
class-map subnet-3 
match access-group 103
!
class-map subnet-4
match access-group 104
!
class-map subnet-5 
match access-group 105
!
policy-map subnets
class-map subnet-1
  bandwidth percent 20
class-map subnet-2
  bandwidth percent 20
class-map subnet-3
  bandwidth percent 20
class-map subnet-4
  bandwidth percent 20
class-map subnet-5
  bandwidth percent 20
exit
!
policy-map Qos-total
class class-default
  police 100000000 conform-action transmit exceed-action drop
  service-policy subnets
exit
!
int fa0/1
service-policy output Qos-total
exit

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Joseph W. Doherty
Hall of Fame
Hall of Fame

To the Internet or from the Internet or both?

Do you just want to manage bandwidth ratios between concurrent flows or do you wish to set absolute bandwidth limits?  If the latter, to you wish to queue overrate traffic or immediately drop it?

Do you also wish to manage bandwidth, from the Internet to an internal destination such that the limit is imposed on the actual Internet link to you?

BTW, just a heads up, you can do very to much manage bandwidth, from your internal sources, to the Internet, but the converse (direction) can be very problematic even though you can still easily manage bandwidth actually received by internal sources.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco