Re: Policing - what happens to violate packets?

From: Navin MS (navin_ms07@yahoo.com)
Date: Mon Jun 26 2006 - 22:49:34 ART


I have always seen that violate-action defaults to "drop" if nothing is specified under MQC,
irrespective of whether Be is specified or not. I had made sure of this by running some traffic
end-to-end.

Naveen.

--- Petr Lapukhov <petr@internetworkexpert.com> wrote:

> Here,
>
> check this link, it explains how actually CAR treats Be value :)
> It's totally different from MQC policer behavior :)
>
>
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hqos_c/part20/qchpolsh.htm#wp1000944
>
> HTH
> --
> Petr Lapukhov, CCIE #16379
> petr@internetworkexpert.com
>
> Internetwork Expert, Inc.
> http://www.InternetworkExpert.com
> Toll Free: 877-224-8987
> Outside US: 775-826-4344
>
> 2006/6/26, allboutcisco <frenzeus@streamyx.com>:
> >
> > Hi Petr,
> >
> > Thanks for the reply. What do u mean when u say for CAR ""exceed" action
> > is
> > somewhat "random", to simulate RED behavior, and depends on Be-Bc
> > "margin"."
> >
> > Thanks.
> >
> > K
> >
> > ----- Original Message -----
> > From: "Petr Lapukhov" <petr@internetworkexpert.com>
> > To: "allboutcisco" <frenzeus@streamyx.com>
> > Cc: "Cisco certification" <ccielab@groupstudy.com>
> > Sent: Monday, June 26, 2006 7:43 PM
> > Subject: Re: Policing - what happens to violate packets?
> >
> >
> > > Hmm, since no *violate* action has been defined, Be value is NOT used
> > > actually. All your traffic that exceeds Bc falls under exceed action.
> > >
> > > This behavior is unlike CAR, where you "exceed" action is somewhat
> > > "random", to simulate RED behavior, and depends on Be-Bc "margin".
> > >
> > > HTH
> > >
> > > --
> > > Petr Lapukhov, CCIE #16379
> > > petr@internetworkexpert.com
> > >
> > > Internetwork Expert, Inc.
> > > http://www.InternetworkExpert.com
> > > Toll Free: 877-224-8987
> > > Outside US: 775-826-4344
> > >
> > > 2006/6/26, allboutcisco <frenzeus@streamyx.com>:
> > >>
> > >> Hi Group,
> > >>
> > >> Looking at the config below:
> > >>
> > >> Rack1R2#sh run | b policy-map
> > >> policy-map QOS_IN
> > >> class UDP
> > >> police cir 128000 bc 2000 be 2000
> > >> conform-action transmit
> > >> exceed-action set-prec-transmit 0
> > >> class TCP
> > >> police cir 256000 bc 4000 be 8000
> > >> conform-action transmit
> > >> exceed-action set-prec-transmit 0
> > >>
> > >> Taking class UDP as an example, policing rate for UDP is 128000bps,
> > with
> > >> a
> > >> Bc bucket depth of 2000 bytes & a Be bucket depth of 2000 bytes as
> > well.
> > >> A
> > >> bunch of packets arrive, assuming Bc bucket tokens are all used up to
> > >> transmit & excess packets used up all of Be bucket tokens as well where
> > >> the
> > >> excess action is to set prec to 0 then transmit. Now assuming that
> > there
> > >> are
> > >> still packets & since no action has been defined for violate - what
> > >> happens
> > >> to those packets?
> > >>
> > >> Appreciate if someone could advise on this?
> > >>
> > >> Thanks.
> > >>
> > >> Cheers,
> > >> K
> > >>
> > >> _______________________________________________________________________
> > >> Subscription information may be found at:
> > >> http://www.groupstudy.com/list/CCIELab.html
> > >
> > > _______________________________________________________________________
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>



This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:33 ART