From: Ian Blaney (ian.blaney@gmail.com)
Date: Tue Sep 11 2007 - 06:18:03 ART
Thanks. I am trying to figure out what the counters mean from the output
below.
Am I right in saying ingress it saw 235179 packets marked with dscp 26 and
235179 packets were remarked to 46.
Why are no_change and classified colums n/a? DSCP 46 says it saw 2885246
packets but how do I know if they were remarked to 26?
#show mls qos interface gi 0/11 statistics
GigabitEthernet0/11
Ingress
  dscp: incoming   no_change  classified policed    dropped (in bytes)
    26: 235179     0          0          0          0
    46: 0          0          235179     0          0
    0 : 179979766  179979766  226854159  0          0
Others: 226854159  0          0          0          0
Egress
  dscp: incoming   no_change  classified policed    dropped (in bytes)
    26: 5750          n/a       n/a      0          0
    46: 2885246       n/a       n/a      0          0
    0 : 362561939     n/a       n/a      0          0
Others: 2552014       n/a       n/a      0          0
WRED drop counts:
  qid  thresh1    thresh2   FreeQ
   1 : 0          0         2049
   2 : 0          0         1024
   3 : 0          0         614
   4 : 0          0         409
Thanks
Ian Blaney
On 9/11/07, Laidlaw, Patrick A. <Patrick.Laidlaw@wwt.com> wrote:
> Hi Ian,
>
> You won't see your policy-map counters go up it doesn't keep track of
> these counters on the switches only in the routers.  A way to verify
> that it is working is check the counters using this command:
>
> show mls qos interface fastEthernet 0/11 statistics
>
> It'll display this show you the incoming and out going counters fore
> each dscp marking.
>
> FastEthernet0/11
>
> dscp: incoming
> -------------------------------
>
> 0 -  4 :           0            0            0            0
> 0
> 5 -  9 :           0            0            0            0
> 0
> 10 - 14 :           0            0            0            0
> 0
> 15 - 19 :           0            0            0            0
> 0
> 20 - 24 :           0            0            0            0
> 0
> 25 - 29 :           0            0            0            0
> 0
> 30 - 34 :           0            0            0            0
> 0
> 35 - 39 :           0            0            0            0
> 0
> 40 - 44 :           0            0            0            0
> 0
> 45 - 49 :           0            0            0            0
> 0
> 50 - 54 :           0            0            0            0
> 0
> 55 - 59 :           0            0            0            0
> 0
> 60 - 64 :           0            0            0            0
> dscp: outgoing
> -------------------------------
>
> 0 -  4 :           0            0            0            0
> 0
> 5 -  9 :           0            0            0            0
> 0
> 10 - 14 :           0            0            0            0
> 0
> 15 - 19 :           0            0            0            0
> 0
> 20 - 24 :           0            0            0            0
> 0
> 25 - 29 :           0            0            0            0
> 0
> 30 - 34 :           0            0            0            0
> 0
> 35 - 39 :           0            0            0            0
> 0
> 40 - 44 :           0            0            0            0
> 0
> 45 - 49 :           0            0            0            0
> 0
> 50 - 54 :           0            0            0            0
> 0
> 55 - 59 :           0            0            0            0
> 0
> 60 - 64 :           0            0            0            0
> cos: incoming
> -------------------------------
>
> 0 -  4 :           2            0            0            0
> 0
> 5 -  7 :           0            0            0
> cos: outgoing
> -------------------------------
>
> 0 -  4 :           0            0            0            0
> 0
> 5 -  7 :           0            0            0
> Policer: Inprofile:            0 OutofProfile:            0
>
>
> Patrick Laidlaw -
> E: patrick.laidlaw@wwt.com
> w: www.wwt.com
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Ian Blaney
> Sent: Monday, September 10, 2007 3:19 AM
> To: Cisco certification
> Subject: Policy-map counters
>
> 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 archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:10 ART