cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2432
Views
0
Helpful
20
Replies

qos problem

sbjeong
Level 1
Level 1

Hello,

I'd like to limit downloading traffic around max 2Mbps. So I configured like below. But, traffic is wave, no steady 2Mbps, so it looks like something wrong.

How can I make it correct ?

10.9.5.28 is my PC IPAddr.

---------------------------------

#show version

----

System image file is "sup-bootflash:s72033-ps-mz.122-18.SXD4.bin"

cisco WS-C6509-E (R7000) processor (revision 1.1) with 458720K/65536K bytes of m

emory.

----

#show run

class-map match-all traffic-limit

match access-group name bad_ip

!

!

policy-map traffic-control

class traffic-limit

police 2048000 1024000 1024000 conform-action transmit exceed-action drop

ip access-list extended bad_ip

permit ip any host 10.9.5.28

permit ip host 10.9.5.28 any

deny ip any any

interface FastEthernet9/47

description # To Internet #

bandwidth 5000

ip address 10.9.9.2 255.255.255.252

load-interval 30

service-policy input traffic-control

20 Replies 20

Kevin Dorrell
Level 10
Level 10

Can you do a show policy-map interface F9/47 please?

Kevin Dorrell

Luxembourg

FastEthernet9/47

Service-policy input: traffic-control

class-map: traffic-limit (match-all)

Match: access-group name bad_ip

police :

2048000 bps 1024000 limit 1024000 extended limit

Earl in slot 9 :

359492192 bytes

30 second offered rate 17856 bps

aggregate-forwarded 355850403 bytes action: transmit

exceeded 3641789 bytes action: drop

aggregate-forward 96 bps exceed 0 bps

That looks OK to me. It has already dropped 3641789 bytes (about 1% of your total traffic) due to policing. Please could explain what it is that makes you believe it is not working.

Kevin Dorrell

Luxembourg

Traffic pattern is not normal.

I think the user might say that network is problem..

I want to flat traffic pattern.

Please refer to the attached file.

This traffic is one large file downloading (around 2GB).

There is 5Mbps flat traffic for half period before applying service-policy and the rest wave traffic is after applying service-policy.

try to change your police rule like this:

policy 2048000 conform transmit exceed drop violate drop

If you don't have the "violate" option then just ignore it as it only matters if you allow burst.

Try Traffic shapping if you like instead of policing, it would give you a sort of flat traffic pattern most of the time.

I already try traffic shapping but the result was same.

6509A(config-if-range)#traffic-shape group 108 2048000

(access-list 108 is equal to ip access-list bad_ip)

Hi,

One reason for wavery traffic might be casued if there are large number of TCP flows. One other thing I would try is WRR.

I think this is an incoming policy and not an outgoing. You can police both incoming and outgoing. You can shape outgoing, but unfortunately you cannot shape incoming AFAIK.

Kevin Dorrell

Luxembourg

duplicate posting - sorry

I've confured it at the first time, but it was same pattern and lower bandwidth.

Hi,

I wonder if you are trying to limit the incomming traffic ?. cld you just send a quick drawing and how u got that graph ? because it shows percentage.

IMHO, I don't think this would make any difference. OK, it changes it from the 2-bucket model to the 3-bucket model, but since the actions are the same for the second and third buckets you might as well stick to the 2-bucket model. Unless I have misunderstood something - so please answer back if you think I am wrong.

Kevin Dorrell

Luxembourg

Your CIR is set to 2M but you allow 1M burst....

Try NOT to set the burst and only set CIR and check the traffic pattern again.

Also the Windows task manager by default only shows "byte total" in the network page. Try to set "byte receive" instead to check the downstream bandwidth utilization.

And...why don't you directly check the interface statistic on your router?

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: