Configuration: (below)
This command uses just one of many SDM memory templates. The number of templates and the variety depend on the device and it capabilties and resources. In the switch I used to grab these templates there were only four, but this was not a high end switch. This command shifts the memory over and disperse it a bit and the uni-cast mac portion drops from 8k entries to 4k. After entering this command the switch must be power cycled before the switch can start using the new memory template.
(config)#sdm prefer lanbase-routing
Diagnostic and verification:
This will display the template that the switch shipped with. This command using the following options provide a way to preview the differences between the individual templates. In these templates the numbers represent 8 thousand addresses and not the memory storage capacity.
#show sdm prefer default
This configuration reflects more storage for the different aspects of routing with less storage of unicast mac addresses usually used by the ASIC forwarding engine.
#show sdm prefer lanbase-routing
This configuration reflects the hopefulness that IPv6 will ever see wide use before IPv8 is released as a way to provide internet connectivity to our android servants so they can learn and grow and later enslave us.
#show sdm prefer dual-ipv4-and-ipv6 default
This is a great tool for viewing the devices utilization of the current template in order to make a choice as to which template to use.
#show platform tcam utilization