How to configure PBR using a layer 3 Switch with multiple VLANS?

How to configure PBR using a layer 3 Switch with multiple VLANS ?