From: Laidlaw, Patrick A. (Patrick.Laidlaw@wwt.com)
Date: Tue Sep 11 2007 - 05:00:58 ART
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
This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:10 ART