Prerequisites
Enable IP routing globally.
Enable IP routing and configure an IP address on the VLAN to be configured as a UDP forwarding interface.
Ensure that a route (local or static) to the destination address is available on the switch.