the problem here is that 3750 and 3550 seem not working.
Perhaps they are not suiteable to do traffic policing as it is 6500 series.
With 6500 everything works but the sybtax of policy-map is also different.
my policy map is:
policy-map ptest
class test
police 50000000 1000000 exceed-action drop
now here 50000000 is in bit per second.
The third field 1000000 is bytes per second as the syntax specifies:
sw-v(config-pmap-c)#police ?
<8000-1000000000> Bits per second
sw-v(config-pmap-c)#police 50000000 ?
<8000-1000000> Normal burst bytes
sw-v(config-pmap-c)#police 50000000 1000000 ?
exceed-action action when rate is exceeded
<cr>
there is no normal burst + maximum burst and conform-action options as in
catalyst 6500.
anyway as Normal burst bytes I cannot go higher than 1000000.
with this policy configuration
police 50000000 1000000 exceed-action drop
the traffic is shaped at 8Mbit/s
so it looks like is not functioning well.
any other hints abotu this topic ?
I Am really trying to understand why it does not work and this is
specific with 3550 and 3750.
perhaps I should tweak DSCP parameters ?
thank you very much
Rick
In article <br1edd$ioe$>, Piotr Glaska wrote:
> "Riccardo Veraldi" <> wrote in message
> news:...
>
>> police 90000000 1000000 exceed-action drop
>> is shaping traffic at 45Mbit and not at 90Mbit.
>> if I put
>> police 30000000 500000 exceed-action drop
>> it will shape traffic at 2Mbit and not 30Mbit as I would expect.
>> could u get good results in traffic shaping with 3550 ?
>
> First of all we talk about traffic policing and not traffic shaping in this
> case [3][4]. This mean all traffic not conforming to specified rate and
> burst is dropped. Lost packets have some impact on TCP streams and I suppose
> you were measuring some TCP application performance (ftp?).
> It's possible to get good results with TCP and policing if you can set burst
> to value large enough [2].
> Maximum burst size in 3750 is 1MB which would be enough for policing single
> TCP stream to 15Mb/s [1].
> In Cat2950 maximum burst is 64kB for FastEthernet ports and it's enough for
><1Mb/s - I got about 900kb/s in single FTP transfer with 1Mb/s rate and 64kB
> burst. If burst is set to 32kB I get about 500kb/s.
>
> --
> Piotr
>
> [1] http://www.cnaf.infn.it/~ferrari/tfn...00/police/tcp/
> [2]
> http://www.cisco.com/en/US/partner/p...800feff5.shtml
> [3]
> http://www.cisco.com/en/US/partner/t...800a3a25.shtml
> [4]
> http://www.cisco.com/en/US/partner/p...0800ca59f.html
>
>
>