Policy-map counters

From: Ian Blaney (ian.blaney@gmail.com)
Date: Mon Sep 10 2007 - 06:18:53 ART


Hi

I have a policy map which is simply remarking all EF packets to AF31 on
egress and AF31 to EF on ingress.

class-map match-all EF
  match ip dscp 46
class-map match-all AF31
  match ip dscp 26
!
!
policy-map SETDSCP-OUT
  class EF
    set ip dscp 26
policy-map SETDSCP-IN
  class AF31
    set ip dscp 46

interface GigabitEthernet0/11
 service-policy input SETDSCP-IN
 service-policy output SETDSCP-OUT

I do not see the counters incrementing in the show policy-map interface
command. They do not even rise on the class-default class-map

#show policy-map interface

 GigabitEthernet0/11

  service-policy input: SETDSCP-IN

    class-map: AF31 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: ip dscp 26

    class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: any
        0 packets, 0 bytes
        5 minute rate 0 bps

  service-policy output: SETDSCP-OUT

    class-map: EF (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: ip dscp 46

    class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      match: any
        0 packets, 0 bytes
        5 minute rate 0 bps

ip cef is enabled and there is traffic going over this interface

#show interfaces gi0/11 | in minute
  5 minute input rate 6070000 bits/sec, 1465 packets/sec
  5 minute output rate 3642000 bits/sec, 1246 packets/sec

My IOS is

#show ver | in IOS
IOS (tm) C3550 Software (C3550-I9K2L2Q3-M), Version 12.1(22)EA1a, RELEASE
SOFTWARE (fc1)

Is this a bug or am I doing something wrong here?

Ian Blaney



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