Ran into a interesting issue today, I got my hands on a Cisco 2960S and after configuring it found that whenever I tried to do “ip route” or “sh ip route” it wouldnt take….I was like “huh??”

After a quick google search, I found that we need to run the following…

CISCO2960S#sh sdm prefer
 The current template is “default” template.
 The selected template optimizes the resources in
 the switch to support this level of features for
 0 routed interfaces and 255 VLANs.

  number of unicast mac addresses:                  8K
  number of IPv4 IGMP groups:                       0.25K
  number of IPv6 multicast groups:                  0.25K
  number of IPv4/MAC qos aces:                      0.375k
  number of IPv4/MAC security aces:                 0.375k
  number of IPv6 policy based routing aces:         0
  number of IPv6 qos aces:                          0
  number of IPv6 security aces:                     0.125k

 On next reload, template will be “lanbase-routing” template.

It appears that this “default” template doesnt allow us to run any layer 3 stuff on the switch. Luckly, the IOS was nice enough to tell what cmd we need to run into order to fix this — run in config t mode the lanbase-routing cmd and then reboot the device.

CISCO2960S(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.

After rebooting this bad boy we’re back in business and able to type in ip route cmds — that was easy!

Just if your curious, here’s the sh ver and sh inv
Switch Ports Model              SW Version            SW Image
—— —– —–              ———-            ———-
*    1 28    WS-C2960S-24PS-L   12.2(55)SE3           C2960S-UNIVERSALK9-M

NAME: “1”, DESCR: “WS-C2960S-24PS-L”
PID: WS-C2960S-24PS-L  , VID: V02  , SN:


William Zambrano

William Zambrano

NYC networkers is run by William Zambrano, a passionate network engineer who has been in the IT industry for eight years who posts up blog articles, YouTube videos, and holds meetup.com events in the NYC area. He lives in Queens, New York and has consulted in various different companies in the NY area. Previously William worked as a Cisco Certified Systems Instructor (CCSI) but now currently works for Arista Networks serving as a Systems Engineer. William can be reached by email at willzambrano@gmail.com

More Posts - Website

Follow Me: