07-04-2005 11:52 PM - edited 03-02-2019 11:17 PM
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
07-05-2005 12:34 AM
Can you do a show policy-map interface F9/47 please?
Kevin Dorrell
Luxembourg
07-05-2005 12:55 AM
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
07-05-2005 02:40 AM
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
07-05-2005 06:27 PM
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.
07-05-2005 07:47 PM
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.
07-05-2005 07:53 PM
Try Traffic shapping if you like instead of policing, it would give you a sort of flat traffic pattern most of the time.
07-05-2005 09:14 PM
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)
07-05-2005 09:20 PM
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.
07-05-2005 11:56 PM
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
07-05-2005 11:56 PM
duplicate posting - sorry
07-05-2005 09:26 PM
I've confured it at the first time, but it was same pattern and lower bandwidth.
07-05-2005 09:48 PM
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.
07-06-2005 12:02 AM
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
07-06-2005 12:23 AM
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?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide