A couple of days ago I was looking for information about SDM Templates on Cisco online documentation and to my biggest surprise I saw the following command sdm prefer routing-lanbase. I concluded that the Cisco 2960 can do routing and surprisingly, it works out pretty well.
Now the question is How to enable routing on a 2960 series?
To enable routing we need two things. Firstly activate the functionality sdm prefer lanbase-routing and subsequently enable ip routing.
Switch(config)#sdm prefer lanbase-routing
Changes to the running SDM preferences have been stored, but cannot take effect until the next reload. Use ‘show sdm prefer’ to see what SDM preference is currently active.
Switch#reload (save and reload the switch)
System configuration has been modified. Save? [yes/no]: y
Proceed with reload? [confirm]
Note:- after reload the switch dont forget the command “ip routing”
But there’s a notable thing …it does NOT support RIP, OSPF, EIGRP, BGP, or routed interfaces. It ONLY supports 16 static routes with SVIs.
Now you are ready to configure Inter-Vlan Routing on your Layer 2 switch.