Prerequisites
Enable IP routing globally.
Enable IP routing and configure an IP address on the VLAN to be set as the DHCP relay agent.
Ensure that a route (local or static) to the destination DHCP server is available on the switch.