RE: Difference between "police" and "police cir"

From: Wisit Phatchoo (Wisit.P@dcs.premier.co.th)
Date: Mon Sep 24 2007 - 03:26:30 ART


Dear Eric

I got it, Thank you very much for your advice.

Best regards

Wisit

________________________________

From: Eric Leung [mailto:eric.lwc@gmail.com]
Sent: Sunday, September 23, 2007 11:20 PM
To: Wisit Phatchoo
Cc: Joseph Brunner; ccielab@groupstudy.com
Subject: Re: Difference between "police" and "police cir"

Hi Wisit,

When you take a closer look to the command reference, "police cir" can
be used to specify a 2-rate token bucket policing, i.e. the conforming
bucket and exceeding bucket rates are not the same. For "police" command
only, the 2 buckets are operating with the same rate.

police -
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hq
os_r/qos_o1h.htm#wp1084068

police cir pir -
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hq
os_r/qos_o1h.htm#wp1084420
<http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/h
qos_r/qos_o1h.htm#wp1084068>

HTH,

Eric.

- Thanks for the question coz I can learn more.

2007/9/24, Wisit Phatchoo <Wisit.P@dcs.premier.co.th>:

Dear Joseph

I see no difference; these means both two commands are same, do I
understand correct?

-----------------------------------
policy-map Test2
class class-default
  police cir 1000000
policy-map Test1
class class-default
   police 1000000

interface Ethernet1/2
ip address 2.2.2.2 255.255.255.0
half-duplex
ipv6 enable
ipv6 ospf 1 area 1
service-policy input Test1
!
interface Ethernet1/3
ip address 3.3.3.3 255.255.255.0
half-duplex
ipv6 enable
ipv6 ospf 1 area 0
service-policy input Test2

R1#sh policy-map interface e1/2
Ethernet1/2

Service-policy input: Test1

   Class-map: class-default (match-any)
     0 packets, 0 bytes
     5 minute offered rate 0 bps, drop rate 0 bps
     Match: any
     police:
         cir 1000000 bps, bc 31250 bytes
       conformed 0 packets, 0 bytes; actions:
         transmit
       exceeded 0 packets, 0 bytes; actions:
         drop
       conformed 0 bps, exceed 0 bps

R1#sh policy-map interface e1/3
Ethernet1/3

Service-policy input: Test2

   Class-map: class-default (match-any)
     0 packets, 0 bytes
     5 minute offered rate 0 bps, drop rate 0 bps
     Match: any
     police:
         cir 1000000 bps, bc 31250 bytes
       conformed 0 packets, 0 bytes; actions:
         transmit
       exceeded 0 packets, 0 bytes; actions:
         drop
       conformed 0 bps, exceed 0 bps

Best regards

Wisit Phatchoo

-----Original Message-----
From: Joseph Brunner [mailto: joe@affirmedsystems.com]
Sent: Sunday, September 23, 2007 10:45 PM
To: Wisit Phatchoo; ccielab@groupstudy.com
Subject: RE: Difference between "police" and "police cir"

Lab it up...

Verify with show policy-map int sX/X

Do some home work for us...

-----Original Message-----
From: nobody@groupstudy.com [mailto: nobody@groupstudy.com
<mailto:nobody@groupstudy.com> ] On Behalf Of
Wisit Phatchoo
Sent: Monday, September 24, 2007 1:44 AM
To: ccielab@groupstudy.com
Subject: Difference between "police" and "police cir"

Dear All

I have some confused about how different between "police" and "police
cir" command under policy map. Can anyone tell me please? Thank you very
much.

Best regards

Wisit



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:15 ART