6-3
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter6 Configuring SDM Template s 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 all ocated to
unicast routing in the routing template.
You should use the default template when you plan to enable routing on the switc h. If yo u 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 ne w
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: 1K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 5K
number of directly-connected IPv4 hosts: 1K
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
Step1 configure terminal Enter global configuration mode.
Step2 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.
Step3 end Return to privileged EXEC mode.
Step4 reload Reload the operating system.