Similar to a router, a Layer 3 switch can route traffic using Layer 3 information.
A layer 3 switch is a device that can perform both routing and switching functions. We simply need to enable IP routing on the switch interface when we want to use it for routing purposes. It performs switching by default.
In this video, I will be showing you how to configure static routes on a Cisco Layer 3 switch.
Here is a link to a blog post on this;
https://netizzan.com/how-to-configure...