6-3
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 6 Configuring SDM Templates Configuring the Switch SDM Template
Do not use the default template if you do not have routing enabled on your switch. The sdm prefer
default global configuration command prevents other features from using the memory allocated to
unicast routing in the routing template.
You should use the default template when you plan to enable routing on the switch. If you do not
use the default template when routing is enabled, routing is done through software, which overloads
the CPU and severely degrades routing performance.
Setting the SDM Template
Beginning in privileged EXEC mode, follow these steps to use the SDM template to select a template on
a switch running the metro IP access image:
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 to the layer-2 template and
have not reloaded the switch:
Switch# show sdm prefer
The current template is "default" 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: 5K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 9K
number of directly-connected IPv4 hosts: 5K
number of indirect IPv4 routes: 4K
number of IPv4 policy based routing aces: 512
number of IPv4/MAC qos aces: 512
number of IPv4/MAC security aces: 1K
On next reload, template will be "layer-2" template.
To return to the default template, use the no sdm prefer global configuration command.
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 sdm prefer {default | layer-2}Specify the SDM template to be used on the switch:
The keywords have these meanings:
default—Gives balance to all functions.
layer-2—Supports Layer 2 functionality and does not support
routing on the switch.
Step 3 end Return to privileged EXEC mode.
Step 4 reload Reload the operating system.