From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Sat Aug 26 2006 - 22:15:03 ART
Yeap Sabrina is right
RX(config)#policy-map POLICE1
RX(config-pmap)# class ANY
RX(config-pmap-c)# class class-default
RX(config-pmap-c)# police cir 10000
RX(config-pmap-c-police)#
RX(config-pmap-c-police)#policy-map POLICE2
RX(config-pmap)# class ANY
RX(config-pmap-c)# class class-default
RX(config-pmap-c)# police 10000
RX(config-pmap-c-police)#
RX(config-pmap-c-police)#exit
RX(config-pmap-c)#do show run policy
Building configuration...
Current configuration : 152 bytes
!
policy-map POLICE1
class ANY
class class-default
police cir 10000
policy-map POLICE2
class ANY
class class-default
police 10000
!
end
RX(config-pmap-c)#int e0/0
RX(config-if)#ser out POLICE1
RX(config-if)#do show policy-map inter
Ethernet0/0
Service-policy output: POLICE1
Class-map: ANY (match-all)
20 packets, 1540 bytes
5 minute offered rate 0 bps
Match: any
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
cir 10000 bps, bc 1500 bytes <---------CHECK OUT HERE
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
RX(config-if)#
RX(config-if)#no ser out POLICE1
RX(config-if)# ser out POLICE2
RX(config-if)#do show policy-map inter
Ethernet0/0
Service-policy output: POLICE2
Class-map: ANY (match-all)
4 packets, 308 bytes
5 minute offered rate 0 bps
Match: any
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
police:
cir 10000 bps, bc 1500 bytes <---------CHECK OUT HERE
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
-----Mensaje original-----
De: nobody@groupstudy.com [mailto:nobody@groupstudy.com] En nombre de
sabrina pittarel
Enviado el: Sabado, 26 de Agosto de 2006 08:40 p.m.
Para: Udo Konstantin; sameer inam
CC: ccielab@groupstudy.com
Asunto: RE: police cir / or police <rate>
Hi Udo,
sorry for the late reply, just catching up with emails
after few days of break.
In my understanding:
police <cir> <bc> <be> configures a 1 rate policer.
police cir <cir> pir <pir> configures a 2 rates
policer.
when only <cir> is specified, both commands:
i.e.
police <cir> or
police cir <cir>
are identical.
Please look for "police" and "police (two rates) in
the cisco documentation below:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hqos_r
/qos_o1h.htm#wp1095717
Sabrina
--- Udo Konstantin <ccie_groupstudy@yahoo.de> wrote:
> Sameer,
>
> I configured it yesterday in both ways...
> The result was when I do 'show policy-map' --> on
> both I can see cir
> 128000....?!?
> > To my understanding both are same command .and
> using in the QoS polices
> > to define bandwidth .but i notice if you define
> police cir xxxxxx bits/s
> > (its means you define commited bandwidth) but if
> you define police xxxxxx
> > (in this case its give you option either you
> specify the bandwidth or
> > percentage of totall bandwidth which you need to
> define ).
> >
> > Many thanks ,
> >
> > Sameer
> >
> >
>
--------------------------------------------------------------------
> >
> > From: Udo Konstantin <ccie_groupstudy@yahoo.de>
> > Reply-To: Udo Konstantin
> > To: CCIE Groupstudy <ccielab@groupstudy.com>
> > Subject: police cir / or police <rate>
> > Date: Mon, 21 Aug 2006 19:15:31 +0200
> > MIME-Version: 1.0
> > Received: from lists.groupstudy.com
> ([207.44.210.9]) by
> > bay0-mc9-f13.bay0.hotmail.com with Microsoft
> SMTPSVC(6.0.3790.2444);
> > Mon, 21 Aug 2006 10:15:50 -0700
> > Received: (from sympa@localhost)by
> lists.groupstudy.com
> > (8.12.11.20060308/8.11.6) id k7LHFl6w015843;Mon,
> 21 Aug 2006 13:15:47
> > -0400
> > Received: from groupstudy.com
> (www.groupstudy.com [209.51.144.7])by
> > lists.groupstudy.com (8.12.11.20060308/8.11.6)
> with ESMTP id
> > k7LHFd5g015807for
> <ccielab@lists.groupstudy.com>; Mon, 21 Aug 2006
> > 13:15:39 -0400
> > Received: from groupstudy.com (groupstudy.com
> [127.0.0.1])by
> > groupstudy.com (8.12.11.20060308/8.12.10) with
> ESMTP id
> > k7LHFknO017377GroupStudy Mailer; Mon, 21 Aug
> 2006 13:15:46 -0400
> > Received: (from listserver@localhost)by
> groupstudy.com
> > (8.12.11.20060308/8.12.11/Submit) id
> k7LHFkmV017375for
> > ccielabxhiddenx; Mon, 21 Aug 2006 13:15:46 -0400
> > Received: from smtp005.mail.ukl.yahoo.com
> (smtp005.mail.ukl.yahoo.com
> > [217.12.11.36]) by groupstudy.com
> (8.12.11.20060308/8.12.10) with
> > SMTP id k7LHFi27017352 GroupStudy Mailer; Mon,
> 21 Aug 2006 13:15:44
> > -0400
> > Received: (qmail 98955 invoked from network); 21
> Aug 2006 17:15:32
> > -0000
> > Received: from unknown (HELO linux)
> (ccie?groupstudy@84.57.229.117
> > with plain) by smtp005.mail.ukl.yahoo.com with
> SMTP; 21 Aug 2006
> > 17:15:32 -0000
> > >Hi,
> > >
> > >can anyone me explain, what is the differnt
> between
> > >police cir xxxx bits/s or
> > >police xxxx bits/s
> > >
> > >
> > >Thanks
> > >
> > >Udo
> > >
> > >
> > >
> > >
> >
>
>___________________________________________________________
> > >Telefonate ohne weitere Kosten vom PC zum PC:
> > >
> >
>
>_______________________________________________________________________
> > >Subscription information may be found at:
> > >http://www.groupstudy.com/list/CCIELab.html
> >
> >
>
------------------------------------------------------------------------
> >
> > FREE pop-up blocking with the new MSN Toolbar MSN
> Toolbar Get it now!
> >
> >
>
This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:58 ART