Difference between "policy" and "policy cir"

From: Italo Brito \(ibrito\) (ibrito@cisco.com)
Date: Tue May 09 2006 - 19:19:53 ART


It can been a stupid question but I wasn't able to to find the
difference between both. Is there any difference when I configure policy
cir rate and policy rate under the MQC. I tried a config in my router
and it seems the to be the same thing. Why do we have both commands? Is
there some specific features than I can enable on one of those?

policy-map CIR
 class CIR
   police 8000
 class NO_CIR
  police cir 8000

Rack1R6#sh policy-map int g0/0
 GigabitEthernet0/0

  Service-policy output: CIR

    Class-map: CIR (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: none
      police:
          cir 8000 bps, bc 1500 bytes
        conformed 0 packets, 0 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop
        conformed 0 bps, exceed 0 bps

    Class-map: NO_CIR (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: none
      police:
          cir 8000 bps, bc 1500 bytes
        conformed 0 packets, 0 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop
        conformed 0 bps, exceed 0 bps



This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:21 ART