cancel
Showing results for 
Search instead for 
Did you mean: 

ERS 4900 QOS for Teams

ERS 4900 QOS for Teams

SteveD2
New Contributor
Good Morning All,
I am banging my head on successfully modifying the DSCP code for MS Teams traffic. I have read the QOS PDF and the Knowledge article that shows which TCP/UDP ports are used for Voice, Video, and Screen Sharing.
On my lab 4950, v7.9.0.003, I have my desktop on port 26 with my lab PC on port 2 for mirroring/pcap. I captured a call before applying my QOS Policy to port 26: DSCP show CS0 as expected. However, it is still showing CS0 after I apply the policy. Below is my QOS Policy. Can anyone see where I missed something? I would greatly appreciate any assistance.


qos if-group name fsuaccess.group class untrustedbasic
qos ip-element 2001 name "tcp50000-50019" protocol 6 src-port-min 50000 src-port-max 50019
qos ip-element 2002 name "tcp50020-50039" protocol 6 src-port-min 50020 src-port-max 50039
qos ip-element 2003 name "tcp50040-50059" protocol 6 src-port-min 50040 src-port-max 50059
qos ip-element 2011 name "udp50000-50019" protocol 17 src-port-min 50000 src-port-max 50019
qos ip-element 2012 name "udp50020-50039" protocol 17 src-port-min 50020 src-port-max 50039
qos ip-element 2013 name "udp50040-50059" protocol 17 src-port-min 50040 src-port-max 50059
qos classifier 3001 set-id 3001 name "clsfr-tcp-voice" element-type ip element-id 2001
qos classifier 3002 set-id 3002 name "clsfr-tcp-video" element-type ip element-id 2002
qos classifier 3003 set-id 3003 name "clsfr-tcp-screen" element-type ip element-id 2003
qos classifier 3011 set-id 3011 name "clsfr-udp-voice" element-type ip element-id 2011
qos classifier 3012 set-id 3012 name "clsfr-udp-video" element-type ip element-id 2012
qos classifier 3013 set-id 3013 name "clsfr-udp-screen" element-type ip element-id 2013
qos classifier-block 4001 block-number 10001 name msteams set-id 3001 in-profile-action 7 eval-order 1
qos classifier-block 4002 block-number 10001 name msteams set-id 3002 in-profile-action 6 eval-order 2
qos classifier-block 4003 block-number 10001 name msteams set-id 3003 in-profile-action 4 eval-order 3
qos classifier-block 4004 block-number 10001 name msteams set-id 3011 in-profile-action 7 eval-order 4
qos classifier-block 4005 block-number 10001 name msteams set-id 3012 in-profile-action 6 eval-order 5
qos classifier-block 4006 block-number 10001 name msteams set-id 3013 in-profile-action 4 eval-order 6

qos policy 5001 name fsuaccess.policy if-group fsuaccess.group clfr-type block clfr-id 10001 precedence 10 track-statistics individual

------------------------------
Steven Dockham
------------------------------
1 ACCEPTED SOLUTION

ChrisV
New Contributor
Hello,

Unfortunately, I can't find my original notes but I will attach what I use on my 4950's. I know we struggled with this for awhile but between testing
this in a lab environment and many PCAP's this  has been running successfully. You will notice that our scr-port-min and src-prt-max is different from
yours but working with an engineer we found there was an equation we had to use to determine the cutoff point. You can disregard the VOIP portion of the config. Hope this helps.

qos ip-element 100 name TeamsAudio1 protocol 17 src-port-min 50000 src-port-max 50015
qos ip-element 101 name TeamsAudio2 protocol 17 src-port-min 50016 src-port-max 50019
qos ip-element 110 name TeamsVideo1 protocol 17 src-port-min 50020 src-port-max 50035
qos ip-element 111 name TeamsVideo2 protocol 17 src-port-min 50036 src-port-max 50039
qos ip-element 120 name TeamsSharing1 protocol 17 src-port-min 50040 src-port-max 50055
qos ip-element 121 name TeamsSharing2 protocol 17 src-port-min 50056 src-port-max 50059
qos l2-element 1 name "voip vlan" vlan-min 114 vlan-max 114 ethertype 0x800
qos classifier 1 set-id 1 name "voip_class" element-type l2 element-id 1
qos classifier 100 set-id 100 name TeamsAudio1 element-type ip element-id 100
qos classifier 101 set-id 101 name TeamsAudio2 element-type ip element-id 101
qos classifier 110 set-id 110 name TeamsVideo1 element-type ip element-id 110
qos classifier 111 set-id 111 name TeamsVideo2 element-type ip element-id 111
qos classifier 120 set-id 120 name TeamsSharing1 element-type ip element-id 120
qos classifier 121 set-id 121 name TeamsSharing2 element-type ip element-id 121
qos classifier-block 100 block-number 100 name TeamsAudio set-id 100 eval-order 1
qos classifier-block 101 block-number 100 name TeamsAudio set-id 101 eval-order 1
qos classifier-block 110 block-number 110 name TeamsVideo set-id 110 eval-order 1
qos classifier-block 111 block-number 110 name TeamsVideo set-id 111 eval-order 1
qos classifier-block 120 block-number 120 name TeamsSharing set-id 120 eval-order 1
qos classifier-block 121 block-number 120 name TeamsSharing set-id 121 eval-order 1
qos if-assign port 1/1-48 name Untrusted
qos if-assign port 1/50 name Trusted
qos if-assign port 2/1-16,2/23-48 name Untrusted
qos if-assign port 2/50 name Trusted
qos policy 1 name "voip_policy" if-group Untrusted clfr-type classifier clfr-id 1 in-profile-action 7 precedence 13 track-statistics
individual
qos policy 100 name TeamsAudio if-group Untrusted clfr-type block clfr-id 100 in-profile-action 7 precedence 10 track-statistics
qos policy 110 name TeamsVideo if-group Untrusted clfr-type block clfr-id 110 in-profile-action 6 precedence 9 track-statistics
qos policy 120 name TeamsSharing if-group Untrusted clfr-type block clfr-id 120 in-profile-action 4 precedence 8 track-statistics

View solution in original post

1 REPLY 1

ChrisV
New Contributor
Hello,

Unfortunately, I can't find my original notes but I will attach what I use on my 4950's. I know we struggled with this for awhile but between testing
this in a lab environment and many PCAP's this  has been running successfully. You will notice that our scr-port-min and src-prt-max is different from
yours but working with an engineer we found there was an equation we had to use to determine the cutoff point. You can disregard the VOIP portion of the config. Hope this helps.

qos ip-element 100 name TeamsAudio1 protocol 17 src-port-min 50000 src-port-max 50015
qos ip-element 101 name TeamsAudio2 protocol 17 src-port-min 50016 src-port-max 50019
qos ip-element 110 name TeamsVideo1 protocol 17 src-port-min 50020 src-port-max 50035
qos ip-element 111 name TeamsVideo2 protocol 17 src-port-min 50036 src-port-max 50039
qos ip-element 120 name TeamsSharing1 protocol 17 src-port-min 50040 src-port-max 50055
qos ip-element 121 name TeamsSharing2 protocol 17 src-port-min 50056 src-port-max 50059
qos l2-element 1 name "voip vlan" vlan-min 114 vlan-max 114 ethertype 0x800
qos classifier 1 set-id 1 name "voip_class" element-type l2 element-id 1
qos classifier 100 set-id 100 name TeamsAudio1 element-type ip element-id 100
qos classifier 101 set-id 101 name TeamsAudio2 element-type ip element-id 101
qos classifier 110 set-id 110 name TeamsVideo1 element-type ip element-id 110
qos classifier 111 set-id 111 name TeamsVideo2 element-type ip element-id 111
qos classifier 120 set-id 120 name TeamsSharing1 element-type ip element-id 120
qos classifier 121 set-id 121 name TeamsSharing2 element-type ip element-id 121
qos classifier-block 100 block-number 100 name TeamsAudio set-id 100 eval-order 1
qos classifier-block 101 block-number 100 name TeamsAudio set-id 101 eval-order 1
qos classifier-block 110 block-number 110 name TeamsVideo set-id 110 eval-order 1
qos classifier-block 111 block-number 110 name TeamsVideo set-id 111 eval-order 1
qos classifier-block 120 block-number 120 name TeamsSharing set-id 120 eval-order 1
qos classifier-block 121 block-number 120 name TeamsSharing set-id 121 eval-order 1
qos if-assign port 1/1-48 name Untrusted
qos if-assign port 1/50 name Trusted
qos if-assign port 2/1-16,2/23-48 name Untrusted
qos if-assign port 2/50 name Trusted
qos policy 1 name "voip_policy" if-group Untrusted clfr-type classifier clfr-id 1 in-profile-action 7 precedence 13 track-statistics
individual
qos policy 100 name TeamsAudio if-group Untrusted clfr-type block clfr-id 100 in-profile-action 7 precedence 10 track-statistics
qos policy 110 name TeamsVideo if-group Untrusted clfr-type block clfr-id 110 in-profile-action 6 precedence 9 track-statistics
qos policy 120 name TeamsSharing if-group Untrusted clfr-type block clfr-id 120 in-profile-action 4 precedence 8 track-statistics
GTM-P2G8KFN