Re: Policy-map counters

From: Maxim Kurushkin (m.kurushkin@orange-ftgroup.ru)
Date: Mon Sep 10 2007 - 07:42:37 ART


Do not use the *show policy-map interface* privileged EXEC command to
display classification information for incoming traffic. The *interface*
keyword is not supported, and you should ignore the statistics shown in
the display. Instead, you should specify the DSCPs to be monitored by
using the *mls qos monitor dscp* /dscp1 ... dscp8/ interface
configuration command, and then you should use the *show mls qos
interface* /interface-id/ *statistics* privileged EXEC command. For more
information about these commands, see the command reference for this
release.
http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/12.2_25_see/configuration/guide/swqos.html#wp1032145

WBR,
Maxim

Ian Blaney wrote:
> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>

*******************************************************************************************************
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. Orange Business Services shall not be liable for the message if altered, changed or
falsified. If you are not the intended addressee of this message, please cancel it immediately and inform
the sender.
*******************************************************************************************************



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