en
conf t
ip dhcp excluded-address <IP_Addr>
ip dhcp pool test
network <networkID><netmask>
dns-server <IP_Addr>
default-router <IP_Addr>
exit
service dhcp
IP Configuration
en
conf t
interface <interface_name>
ip address <IP_Addr><subnet_mask>
no shutdown