05-16-2023 05:13 PM
Hello Team,
Quick query hopefully - AutoQoS settings on C9300 Switch port - I have below configured:
interface GigabitEthernet6/0/19
description Data-and-Voice
auto qos trust dscp
-Output Truncated-
service-policy input AutoQos-4.0-Trust-Dscp-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
And yet, when MS Teams traffic comes in from a connected end device which marks it correctly (verified by Wireshark captures), the show policy-map output shows no hit for the queue where DSCP values 18,34 and 46 belong. Can someone please help me understand if I am reading this wrong or if more config needs to be added/modified to allow honoring of marking for traffic coming into a switch port?
Here's the policy-map output:
Cisco9300Switch#show policy-map interface gi6/0/19
GigabitEthernet6/0/19
Service-policy input: AutoQos-4.0-Trust-Dscp-Input-Policy
Class-map: class-default (match-any)
30544957 packets
Match: any
QoS Set
dscp dscp table AutoQos-4.0-Trust-Dscp-Table
Service-policy output: AutoQos-4.0-Output-Policy
queue stats for all priority classes:
Queueing
priority level 1
(total drops) 0
(bytes output) 17541501970
Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
0 packets
Match: dscp cs4 (32) cs5 (40) ef (46)
Match: cos 5
Priority: 30% (300000 kbps), burst bytes 7500000,
Priority Level: 1
Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
0 packets
Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
Match: cos 3
Queueing
queue-limit dscp 16 percent 80
queue-limit dscp 24 percent 90
queue-limit dscp 48 percent 100
queue-limit dscp 56 percent 100
(total drops) 75622
(bytes output) 108855920
bandwidth remaining 10%
queue-buffers ratio 10
Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
0 packets
Match: dscp af41 (34) af42 (36) af43 (38)
Match: cos 4
Queueing
(total drops) 0
(bytes output) 240756167
bandwidth remaining 10%
queue-buffers ratio 10
Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
0 packets
Match: dscp af21 (18) af22 (20) af23 (22)
Match: cos 2
Queueing
(total drops) 0
(bytes output) 4063509
bandwidth remaining 10%
queue-buffers ratio 10
Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
0 packets
Match: dscp af11 (10) af12 (12) af13 (14)
Match: cos 1
Queueing
(total drops) 0
(bytes output) 1180
bandwidth remaining 4%
queue-buffers ratio 10
Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
0 packets
Match: dscp cs1 (8)
Queueing
(total drops) 0
(bytes output) 4429386
bandwidth remaining 1%
queue-buffers ratio 10
Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
0 packets
Match: dscp af31 (26) af32 (28) af33 (30)
Queueing
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
Class-map: class-default (match-any)
0 packets
Match: any
Queueing
(total drops) 17753548
(bytes output) 60851896706
bandwidth remaining 25%
queue-buffers ratio 25
Thank you.
05-18-2023 03:04 AM
It seems to me that you have traffic in each queue. Look at the (bytes output) and see if it increments.
05-18-2023 03:56 AM
Why does it show 0 packets for some of these and doesn't even have bytes count? That's where it's not clear to me.
Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
0 packets
Match: dscp cs4 (32) cs5 (40) ef (46)
Match: cos 5
Priority: 30% (300000 kbps), burst bytes 7500000,
Priority Level: 1
Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
0 packets
Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
Match: cos 3
Queueing
05-22-2023 07:08 AM
I agree with you, this is not easy to read. As my understanding, there are a part that describes the configuration, and a part that shows the counters. For priority queues it starts before the "Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)"
queue stats for all priority classes:
Queueing
priority level 1
(total drops) 0 <<<< this is the counters for priority
(bytes output) 17541501970 <<<< this is the counters for priority
for other queues the counters come after the section that shows the config.
Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
0 packets <<<<<<<<<<<<<<<<<<<<< this I can't explain
Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
Match: cos 3
Queueing
queue-limit dscp 16 percent 80
queue-limit dscp 24 percent 90
queue-limit dscp 48 percent 100
queue-limit dscp 56 percent 100
(total drops) 75622 <<<< this is the counters for Mgmt-Queue
(bytes output) 108855920 <<<< this is the counters for Mgmt-Queue
bandwidth remaining 10%
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide