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