Hello! Being pretty new to networking, I need some help understanding QOS (I have done a lot of reading and I understand what it is, just not sure how to see if it is correct). I have been in my current role for 6 months and it is now time to upgrade the network. The current network is pretty much just setup to work, not efficiently. The main office has a few vlans, but the shop floor is all one vlan connected by multiple switches of multiple vendors. I have got 2960x switches to replace everything and am setting up 3 as a flex stack with the limited layer 3 routing to do inter vlan routing. That said, I have no idea on QOS, which is currently setup in the main office. We are using Avaya IP phones and below is the global config setup on the switch and an access port config. What I would like to know is if it is even doing anything right now, and if it is, what do I need to do to make trunk ports work correctly with the QOS. Since trunks were not used to the shop floor before (which probably doesn't matter right now as there are no IP phones back there, but may in the future).
mls qos map cos-dscp 0 8 16 26 32 46 48 56
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 150 150 100 150
mls qos queue-set output 1 threshold 2 120 120 100 235
mls qos queue-set output 1 threshold 3 40 70 100 275
mls qos queue-set output 1 threshold 4 40 70 100 240
mls qos queue-set output 1 buffers 20 20 20 40
mls qos
lldp run
interface GigabitEthernet1/0/7
switchport access vlan 42
switchport mode access
switchport voice vlan 101
switchport priority extend cos 1
srr-queue bandwidth share 10 20 20 50
srr-queue bandwidth shape 10 20 0 0
priority-queue out
mls qos cos 1
mls qos trust device cisco-phone
mls qos trust cos
spanning-tree portfast
Thank you for your help!