12-06-2017 06:19 AM - edited 03-08-2019 01:01 PM
Hi All
I was wondering if someone could help me with QoS on a 3850. At present we have QoS set as below.
We are starting to use 3850- switches. I am struggling with converting this to work with a 3850.
Are any of you brilliant people able to help me?
Interface
switchport voice vlan xxx
queue-set 2
mls qos cos 5
mls qos trust cos
auto qos voip trust
Uplink Interface
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape 10 0 0 0
queue-set 2
priority-queue out
mls qos trust cos
auto qos voip trust
QOS Table
mls qos map cos-dscp 0 8 16 24 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srr-queue input cos-map queue 1 threshold 2 1
mls qos srr-queue input cos-map queue 1 threshold 3 0
mls qos srr-queue input cos-map queue 2 threshold 1 2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3 3 5
mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue input dscp-map queue 1 threshold 3 32
mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue input dscp-map queue 2 threshold 2 33 34 35 36 37 38 39 48
mls qos srr-queue input dscp-map queue 2 threshold 2 49 50 51 52 53 54 55 56
mls qos srr-queue input dscp-map queue 2 threshold 2 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue input dscp-map queue 2 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 2 4
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output cos-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7
mls qos queue-set output 1 threshold 1 138 138 92 138
mls qos queue-set output 1 threshold 2 138 138 92 400
mls qos queue-set output 1 threshold 3 36 77 100 318
mls qos queue-set output 1 threshold 4 20 50 67 400
mls qos queue-set output 2 threshold 1 149 149 100 149
mls qos queue-set output 2 threshold 2 118 118 100 235
mls qos queue-set output 2 threshold 3 41 68 100 272
mls qos queue-set output 2 threshold 4 42 72 100 242
mls qos queue-set output 1 buffers 10 10 26 54
mls qos queue-set output 2 buffers 16 6 17 61
mls qos
Thanks very much
James
12-06-2017 06:47 AM
12-06-2017 08:10 AM
Thanks for the swift reply mark.
We are using Unify phones unfortunately and not Cisco phones. I presume setting the interface and uplink to auto qos trust dscp would not do the trick if it is not Cisco?
And you say the 3850 would build the rest of the config? I did see something happening on the interfaces when i was messing around. What about the actual QoS table so to speak??
Thanks again.
James
12-06-2017 08:20 AM
Hi
We are using Unify phones unfortunately and not Cisco phones. I presume setting the interface and uplink to auto qos trust dscp would not do the trick if it is not Cisco?
Once the phones are marking with EF DSCP at the source (most do but check it with wireshark) then trusting DSCP will work fine as phones starts it off and access/uplink honour it , only if your using Cisco phones would you use the trust Cisco phone option
And you say the 3850 would build the rest of the config? I did see something happening on the interfaces when i was messing around. What about the actual QoS table so to speak??
That second link I provided shows exactly what table gets built depending on the actual commands you enter , so if you used trust dscp , this below would be added globally , its auto qos so whatever you pick a table will be built for it by the switch , can easily be changed removed , so you could test what works bets for you
The following is an example of the auto qos trust dscp command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
The following class maps are created and applied when running this command:
Switch(config)# interface GigabitEthernet1/0/18 Switch(config-if)# auto qos trust dscp Switch(config-if)# end Switch#show policy-map interface GigabitEthernet1/0/18 GigabitEthernet1/0/18 Service-policy input: AutoQos-4.0-Trust-Dscp-Input-Policy Class-map: class-default (match-any) 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) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 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) Match: dscp 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 (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 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) Match: dscp af21 (18) af22 (20) af23 (22) Match: cos 2 Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) Match: dscp af11 (10) af12 (12) af13 (14) Match: cos 1 Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 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) 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) Match: any Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
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