Inter-VLAN Routing with cisco Layer 2 Catalyst 2960

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(config)#^Z
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.

 

This entry was posted in Technology and tagged . Bookmark the permalink.

One Response to Inter-VLAN Routing with cisco Layer 2 Catalyst 2960

  1. Jasir says:

    This is helpful for a small setup. Don’t rely on this for heavy routing traffic.And never provide a solution with this trick.
    L2 device should be positioned as L2 only.

    Thanks in advance

Leave a Reply

Your email address will not be published. Required fields are marked *