cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
966
Views
7
Helpful
2
Replies

IP Based QOS

imran.moulvi
Level 1
Level 1

Hi Experts,

Is there a way to restrict bandwidth per IP.

I mean, to allow each IP in a network to use only a defined amount of bandwidth, say 64 Kbps at any time.

2 Replies 2

Joseph W. Doherty
Hall of Fame
Hall of Fame

On many devices you could target a policer for a specific IP address, but if many, becomes difficult to maintain and depending on device, might be limited in number of individual policers you can implement.

On the 6500 series, believe they have something called a microflow policer that might lend itself to such an application without needing to predefine every individual IP address.

tcordier
Level 1
Level 1

You can achieve this using MQC policing or CAR. Here are two configurations which show how you could achieve this, for each of the two methods:

1st method MQC:

Define your source IP addresses:

ip access-list standard IP_1

permit 1.1.1.1

ip access-list standard IP_2

permit 2.2.2.2

Define the traffic classes using these ACLs:

class-map match-all IP_1

match access-group name IP_1

class-map match-all IP_2

match access-group name IP_2

Define the policy:

policy-map Police

class IP_1

police 64000

class IP_2

police 64000

-> This will police the traffic in each class to 64K, and drop all traffic above this threshold.

Apply the policy:

interface xyz

service-policy output Police

2nd Method CAR:

interface xyz

rate-limit output access-group 1 64000 8000 8000 conform-action transmit exceed-action drop

rate-limit output access-group 2 64000 8000 8000 conform-action transmit exceed-action drop

For both methods you have many additional options about how to handle exceeding traffic, or how to specify traffic in different ways, such as for destination IP addresses, protocols etc.

Check http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/12_4/qos_12_4_book.html for more information and details.

HTH, Thomas

Review Cisco Networking products for a $25 gift card