Cisco Systems 3560 Frozen Dessert Maker User Manual


  Open as PDF
of 1288
 
8-4
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 8 Configuring SDM Templates
Configuring the Switch SDM Template
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.
If you try to configure IPv6 features without first selecting a dual IPv4 and IPv6 template, a warning
message is generated.
Using the dual stack templates results in less TCAM capacity allowed for each resource, so do not
use 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:
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.
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—Maximizes system resources for ACLs.
default—Gives 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—Maximizes routing on the switch.
vlan—Maximizes VLAN configuration on the switch with no
routing supported in hardware.
Use the no sdm prefer command to set 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.