cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1281
Views
10
Helpful
5
Replies

Auto QOS cisco 3650 IOS XE 16.6.7

Dhaf54134
Level 1
Level 1

Hello Community,

 

Actually am working for QOS project for Snom phone and Microsoft 365 traffic,

we decided to Mark traffic from the terminal (IP Phone and PC with GPO)

in access layer we have cisco catalyst 1000, then I configured "auto qos trust DSCP" in all interfaces 

in distribution layer we have cisco 3650 IOS XE, 

 basing to this document, it seems that trust DSCP is default in all input interfaces :

https://www.cisco.com/c/en/us/td/docs/switches/lan/Denali_16-1/ConfigExamples_Technotes/Config_Examples/Misc/qos/m_qos_monitoring.html

So I configured auto qos trust dscp in all uplink interfaces (connected to routers).

Now, am searching the way to verify that all is working as expected

from the 3650, I launched sh policy-map on the uplink interface and I get this result :

sh policy-map interface Gi2/1/4
GigabitEthernet2/1/4

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

Class-map: class-default (match-any)
54074150 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) 27702801

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% (30000 kbps), burst bytes 750000,

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) 5423
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) 0
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) 89793136
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) 68
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) 0
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) 0
(bytes output) 1596096632
bandwidth remaining 25%
queue-buffers ratio 25

 

 

Can any one tell me the meaning of 0 packets after every class-map ?

how can I see the DSCP EF traffic/packets ?

How can I verify that my configuration is working ?

 

Thanks for your help.

 

2 Accepted Solutions

Accepted Solutions

johnd2310
Level 8
Level 8

Hi,

I would recommend you span ports on  the 3650 and capture the traffic using wireshark, to see if your markings are really working. 

As for configuring qos, i would recommend you not use auto-qos but use the service policy model. Have a look at the following doc:

https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Video/qoscampuscat3x50aag.pdf

The service policy model requires a lot of work up front but gives you a lot of flexibility e.g. you can introduce other vendor switches or switches that do not support auto-qos. You just create you qos map for the network edge once and apply that to all you switches irrespective of vendor.

Thanks

John

**Please rate posts you find helpful**

View solution in original post

Hello,

 

first of all, once you have marked a post as 'solved' people usually won't look at it anymore (other than of course to see the solution). 

For any additonal questions, you better start a new thread. Either way, did you verify on the Windows clients that that group policy has been implemented and that the DSCP marking is active on the clients (following the procedure below) ?

 

C:\Windows\system32> gpupdate.exe /force

 

C:\Windows\system32> gpresult /H "%USERPROFILE%\Desktop\gp.html"
C:\Windows\system32> regedit /e "%USERPROFILE%\Desktop\gp.txt" HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\QoS

 

which should render a file similar to this:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\callbar]
"Version"="1.0"
"Application Name"="Callbar.exe"
"Protocol"="*"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="*"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="46"
"Throttle Rate"="-1"

 

The error you are getting is most likely caused by the match statement. You need to match on dscp (I assume you are matching on dscp 46):

 

class-map match-all Voice
--> match dscp 46

!

policy-map VOICE
class Voice
bandwidth percent 30

View solution in original post

5 Replies 5

Leo Laohoo
Hall of Fame
Hall of Fame
qos queue-softmax-multiplier 1200

Enter this command and see if it improve things. 

 

johnd2310
Level 8
Level 8

Hi,

I would recommend you span ports on  the 3650 and capture the traffic using wireshark, to see if your markings are really working. 

As for configuring qos, i would recommend you not use auto-qos but use the service policy model. Have a look at the following doc:

https://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/Video/qoscampuscat3x50aag.pdf

The service policy model requires a lot of work up front but gives you a lot of flexibility e.g. you can introduce other vendor switches or switches that do not support auto-qos. You just create you qos map for the network edge once and apply that to all you switches irrespective of vendor.

Thanks

John

**Please rate posts you find helpful**

Dhaf54134
Level 1
Level 1

When I tried to use access-list to match all DSCP EF traffic

 

class-map match-all Voice
match access-group name COS1

policy-map VOICE
class Voice
bandwidth percent 30

 

int gigabitEthernet 2/1/4
3650G-chantilly-1(config-if)#service-policy output VOICE

I have this unexpected log

Invalid queuing class-map!!! Queuing actions supported only with dscp/cos/qos-group/precedence/exp based classification!!!

 

 

 

Hello,

 

first of all, once you have marked a post as 'solved' people usually won't look at it anymore (other than of course to see the solution). 

For any additonal questions, you better start a new thread. Either way, did you verify on the Windows clients that that group policy has been implemented and that the DSCP marking is active on the clients (following the procedure below) ?

 

C:\Windows\system32> gpupdate.exe /force

 

C:\Windows\system32> gpresult /H "%USERPROFILE%\Desktop\gp.html"
C:\Windows\system32> regedit /e "%USERPROFILE%\Desktop\gp.txt" HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\QoS

 

which should render a file similar to this:

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\QoS\callbar]
"Version"="1.0"
"Application Name"="Callbar.exe"
"Protocol"="*"
"Local Port"="*"
"Local IP"="*"
"Local IP Prefix Length"="*"
"Remote Port"="*"
"Remote IP"="*"
"Remote IP Prefix Length"="*"
"DSCP Value"="46"
"Throttle Rate"="-1"

 

The error you are getting is most likely caused by the match statement. You need to match on dscp (I assume you are matching on dscp 46):

 

class-map match-all Voice
--> match dscp 46

!

policy-map VOICE
class Voice
bandwidth percent 30

Hi George

 

Sorry about that, i'll open new discussion next time.

Thanks for the reply, and for demo of system QOS Marking.

 

Review Cisco Networking for a $25 gift card