After 401 views and still no one able to help I have found the answer for myself,
for anyone looking for the same answer this is the solution.
After telnetting to the switch and logging in rather than typing 'menu' type 'config' and enter the below commands (without < >)
vlan xx
name "xxx"
ip address <VLAN IP> <subnet mask>
ip helper-address <ip address of dhcp server>
tagged xx
write mem
exit