Police CIR vs PIR

From: Mark Stephanus Chandra (mark.chandra@gmail.com)
Date: Thu Jan 29 2009 - 02:49:51 ARST


Hi Guys

 

I just want a confirmation regarding Traffic Policing :

 

If I said

 

Police 128000 4000 8000 conform-action transmit exceed-action transmit,

 

is it the same with :

 

police cir 128000 pir 256000 ?

 

Can u tell me what is the difference between these two statement:

 

When I use CIR I get this configuration :

 

R2(config)#do sh policy-map interface fast 0/0

 FastEthernet0/0

 

  Service-policy output: mark

 

    Class-map: QOS (match-all)

      0 packets, 0 bytes

      5 minute offered rate 0 bps, drop rate 0 bps

      Match: access-group 101

      police:

          cir 128000 bps, bc 4000 bytes

        conformed 0 packets, 0 bytes; actions:

          transmit

        exceeded 0 packets, 0 bytes; actions:

          transmit

        conformed 0 bps, exceed 0 bps

 

cause when I use PIR I get this configuration :

 

R2(config-if)#do sh policy-map interface fast 0/0

 FastEthernet0/0

 

  Service-policy output: mark

 

    Class-map: QOS (match-all)

      0 packets, 0 bytes

      5 minute offered rate 0 bps, drop rate 0 bps

      Match: access-group 101

      police:

          cir 128000 bps, bc 4000 bytes

          pir 256000 bps, be 8000 bytes

        conformed 0 packets, 0 bytes; actions:

          transmit

        exceeded 0 packets, 0 bytes; actions:

          drop

        violated 0 packets, 0 bytes; actions:

          drop

        conformed 0 bps, exceed 0 bps, violate 0 bps

 

Thanks in advance

 

 

Regards

 

Mark

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:43:40 ARST