Type command on CLI.

Switch# ip        <enter>

Switch(ip)# dhcp enable        <enter>

Switch(ip)# show

Configured      Current

————— —————

DHCP Client          : Enabled

IP Address           : 192.168.1.10    192.168.1.220

IP Mask              : 255.255.255.0   255.255.255.0

IP Gateway           : 192.168.1.252   192.168.1.123

VLAN ID              : 1               1

DNS Server           : 0.0.0.0         192.168.1.1

Proxy                : Disabled