Showing results for 
Search instead for 
Did you mean: 
Join Customer Connection to register!

SDM Prefer

Hi, I have Cisco 2960s with IOS 15, I can't find the command sdm prefer however I can run sh sdm prefer, below is my sh ver and sh sdm prefer!

Please any help how I can get to sdm template, I need to make routing in the switch.

Thanks in advance!


Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 15.0(1)SE, RELEASE SOFTWARE (fc1)
Technical Support:
Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Wed 20-Jul-11 06:32 by prod_rel_team

ROM: Bootstrap program is Alpha board boot loader
BOOTLDR: C2960S Boot Loader (C2960S-HBOOT-M) Version 12.2(53r)SE, RELEASE SOFTWARE (fc3)

System returned to ROM by power-on
System restarted at 21:13:38 UTC Fri Nov 18 2011
System image file is "flash:/c2960s-universalk9-mz.150-1.SE/c2960s-universalk9-mz.150-1.SE.bin"

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

If you require further assistance please contact us by sending email to

cisco WS-C2960S-24TS-S (PowerPC) processor (revision C0) with 131072K bytes of memory.
Processor board ID FOC1523Z50H
Last reset from power-on
3 Virtual Ethernet interfaces
1 FastEthernet interface
26 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

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

Ivan Shirshin
Cisco Employee


Are you trying the "sdm prefer" command in config mode? E.g.

     conf t

          sdm prefer lanbase-routing




Kind Regards,
Ivan Shirshin

**Please grade this post if you find it useful.

Kind Regards,

There is no such a command!!

when I did ?  its shows

resource                    Configure Resource settings

  rmon                        Remote Monitoring

  sasl                        Configure SASL

  scheduler                   Scheduler parameters

  scripting                   Configure options for scripting languages

  service                     Modify use of network based services

  setup                       Configure setup options

  shell                       Configure shell command

  shutdown                    Shutdown system elements

  snmp                        Modify non engine SNMP parameters

  snmp-server                 Modify SNMP engine parameters

  spanning-tree               Spanning Tree Subsystem

  stackmaker                  Specify stack name and add its member

  stacks                      Configure stacks

  standby                     Global HSRP configuration commands

  system                      Set the system configuration

  table-map                   Configure Table Map

Peter Paluch
Hall of Fame Cisco Employee


Can you post the output of the show license command? This seems like you're running only a LANLITE license set. For routing support, you need to run LANBASE license set.

Best regards,


here u go,

sh license

Index 1 Feature: lanbase

        Period left: 0  minute  0  second

Index 2 Feature: lanlite

        Period left: Life time

        License Type: Permanent

        License State: Active, In Use

        License Priority: Medium

        License Count: Non-Counted

sdm should be in 12.3 and up as I recall, but will try.


Peter was right, you switch is running with lanlite license. You switch model is WS-C2960S-24TS-S, so it should be using lanlite license (lanbase ends with -L).

Catalyst 2960S image ships with universal image and the software image on the   switch is either the LAN base or LAN Lite image, depending on the  switch  model.

And you cannot upgrade it to lanbase.:

Q. Can I upgrade or downgrade a Cisco Catalyst 2960 Series Switch between the LAN Base and LAN Lite images?

A. No. Cisco Catalyst 2960 Series Switches cannot be upgraded from LAN  Lite to LAN Base and cannot be downgraded from LAN Base to LAN Lite.

In other words, the feature set is fixed during manufacture.

Kind Regards,
Ivan Shirshin

Kind Regards,