You need to use the same command as when configuring a Cico router to route packets, ie: route ….
This paper will teach you how to configure Inter VLAN routing in a Cisco layer 3 switch.
Nate that if this is you’re first time configuring this kind of things, you might want to let a Network Professional configure what you want…
Go into Global Config
Switch# Conf t
Turn on IP routing
Switch(config)# ip routing