Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

QoS policy-map - no stats

I'm having issues getting what I thought would be a very simple QoS policy to work. I've created an ip match any any ACL and applied it to a class-map and then tioed it to a policy, followed by assigning it to an interface. However I can't get any matches to occur against the policy so I'm sure I've missed soemthing very fundamental. The key output is included below. Can anybody advise why I'm not getting any matches against the any any ACL and hence the policy map? I've a feeling I've missed something really basic by looking at all for too long!

3750# sho run | inc mls

mls qos

3750#sho access-list

Extended IP access list 199

10 permit ip any any (101 matches)

3750## sho class-map

Class Map match-any TEST (id 6)

Match access-group 199

Class Map match-any class-default (id 0)

Match any

3750#sho policy-map

Policy Map TEST-PM

Class TEST

set dscp cs7

Class class-default

set dscp 1

3750#sho policy-map int


Service-policy input: TEST-PM

Class-map: TEST (match-any)

0 packets, 0 bytes

offered rate 0 bps, drop rate 0 bps

Match: access-group 199

0 packets, 0 bytes

rate 0 bps

Class-map: class-default (match-any)

0 packets, 0 bytes

offered rate 0 bps, drop rate 0 bps

Match: any

0 packets, 0 bytes

rate 0 bps

3750#sho access-list 199

Extended IP access list 199

10 permit ip any any

3750#sho run int gi1/0/5

Building configuration...

Current configuration : 194 bytes


interface GigabitEthernet1/0/5

switchport access vlan 100

srr-queue bandwidth share 1 70 25 5

srr-queue bandwidth shape 3 0 0 0

priority-queue out

service-policy input TEST-PM


3750#sho vers

Cisco IOS Software, C3750 Software (C3750-IPBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2007 by Cisco Systems, Inc.

Compiled Thu 19-Jul-07 19:15 by nachen

Image text-base: 0x00003000, data-base: 0x01080000

ROM: Bootstrap program is C3750 boot loader

BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(25r)SEE4, RELEASE SOFTWARE (fc1)

whp-cab0-sw07 uptime is 18 weeks, 1 day, 5 hours, 19 minutes

System returned to ROM by power-on

System image file is "flash:c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin"

cisco WS-C3750G-24TS-1U (PowerPC405) processor (revision E0) with 118784K/12280K bytes of memory.

New Member

Re: QoS policy-map - no stats

I think I've worked out what the issue is with my approach. The show policy-map interface command does not report any useful stats. The actual QoS policy config I applied was fine, albeit the version above is not that useful.

Looking at the 3550 config guide:

"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."

In my case I'm using a 3750 and the above issue is not mentioned in the 3750 QoS config doc but I suspect the same problem applies. So, to solve the stats issues I tried looking at the "show mls qos interface statistics" instead and I could see appropriate matching stats.

As a true real world test i tried policing the voice traffic whilst on a call and it most certainly throttled the traffic. It was surpring to see that I needed nearly 80kbps to allow a G711 call to work effectively, I thought it would be okay at 60-70kbps so it was good to see exactly how sensitive it is to packet loss.