The configuration looks fine. For voice vlan data priority trust you should use this on the ports that have both data and voice.
Hello Everyone, I’m in the process of redoing our switch configuration to support our new Voip solution and I would like to hear from all of you to see if I this is an efficient way of setting all this up. The Voip traffic should always have the highest priority My Questions:             Additional comments are welcome :)  !Current Configuration:!System Description "PowerConnect 6248, 3.3.14.2, VxWorks 6.5"!System Software Version 3.3.14.2!Cut-through mode is configured as disabled!configurevlan databasevlan 2-8,12-17vlan routing 2 1vlan routing 3 2vlan routing 4 3vlan routing 5 4vlan routing 6 5vlan routing 7 6vlan routing 12 7vlan routing 13 8vlan routing 15 9vlan routing 16 10vlan routing 17 11exit  ----cut----   diffservvoice vlanclassofservice trust ip-dscp classofservice ip-dscp-mapping 46 5cos-queue strict 5exitclass-map match-all class_voip ipv4match vlan 17exitpolicy-map pol_voip inclass class_voipmark ip-dscp 46assign-queue 5exitexit!interface ethernet 1/g1description "Data & Voice"spanning-tree auto-portfastspanning-tree guard rootswitchport mode generalswitchport general pvid 4switchport general allowed vlan add 17 taggedswitchport general allowed vlan add 4 untaggedvoice vlan 17voice vlan data priority trustvoice vlan auth disablelldp medexit!interface ethernet 1/g2description "DECT-APs"spanning-tree auto-portfastspanning-tree guard rootswitchport mode access vlan 17voice vlan 17voice vlan data priority trustvoice vlan auth disableno lldp transmitno lldp receiveexit!interface ethernet 1/g3service-policy in pol_voipdescription "DECT-APs without DSCP"spanning-tree auto-portfastspanning-tree guard rootswitchport mode access vlan 17voice vlan 17voice vlan auth disableno lldp transmitno lldp receiveexit!interface ethernet 1/g4description "Voip-Server"spanning-tree auto-portfastspanning-tree guard rootswitchport mode access vlan 2no lldp transmitno lldp receiveexit!  ----cut----  interface port-channel 1description "LWL"hashing-mode 6spanning-tree cost 1000spanning-tree guard loopspanning-tree mst 0 external-cost 1000switchport mode trunkswitchport trunk allowed vlan add 2-8,12-17exitenable password ***** encryptedexit  Kind Regards Axel
6248p - config review - voice vlan + diffserv