cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2105
Views
10
Helpful
4
Replies

QoS error: Invalid queuing class-map. Help please

bwestfall623
Level 1
Level 1

Hey everyone,

 

I am having an issue applying a policy map and wondering if I could have some help. I wasn't able to figure out my specific issue after searching so I apologize if I missed it.

 

A copy/paste from my config:

 

Policy Map QoSPolicyMap
Class http
set dscp cs1
bandwidth 5 (%)
Class voip
set dscp ef
Class citrix
set dscp af31
priority level 1 50 (%)
Class capwap
set dscp cs6
Class zoom
set dscp af41
priority level 2 20 (%)
Class ping
set dscp af31

 

When applying this as an output service policy to a link I am presented the error:  Invalid queuing class-map!!! Queuing actions supported only with dscp/cos/qos-group/precedence/exp based classification!!!

 

 

The config regarding my policy map is based off a solution I found in this forum. Any help would be greatly appreciated. From what I can tell, my queuing method is still FIFO on all of my classes with the exception that I gave some priority and a bandwidth reservation. Not sure what queuing methods the error is referring to.

 

 

4 Replies 4

Steven Case
Level 1
Level 1

Is this your whole config? You are likely missing the class-maps for the classes you are calling.

 

Here's a ... long document/presentation https://www.cisco.com/c/dam/en/us/products/collateral/ios-nx-os-software/provisioning-monitoring-management/cbpp_cpl_qos.pdf

 

Here's what I mean:

 

Where you have "class citrix", you don't have a class-map that defines what "citrix" is.

 

So, you'll create a class map for "citrix":

 

class-map match-any citrix

   match protocol citrix

 

Then, your policy-map will have something to reference for your class of "citrix".  Do this for them all. For instance, "http" would be:

 

class-map match-any http

    match protocol http

Thank you for the reply, I had left those out as I assumed the issue was with my policy map instead. Here is the config of my class maps:

 

Class Map match-any voip (id 32)
Description: matches the current avaya dscp values
Match dscp af41 (34) ef (46)

 

Class Map match-any ping (id 37)
Description: to put pings in the same category as citrix to better measure issues with an IP SLA
Match protocol icmp

 

Class Map match-any capwap (id 34)
Match protocol capwap-control
Match protocol capwap-data
Match protocol ldap
Match protocol active-directory
Match protocol ms-netlogon
Match protocol kerberos

 

Class Map match-any zoom (id 33)
Description: matches against googled cs values for video traffic
Match dscp cs5 (40) cs7 (56)

Class Map match-any http (id 31)
Description: matches http traffic
Match protocol http
Match protocol https


Class Map match-any citrix (id 35)
Description: matches against citrix traffic
Match protocol citrix

I have re-created your recommendation and will be trying this later tonight. Thank you for your input - I'm still new to QoS and didn't think it would work like that. Reading another similar issue on this forum gave similar insight so I guess I simply need to learn more.

 

I'll report back with the status.

Steven Case
Level 1
Level 1

So, it looks like this could be a classification issue then. Seen that before on these forums. You'll likely have to classify coming in and police going out (page 3) https://www.cisco.com/c/en/us/support/docs/switches/catalyst-3850-series-switches/200729-Common-QoS-error-messages-on-Catalyst-38.pdf

I'm currently away from my development environment, so try something LIKE this (keep in mind syntax may vary, as my mind isn't that kind of trap):

 

class-map match-all citrix_in

  match protocol citrix

 

{The rest}

 

policy-map classification_in

  class citrix_in

     set dscp af31

 

{The rest}

 

Move to Egress policy

 

class-map match-all citrix_out

  match ip dscp af31

 

{The rest}

 

policy-map Qos_Policy

   class citrix_out

      priority level 1 50 %

 

{data ingress interface}

service-policy input classification_in

 

{data egress interface}

service-policy output QoS_Policy