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

From: Wisit Phatchoo (Wisit.P@dcs.premier.co.th)
Date: Mon Sep 24 2007 - 02:57:36 ART


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] 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