Basic DHCP Service on a 3560-CX for some remote clients on the end of a wireless link.
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#service dhcp
SW1(config)#ip dhcp pool SITE-POOL
SW1(dhcp-config)#network 10.1.1.1 255.255.255.0
SW1(dhcp-config)#default-router 10.1.1.1
SW1(dhcp-config)#dns-server 10.2.3.4 10.2.3.6
SW1(dhcp-config)#domain-name ads.somedomain.com.au
SW1(dhcp-config)#lease 8
SW1(config)#ip dhcp excluded-address 10.1.1.1 10.1.1.10
SW1(config)#exit
To view the DHCP bindings:
SW1# show ip dhcp binding