Hi Ompal,
So you can ping DHCP server from your switch, right?
Do 'show vlan portinfo port ' and see if the VLANs are correct (access port and to-DHCP port should be in the same VLAN, or do you want to do some DHCP Relay on the switch?).
What is your switch model?
Kind regards,
Tomasz