The voice vlan ID and port information is sent via LLDP or CDP to the voip devices. The voice command designates the vlan as a voice vlan.
If you look at the LLDP-MED section of the management and config guide (pg 330 - https://support.hpe.com/hpsc/doc/public/display?docId=a00038741en_us), you can have those settings automatically applied by configuring it in the voice vlan. You will still need to manually configure those settings in the voice vlan.
By default, the voice vlan will honor whatever 802.1p bit is on the packet, if you need to change that, you can run the following command from the voice vlan context:
Aruba-Stack-3810M(vlan-40)# qos priority
0
1
2
3
4
5
6
7
This will set all traffic on the voice vlan to use the manually set priority bit.
With DSCP, by default, ef traffic will use p7:
Aruba-Stack-3810M(config)# show qos dscp-map
DSCP Policies
NOTE: The policies shown below are not currently enabled. Use the
'qos type-of-service diff-services' command to apply DSCP
policies to inbound traffic.
DSCP CodePoint DSCP Value 802.1p tag DSCP Policy name
-------------- ---------- ----------- --------------------------------
000000 0 0 cs0
000001 1 0
000010 2 0
000011 3 0
000100 4 0
000101 5 0
000110 6 0
000111 7 0
001000 8 1 cs1
001001 9 1
001010 10 1 af11
001011 11 1
001100 12 1 af12
001101 13 1
001110 14 1 af13
001111 15 1
010000 16 2 cs2
010001 17 2
010010 18 2 af21
010011 19 2
010100 20 2 af22
010101 21 2
010110 22 2 af23
010111 23 2
011000 24 3 cs3
011001 25 3
011010 26 3 af31
011011 27 3
011100 28 3 af32
011101 29 3
011110 30 3 af33
011111 31 3
100000 32 4 cs4
100001 33 4
100010 34 4 af41
100011 35 4
100100 36 4 af42
100101 37 4
100110 38 4 af43
100111 39 4
101000 40 5 cs5
101001 41 5
101010 42 5
101011 43 5
101100 44 5
101101 45 5
101110 46 7 ef
101111 47 5
110000 48 6 cs6
110001 49 6
110010 50 6
110011 51 6
110100 52 6
110101 53 6
110110 54 6
110111 55 6
111000 56 7 cs7
111001 57 7
111010 58 7
111011 59 7
111100 60 7
111101 61 7
111110 62 7
111111 63 7
To change the dscp value that the voice vlan would use, you would run the command, within the voice vlan context:
Aruba-Stack-3810M(vlan-40)# qos dscp
<000000-111111> The DSCP codepoint in binary format.
<0-63> The DSCP codepoint in decimal format.
af11
af12
af13
af21
af22
af23
af31
af32
af33
af41
af42
af43
ef
cs0
cs1
cs2
cs3
cs4
cs5
cs6
cs7
Does that help?