Hi,
Configuring DHCP is documented here.
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt1/1cfdhcp.htm
A fairly generic config would look something like this:
ip dhcp pool Example
network 172.16.1.0 /24
default-router 172.16.1.100 172.16.1.101
lease 30
Please refer to the document for the various options that are available in this feature.
HTH,
Bobby
*Please rate helpful posts.