A Switch Database Management (SDM) template is a description of the maximum resources a switch or router can use for various features. Different SDM templates allow different combinations of scaling factors, enabling different allocations of resources depending on how the device is used. In other words, SDM templates enable you to reallocate system resources to support a different mix of features based on your network requirements.
NOTE: If you attach a unit to a stack and its template does not match the stack's template, then the new unit will automatically reboot using the template used by other stack members. To avoid the automatic reboot, you may first set the template to the template used by existing members of the stack. Then power off the new unit, attach it to the stack, and power it on.
sdm prefer
Use this command to change the template that will be active after the next reboot. The keywords are as follows:
dual-ipv4-and-ipv6 - filters subsequent template choices to those that support both IPv4 and IPv6. There is only one such template, and it is selected using the keyword default.
ipv4-routing - filters subsequent template choices to those that support IPv4, and not IPv6. The default IPv4-only template maximizes the number of IPv4 unicast routes, while limiting the number of ECMP next hops in each route to 4. The data-center template supports increases the number of ECMP next hops to 16 and reduces the number of routes.
NOTE: After setting the template, you must reboot in order for the configuration change to take effect.
Use this command to revert to the default template after the next reboot.
Format: no sdm prefer
Mode: Global Config
show sdm prefer
Use this command to view the currently active SDM template and its scaling parameters, or to view the scaling parameters for an inactive template. When invoked with no optional keywords, this command lists the currently active template and the template that will become active on the next reboot, if it is different from the currently active template. If the system boots with a non-default template, and you clear the template configuration, either using no sdm prefer or by deleting the startup configuration, show sdm prefer lists the default template as the next active template. To list the scaling parameters of a specific template, use that template's keyword as an argument to the command.
Use the optional keywords to list the scaling parameters of a specific template.