Configuring SDM Templates
- Finding Feature Information
- Information About Configuring SDM Templates
- How to Configure SDM Templates
- Configuration Examples for SDM Templates
- Additional References for SDM Templates
- Feature History and Information for Configuring SDM Templates
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About Configuring SDM Templates
- Restrictions for SDM Templates
- SDM Templates
- Default and LAN Base Templates
- SDM Templates and Switch Stacks
Restrictions for SDM Templates
The following are restrictions when using SDM templates:
The default template is the only template supported on switches running the LAN Lite image.
The LAN Base default template is used with switches in a homogeneous stack.
-
The LAN Base routing template is supported only on switches running the LAN Base image.
The LAN Base routing template is used with switches in a mixed stack.
-
The switch supports homogeneous stacking and mixed stacking. Mixed stacking is supported only with the Catalyst 2960-S switches. A homogenous stack can have up to eight stack members, while a mixed stack can have up to four stack members. All switches in a switch stack must be running the LAN Base image.
SDM Templates
The LAN Base routing template prevents other features from using the memory allocated to unicast routing. Routing must be enabled on your switch before you can use the routing template.
For more information about homogeneous and mixed stacks, see the Catalyst 2960-X Switch Stacking Configuration Guide.
After you change the template and 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 becomes active after a reload.
Default and LAN Base Templates
|
Resource |
Default |
LAN Base Default |
LAN Base Routing |
LAN Lite |
|---|---|---|---|---|
|
Unicast MAC addresses |
8 K |
16 k |
4 K |
16 k |
Active VLANs/VLAN IDs |
255/4096 |
255/1024 |
255/4096 |
64/4096 |
NetFlow Entries |
16 K |
— |
— |
— |
IPv4 IGMP groups |
.375 K |
1 K |
.375 K |
1 K |
IPv4 unicast routes |
0 |
3 K |
.875 K |
0 |
0 |
2 K |
.875 K |
0 |
|
0 |
1 K |
80 |
0 |
|
IPv4 policy based routing ACEs |
0 |
0 |
0 |
0 |
IPv6 multicast groups: |
.25 K |
1 K |
.25 K |
0 |
.25 K |
2 K |
.75 K |
0 |
|
32 |
1 K |
32 |
0 |
|
IPv6 policy based routing ACEs |
0 |
0 |
0 |
0 |
|
Ipv4 MAC QoS ACEs |
.375 K |
.5 K |
.375 K |
.256 K |
|
IPv4 MAC security ACEs |
.375 K |
.625 K |
.375 K |
.256 K |
IPv6 policy based routing ACEs |
0 |
0 |
0 |
0 |
IPv6 QoS ACEs |
60 |
.5 K |
.125 K |
0 |
IPv6 security ACEs |
.125 K |
.625 K |
.25 |
0 |
SDM Templates and Switch Stacks
All stack members use the same SDM template that is stored on the stack master. When a new switch is added to a stack, as with the switch configuration and VLAN database files, the SDM configuration that is stored on the stack master overrides the template configured on an individual switch.
Version-mismatch (VM) mode has priority over SDM-mismatch mode. If a VM mode condition and an SDM-mismatch mode exist, the switch stack first attempts to resolve the VM-mode condition. You can use the show switch privileged EXEC command to see if any stack members are in SDM-mismatch mode.
How to Configure SDM Templates
Setting the SDM Template
Follow these steps to use the SDM template to maximize feature usage:
1.
enable
3.
sdm
prefer
{
default |
lanbase-default |
lanbase-routing }
5.
reload
DETAILED STEPS
Configuration Examples for SDM Templates
Examples: Displaying SDM Templates
This is an example output showing the default template information.
Switch# show sdm prefer default "default" template: The selected template optimizes the resources in the switch to support this level of features for 0 routed interfaces and 255 VLANs. number of unicast mac addresses: 8K number of IPv4 IGMP groups + multicast routes: 0.375k number of IPv4 unicast routes: 0 number of IPv6 multicast groups: 0.25K number of directly-connected IPv6 addresses: 0.25K number of indirect IPv6 unicast routes: 32 number of IPv4 policy based routing aces: 0 number of IPv4/MAC qos aces: 0.375k number of IPv4/MAC security aces: 0.375k number of IPv6 policy based routing aces: 0 number of IPv6 qos aces: 60 number of IPv6 security aces: 0.125k Switch#
This is an example output showing the LAN Base default template information.
Switch# show sdm prefer lanbase-default "lanbase-default" template: The selected template optimizes the resources in the switch to support this level of features for 0 routed interfaces and 1024 VLANs. number of unicast mac addresses: 16K number of IPv4 IGMP groups + multicast routes: 1K number of IPv4 unicast routes: 3K number of directly-connected IPv4 hosts: 2K number of indirect IPv4 routes: 1K number of IPv6 multicast groups: 1K number of directly-connected IPv6 addresses: 2K number of indirect IPv6 unicast routes: 1K number of IPv4 policy based routing aces: 0 number of IPv4/MAC qos aces: 0.5K number of IPv4/MAC security aces: 0.625k number of IPv6 policy based routing aces: 0 number of IPv6 qos aces: 0.5K number of IPv6 security aces: 0.625k Switch#
This is an example output showing the LAN Base routing template information.
Switch# show sdm prefer lanbase-routing "lanbase-routing" template: The selected template optimizes the resources in the switch to support this level of features for 0 routed interfaces and 255 VLANs. number of unicast mac addresses: 4K number of IPv4 IGMP groups + multicast routes: 0.375k number of IPv4 unicast routes: 0.875k number of directly-connected IPv4 hosts: 0.875k number of indirect IPv4 routes: 80 number of IPv6 multicast groups: 0.25K number of directly-connected IPv6 addresses: 0.75K number of indirect IPv6 unicast routes: 32 number of IPv4 policy based routing aces: 0 number of IPv4/MAC qos aces: 0.375k number of IPv4/MAC security aces: 0.375k number of IPv6 policy based routing aces: 0 number of IPv6 qos aces: 0.125k number of IPv6 security aces: 0.25K Switch#
Examples: Configuring SDM Templates
This example shows how to configure the VLAN template:
Switch(config)# sdm prefer lanbase-routing Switch(config)# exit Switch# reload Proceed with reload? [confirm]
Additional References for SDM Templates
Related Documents
| Related Topic | Document Title |
|---|---|
SDM commands |
Catalyst 2960-X Switch System Management Command Reference |
Standards and RFCs
| Standard/RFC | Title |
|---|---|
| None | — |
MIBs
| MIB | MIBs Link |
|---|---|
| All supported MIBs for this release. |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
Technical Assistance
| Description | Link |
|---|---|
|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
Feature History and Information for Configuring SDM Templates
Release |
Modification |
|---|---|
Cisco IOS 15.0(2)EX |
This feature was introduced. |
Feedback