cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
638
Views
0
Helpful
3
Replies

Auto QoS I feel this isnt working?

Steven Williams
Level 4
Level 4

I feel like this isnt working as I only see "class default" packets? Maybe I am not reading it correctly? 

 

interface TenGigabitEthernet1/1/6
description UPLINK TO MDF-2960-01 (Gi1/0/52)
switchport trunk native vlan 999
switchport trunk allowed vlan 250,609-611,920,935,942,950,963,977,998,999
switchport mode trunk
auto qos trust dscp
channel-group 10 mode active
service-policy input AutoQos-4.0-Trust-Dscp-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
end

!

!

CAO-MDF-2960-01#show run int gi1/0/52
Building configuration...

Current configuration : 349 bytes
!
interface GigabitEthernet1/0/52
description UPLINK TO MDF-9300-01 (Te1/1/6)
switchport trunk native vlan 999
switchport trunk allowed vlan 250,609-611,920,935,942,950,963,977,998,999
switchport mode trunk
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust dscp
auto qos trust dscp
channel-group 10 mode active
end

MDF-2960-01#

!

!

!

!

MDF-9300-01#show policy-map interface te1/1/6
TenGigabitEthernet1/1/6

Service-policy input: AutoQos-4.0-Trust-Dscp-Input-Policy

Class-map: class-default (match-any)
28741787462 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) 131290
(bytes output) 357955642

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) 0
(bytes output) 92196723
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) 3217337
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) 108276
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) 23838997
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) 839642
(bytes output) 1569104269983
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) 6111826
bandwidth remaining 10%
queue-buffers ratio 10

Class-map: class-default (match-any)
0 packets
Match: any
Queueing

(total drops) 0
(bytes output) 1294395346885
bandwidth remaining 25%
queue-buffers ratio 25
MDF-9300-01#

3 Replies 3

ngkin2010
Level 7
Level 7

Hi, 

 

You may refer to the byte counter instead of packet counter. And thus, not only default-class was matched.

 

With reference to Cisco document, the packet counter will increase only when there is packet in the egress queue (e.g. congested). 

 

Counter Explanation

28621 packets, 7098008 bytesThe number of packets which match the criteria of the class. This counter increments whether or not the interface is congested.
(pkts matched/bytes matched) 28621/7098008The number of packets which match the criteria of the class when the interface was congested. In other words, the interface transmit ring was full, and the driver and the L3 processor system worked together to queue the excess packets in the L3 queues, where the service policy applies. Packets that are process-switched always go through the L3 queuing system and thus increment the "packets matched" counter.
Class-map: B (match-all) (1301/4)These numbers define an internal ID used with the CISCO-CLASS-BASED-QOS-MIB Management Information Base (MIB). They no longer appear in the show policy-map output in current releases of Cisco IOS.
5 minute offered rate 0 bps, drop rate 0 bpsUse the load-interval command to change this value and make it a more instantaneous value. The lowest value is 30 seconds; however, statistics displayed in the show policy-map interface output are updated every 10 seconds. Since the command effectively provides a snapshot at a specific moment, the statistics may not reflect a temporary increase in queue size.

 

Reference: https://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-congestion-avoidance/10107-showpolicy.html

 

 

This article doesn't seem to reference Layer 3 switch QoS or Cat9k Switch.

Hi,

 

“This document is not restricted to specific software and hardware versions“ - Component used of the reference.

 

As the byte counter for each class from your “show policy-map” is not zero, the Auto QoS is working. 

 

This is the question about how to interpret the result of “show policy-map” 

 

And I have a C9300 before and had a exact same problem with IOSXE 16.9.4


@Steven Williams wrote:
This article doesn't seem to reference Layer 3 switch QoS or Cat9k Switch.

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco