From: Jim (firstnamejim@gmail.com)
Date: Fri Jan 12 2007 - 01:48:29 ART
I also have a follow up question, what about fragments? it's possible some
packets of the same flow get marked prec=5, some prec=1, it could also be
fragmented, so fragments of the same packet could get different services.
On 1/11/07, Jim <firstnamejim@gmail.com> wrote:
>
> Hi Raj,
>
> Just want to confirm here:
> I see this command available on routers (do see that available in cat3550
> though):
> Is this what you refer to?
>
> policy-map test
> class class-default
> police cir 1000000 pir 5000000
> conform-action set-prec-transmit 5
> exceed-action set-prec-transmit 1
> violate-action drop
> int fa 0/0
> service-policy out test
> end
>
> ! after running some extended pings, take a look at the interface:
>
> r2#sh int fa 0/0 | in rate
> Queueing strategy: fifo
> 5 minute input rate 1955000 bits/sec, 178 packets/sec
> 5 minute output rate 1954000 bits/sec, 177 packets/sec
> r2#sho policy-map inter fa 0/0
> FastEthernet0/0
>
> Service-policy output: test
>
> Class-map: class-default (match-any)
> 102371 packets, 151903789 bytes
> 5 minute offered rate 1965000 bps, drop rate 0 bps
> Match: any
> police:
> cir 1000000 bps, bc 31250 bytes
> pir 5000000 bps, be 156250 bytes
> conformed 40475 packets, 60144462 bytes; actions:
> set-prec-transmit 5
> exceeded 61739 packets, 91744154 bytes; actions:
> set-prec-transmit 1
> violated 0 packets, 0 bytes; actions:
> drop
> conformed 803000 bps, exceed 1201000 bps, violate 0 bps
>
>
>
>
> On 1/11/07, Raj Bansal <ccie_study06@yahoo.com> wrote:
> >
> > Yes, with a 2 bucket three color policer.
> >
> > police pir cir conform action exceed action violate action
> > you can leave the bc and be values, ios will calculate those for you.
> >
> > the pir is your 5 MB, cir is 1 mb. i am not logged into a box right now
> > to see if its kbps, bps, etc. but you get the picture.
> >
> >
> > Yin Chenghua <ych2008@gmail.com> wrote: For an input interface on 3550,
> > is it possible to set the fist 1M to cos=5,
> > and set the traffic between 1M to 5M to cos=1, and drop the traffic
> > above
> > 5M?
> >
> >
> >
> > Anybody know if it can be implemented and how to implement it?
> >
> >
> >
> > Thanks a lot,
> >
> >
> >
> > David
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> > ---------------------------------
> > Check out the all-new Yahoo! Mail beta - Fire up a more powerful email
> > and get things done faster.
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:56 ART