From: Bit Gossip (bit.gossip@chello.nl)
Date: Mon May 28 2007 - 16:08:07 ART
Petr,
it makes perfect sense! I would like to have a confirmation on the
following:
- with police be=bc is equivalent to traffic shaping when be=0 which
means no burst
So if I want burst of 1/4 of the CIR -> be=(1+1/4) * bc
in case that bc=4000 -> be=5000
Is that correct?
Thanks,
Bit.
On Mon, 2007-05-28 at 16:29 +0400, Petr Lapukhov wrote:
> Hi,
>
> unless you specify "violate-action", Be value is not taken in account.
> That is, if no violate-action is specified, you configure a two-color
> marker,
> with a single token bucket.
>
> Try setting "violate-action" in you examples to see the difference:
>
> Rack1R4#show policy-map interface ethernet 0/0
> Ethernet0/0
>
> Service-policy output: TEST
>
> Class-map: class-default (match-any)
> 5 packets, 308 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: any
> police:
> cir 128000 bps, bc 4000 bytes, be 5000 bytes
> conformed 2 packets, 120 bytes; actions:
> transmit
> exceeded 0 packets, 0 bytes; actions:
> drop
> violated 0 packets, 0 bytes; actions:
> drop
> conformed 0 bps, exceed 0 bps, violate 0 bps
>
> HTH
This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:22 ART