8-5
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 8 Configuring SDM Templates Configuring the Switch SDM Template
Setting the SDM Template
Beginning in privileged EXEC mode, follow these steps to configure an SDM template:
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 currently in use and the
template that will become active after a reload.
This is an example output when you have changed the template and have not reloaded the switch:
Switch# show 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 igmp groups + multicast routes: 1K
number of unicast routes: 11K
number of directly connected hosts: 3K
number of indirect routes: 8K
number of qos aces: 0.5K
number of security aces: 1K
On next reload, template will be “desktop vlan” template.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 sdm prefer {access | default |
dual-ipv4-and-ipv6 {default | routing |
vlan} | routing | vlan}
Specify the SDM template to be used on the switch. The keywords have
these meanings:
access—Maximize system resources for ACLs.
default—Give balance to all functions.
dual-ipv4-and-ipv6—Select a template that supports both IPv4 and
IPv6 routing.
default—Balance IPv4 and IPv6 Layer 2 and Layer 3
functionality.
routing—Provide maximum usage for IPv4 and IPv6 routing,
including IPv4 policy-based routing.
vlan—Provide maximum usage for IPv4 and IPv6 VLANs.
routing—Maximize routing on the switch.
vlan—Maximize VLAN configuration on the switch with no routing
supported in hardware.
Note Do not select a routing template when the switch is running the
LAN base feature set. Although visible in the command-line help,
the LAN base feature set does not support routing.
Use the no sdm prefer command to reset the switch to the default desktop
template. The default template balances the use of system resources.
Step 3 end Return to privileged EXEC mode.
Step 4 reload Reload the operating system.