In the switch software, you can create one or more IP prefix lists and apply these lists to IP route policy.