Configuring SDM Templates

The switch command reference has command syntax and usage information about the Switch Database Management (SDM) templates.

Understanding the SDM Templates

You can use SDM templates to configure system resources in the switch to optimize support for specific features, depending on how the switch is used in the network. You can select a template to provide maximum system usage for some functions or use the default template to balance resources.

To allocate ternary content addressable memory (TCAM) resources for different usages, the switch SDM templates prioritize system resources to optimize support for certain features.

Configuring the Switch SDM Template

Default SDM Template

SDM Template Configuration Guidelines

  • When you select and configure SDM templates, you must reload the switch for the configuration to take effect.
  • If you try to configure IPv6 features without first selecting a dual IPv4 and IPv6 template, a warning message appears.
  • Using the dual stack templates results in less TCAM capacity allowed for each resource, so do not use it if you plan to forward only IPv4 traffic.

Setting the SDM Template

Beginning in privileged EXEC mode, follow these steps to use the SDM template to maximize feature usage:

 

Command
Purpose

Step 1

configure terminal

Enter global configuration mode.

Step 2

end

Return to privileged EXEC mode.

Step 3

reload

Reload the operating system.

After the system reboots, you can use the show sdm prefer privileged EXEC command to verify the new template configuration. If you enter the show sdm prefer command before you enter the reload privileged EXEC command, the show sdm prefer command shows the template in use and the template that becomes active after a reload.

 

.Displaying the SDM Templates

Use the show sdm prefer privileged EXEC command with no parameters to display the active template.

This is an example of output from the show sdm prefer command, displaying the template in use.