6-3
Catalyst 3750 MetroSwitch Software Configuration Guide
78-15870-01
Chapter 6 Configuring SDM Templates
Configuring the Switch SDM Template
SDM Template Configuration Guidelines
You must reload the switch for the configuration to take effect.
Use the sdm prefer vlan global configuration command only on switches intended for Layer 2 switching
with no routing. When you use the VLAN template, no system resources are reserved for routing entries,
and any routing is done through software. This overloads the CPU and severely degrades routing
performance.
Do not use the routing template if you do not have routing enabled on your switch. The sdm prefer
routing global configuration command prevents other features from using the memory allocated to
unicast routing in the routing template.
You must enter the sdm prefer routing-pbr global configuration command for PBR to function
correctly.
VRFs are not compatible with the PBR template. Therefore multiprotocol label switching virtual private
networks (MPLS VPNs) and multiple VRFs in CE devices (multi-VRF CE) are not compatible with
PBR. When you enter the sdm prefer routing-pbr command, any preconfigured VRFs are removed
from the configuration.
Setting the SDM Template
Beginning in privileged EXEC mode, follow these steps to use the SDM template to maximize resources:
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 of an output display 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.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
sdm prefer {default | routing | routing-pbr
| vlan}
Specify the SDM template to be used on the switch:
The keywords have these meanings:
• default—Sets the switch to the balance system resources
between Layer 2 and Layer 3 functions.
• routing—Maximizes routing on the switch.
• routing-pbr—Allows PBR on the switch.
• vlan—Maximizes VLAN configuration on the switch with no
routing supported in hardware.
Step 3
end Return to privileged EXEC mode.
Step 4
reload Reload the operating system.