Prerequisites
Enable IP routing globally.
Enable IP routing and configure an IP address on the VLANs to be routed.