The basic procedure is:
1/ Create the VLAN on the switch, eg:
vlan 200
name "VOICE"
2/ Add the voice VLAN to the uplink port, eg:
interface g1/0/50
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allow vlan [data],200
3/ Configure the VLANs to all ports, eg:
interface range g1/0/1-1/0/48
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan [data]
switchport trunk allow vlan [data],200