QoS per IP

Answered Question
Jan 19th, 2009
User Badges:

Hello,


how can I limit the bandwidth for some IPs ?


class-map match-any R5

match access-group 170


policy-map RR5

class R5

bandwidth 800


intterface FastEthernet1

service-policy output RR5


access-list 170 permit ip 172.31.5.0 0.0.0.255 any


Note: R5 = 172.31.5.0/24


Is this enough for limiting network 172.31.5.0/24 bandwidth to 800 kbps ?

I want to limit all the traffic.

thank U!

Correct Answer by Istvan_Rabai about 8 years 6 months ago

Hi Spinu,


The "bandwidth" command under class R5 sets the minimum guaranteed bandwidth (NOT the maximum bandwidth) for the traffic classified by acl 170.


Instead of the bandwidth command you should use shaping or policing under class R5:


shape average 800000

or

police 800000 conform-action transmit exceed-action drop


Cheers:

Istvan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Istvan_Rabai Mon, 01/19/2009 - 11:23
User Badges:
  • Gold, 750 points or more

Hi Spinu,


The "bandwidth" command under class R5 sets the minimum guaranteed bandwidth (NOT the maximum bandwidth) for the traffic classified by acl 170.


Instead of the bandwidth command you should use shaping or policing under class R5:


shape average 800000

or

police 800000 conform-action transmit exceed-action drop


Cheers:

Istvan

Actions

This Discussion