IP Routing on Cisco 2960 SWITCH

Rashmi Bhardwaj | Blog,BUZZ,Routing & Switching

Cisco 2960 IP Routing

Network administrators in Cisco networking business do come across the question – Whether Cisco 2960 switches support IP Routing?

Another important fact to share is that since competitors like Juniper have small end Switches like EX2200 (though starting models) which support layer 2 Static and Dynamic Routing, it was time for Cisco to introduce Routing function on 2960x series.

And rightly so, from IOS version 12.2(55)SE onwards, catalyst 2960 switches have become Layer 3 devices though with limitations.


Note – The switch supports 8 Routed SVIs and 16 static routes (including user-configured routes and the default route) and any directly connected routes and default routes for the management interface.

The switch can have an IP address assigned to each of 8 SVI. Before enabling routing, enter the sdm prefer lanbase-routing global configuration command and reload the switch.

Related – Cisco 2960s Guide

A reboot is (always) needed after changing the SDM template. After reboot, it’s just like enabling routing on any other L3 switch with the command “ip routing” from global config.

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.
System configuration has been modified. Save? [yes/no]: y
Proceed with reload? [confirm]

After changing the SDM template and reboot, below command is issued to verify the change .
Now we verify:

Switch#show sdm prefer
The current template is “lanbase-routing” template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 255 VLANs.
number of unicast mac addresses:                                4K
number of IPv4 IGMP groups + multicast routes:        0.25K
number of IPv4 unicast routes:                                      4.25K
number of directly-connected IPv4 hosts:                    4K
number of indirect IPv4 routes:                                     0.25K
number of IPv4 policy based routing aces:                  0
number of IPv4/MAC qos aces:                                      0.125k
number of IPv4/MAC security aces:                               0.375k

At this point, the 2960s don’t support routed physical interfaces (“no switchport”).

Another important note is that we’re only allowed 16 static routes with no no dynamic routing capability.
Now we’ll enable IP routing and configure  SVIs:

Switch#conf t
Switch(config)#ip routing
Switch(config)#int vlan 10
Switch(config-if)#ip add
Switch#sh ip route
…C is directly connected, Vlan10


1 thought on “IP Routing on Cisco 2960 SWITCH”

Leave a Comment

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

Shopping Cart