The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
The objective of this post is to collect the common error messages that we get when configuring QoS features on Catalyst 3850 series switches. The examples were done using IOS XE version 03.03.05SE.
Understanding of Modular Quality of Service (QoS) Command-Line Interface (CLI) (MQC) configuration on Catalyst 3850 switches.
There are no specific requirements for this document.
The information in this document is based on Cisco Catalyst 3850 Series Switches.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with default configuration. If your network is live, make sure that you understand the potential impact of any command.
Example:
class-map match-any realtime
class-map match-any priority
class-map match-any missioncritical
class-map match-any transactional
class-map match-any scavenger
OR
policy-map Edge-QoS
class realtime
class priority
class missioncritical
class transactional
class scavenger
class class-default
3850(config-pmap-c)#interface Gi 1/0/1
3850(config-if)#service-policy input Edge-QoS
3850(config-if)#
*Mar 11 09:12:59.897: Empty class unsupported
Restriction(s):
Workaround:
Example:
int range Gi1/0/1 - 24
service-policy input queueing
% Range command terminated because it failed on GigabitEthernet1/0/1
Restriction(s): None
Workaround:
Example:
access-list 150 permit ip 172.16.2.0 0.0.0.255 172.16.1.0 0.0.0.255
class-map match-any san_traffic
match access-group 150
class-map match-any non-client-nrt-class
match non-client-nrt
!
policy-map port_child_policy
class non-client-nrt-class
bandwidth remaining ratio 10
class class-default
shape average percent 10
service-policy port_child_policy
Restriction(s): The same as the error message
Workaround:
- Two options were given, either to create an input policy to set DSCP marking to ingress traffic matching the ACL or,
- Use policy rate feature instead of queueing.
Example:
class-map queue
queue-limit cos 1 2 3 4
Restriction(s):
Workaround:
class-map queue5
queue-limit cos 1 percent 10
queue-limit cos 2 percent 20
queue-limit cos 3 percent 30
queue-limit cos 4 percent 40
Example:
!Creating class-maps queue1 and queue2
class-map queue1
match cos 5
match dscp 46
class-map queue2
match cos 2 4 3 6
match dscp 16 18 20 22 26 32 34 36
!Assigning queueing features to queue1 and queue2
policy-map queueing
class queue1
shape average percent 70
class queue2
bandwidth remaining percent 10
!Applying the policy-map queueing to interface Gi1/0/1
interface gi1/0/1
service policy output queueing
!Creating class-maps queue5 and queue6
class-map queue5
match cos 1
match dscp 8 10 12 14
class-map queue6
match cos 5
match dscp 46
!Assigning queueing features to queue5 and queue6
policy-map queueing2
class queue5
shape average percent 70
class queue2
bandwidth remaining percent 10
!Applying the policy-map queueing to interface Gi1/0/2
interface gi1/0/2
service policy output queueing2
% Order of classes in policy name queueing2 is not consistent with installed policy
Restriction(s):
Workaround:
Example:
policy-map port-queue
class dscp-1-2-3
bandwidth percent 20
queue-limit dscp 1 percent 80
queue-limit dscp 2 percent 90
queue-limit cos 3 percent 100 <<<
Workaround:
Example:
class-map queue5
match cos 1
match dscp 8 10 12 14
class-map queue6
match cos 5
match dscp 46
policy-map queueing2
class queue5
shape average percent 70
class queue2
bandwidth remaining percent 10
interface gi1/0/1
service policy input queueing2
Restriction(s):
Workaround:
Example:
3850(config-if)#auto qos voip trust
% Cannot be deleted. Tablemap being used in policy maps.
AutoQoS Error while generating commands on Gi1/0/3.
sh run
-- Output ommited
policy-map WAN-QoS
class class-default
shape average percent 20
service-policy VoIP-QoS
-- Output ommited
interface GigabitEthernet1/0/1
service-policy out WAN-QoS <- Queueing-based policy already attach to other interface in the same stream
Restriction(s):
Workaround:
Example:
policy map bw-with-table
class class-default
bandwidth percent 10
set cos dscp table default
set dscp dscp table default
int gig2/0/1
service-policy output bw-with-table
Restriction(s):
Workaround:
Example:
policy-map priority-rate
class priority-one
priority level 1
police cir 256000 conform-action transmit exceed-action set-dscp-transmit dscp table test
Restriction(s):
Workaround:
Example:
Policy-map my-policy
class voip_signal
set dscp cs2
police cir 32000 bc 8000
conform-action transmit
exceed-action set-dscp-transmit cs3
Restriction(s):
Workaround:
table-map CS2toCS3
map from 24 to 16
default copy
policy-map my-policy
class voip_signal
set dscp cs2
police cir 32000 bc 8000
conform-action transmit
exceed-action set-dscp-transmit default dscp table CS2toCS3
Example:
policy-map CiscoPhone-Input-Policy
Class Voip-Data-Class
set ip dscp ef
police cir 256000 bc 16000 be 16000
conform-action transmit
exceed-action set-dscp-transmit dscp table policed-dscp
violate-action drop
Restriction:
Workaround:
policy-map CiscoPhone-Input-Policy
Class Voip-Data-Class
set ip dscp ef
police cir 256000 bc 16000 pir 512000 be 16000
conform-action transmit
exceed-action set-dscp-transmit dscp table policed-dscp
violate-action drop