3560 SDM Template parameter location

Answered Question
Mar 11th, 2010
User Badges:

We have a number of options when entering the ' sdm prefer ' command for example ' desktop ' or ' routing '


The switch changes ' mode ' once the switch is rebooted


My question is , where is this parameter stored ? I can't find it in running-config , flash or NVRAM ?

Correct Answer by jorge.calvo about 7 years 1 month ago

Hello,


The SMD template parameter is stored in file: system:memory/data. Please, see below output:


C3750#more system:data | i sdm
0025F190:  72657320 73646D20 74656D70 6C617465    res  sdm  temp late
00268AF0:  73686F77 2073646D 20707265 66657200    show  sdm  pre fer.
00275F70:  73646D00 63647020 656E6162 6C650000    sdm. cdp  enab le..
002A9300:  76362072 6F757469 6E670000 0A73646D    v6 r outi ng.. .sdm
002A9340:  0A73646D 2D727063 2D74783A 20726571    .sdm -rpc -tx:  req
002A9460:  61746500 20202020 2273646D 20707265    ate.      "sdm  pre
002A94C0:  5F73646D 00000000 6465736B 746F7000    _sdm .... desk top.
002A95F0:  6E740000 68756C63 5F69735F 73646D5F    nt.. hulc _is_ sdm_
002A9B80:  73646D20 70726566 6572206F 7074696F    sdm  pref er o ptio

Hope this helps.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Reza Sharifi Thu, 03/11/2010 - 10:24
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

Hi

what does sh sdm prefere shows?


I changed this switch from default desktop to routing and rebooted the switch.  It show now routing as part of the template.

BTW, it does not show the command in the running config


Switch-B#sh sdm prefer
The current template is "desktop routing" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

  number of unicast mac addresses:                  3K
  number of IPv4 IGMP groups + multicast routes:    1K
  number of IPv4 unicast routes:                    11K
    number of directly-connected IPv4 hosts:        3K
    number of indirect IPv4 routes:                 8K
  number of IPv4 policy based routing aces:         0.5K
  number of IPv4/MAC qos aces:                      0.5K
  number of IPv4/MAC security aces:                 1K



HTH

Reza

rwilletts Thu, 03/11/2010 - 13:27
User Badges:

Hi Reza,


Yes I have that info , I can change from ' desktop ' to ' routing ' no problem


My question is , where is the switch storing this information ?

Reza Sharifi Thu, 03/11/2010 - 13:37
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

It is part of startup-config, so it is saved in nvram


HTH

Reza

rwilletts Fri, 03/12/2010 - 02:21
User Badges:

Hi Reza,


The ' sdm prefer ' command isn't stored in startup-config so where does the device store this information ?

Correct Answer
jorge.calvo Thu, 06/10/2010 - 05:04
User Badges:
  • Bronze, 100 points or more

Hello,


The SMD template parameter is stored in file: system:memory/data. Please, see below output:


C3750#more system:data | i sdm
0025F190:  72657320 73646D20 74656D70 6C617465    res  sdm  temp late
00268AF0:  73686F77 2073646D 20707265 66657200    show  sdm  pre fer.
00275F70:  73646D00 63647020 656E6162 6C650000    sdm. cdp  enab le..
002A9300:  76362072 6F757469 6E670000 0A73646D    v6 r outi ng.. .sdm
002A9340:  0A73646D 2D727063 2D74783A 20726571    .sdm -rpc -tx:  req
002A9460:  61746500 20202020 2273646D 20707265    ate.      "sdm  pre
002A94C0:  5F73646D 00000000 6465736B 746F7000    _sdm .... desk top.
002A95F0:  6E740000 68756C63 5F69735F 73646D5F    nt.. hulc _is_ sdm_
002A9B80:  73646D20 70726566 6572206F 7074696F    sdm  pref er o ptio

Hope this helps.

Actions

This Discussion