- Index
- Preface
- Overview
- Using the Command-Line Interface
- Assigning the Switch IP Address and Default Gateway
- Configuring Cisco IOS Configuration Engine
- Administering the Switch
- Configuring Web-Based Authentication
- Clustering Switches
- Managing Switch Stacks
- Configuring SDM Templates
- Configuring Switch-Based Authentication
- Configuring IEEE 802.1x Port-Based Authentication
- Configuring Interface Characteristics
- Configuring VLANs
- Configuring VTP
- Configuring Voice VLAN
- Configuring STP
- Configuring MSTP
- Configuring Optional Spanning-Tree Features
- Configuring Flex Links and the MAC Address-Table Move Update Feature
- Configuring DHCP Features and IP Source Guard
- Configuring Dynamic ARP Inspection
- Configuring IGMP Snooping and MVR
- Configuring Port-Based Traffic Control
- Configuring UDLD
- Configuring CDP
- Configuring LLDP, LLDP-MED, and Wired Location Service
- Configuring SPAN and RSPAN
- Configuring RMON
- Configuring System Message Logging
- Configuring SNMP
- Configuring Cisco IOS IP SLAs Operations
- Configuring Network Security with ACLs
- Configuring QoS
- Configuring Static IP Unicast Routing
- Configuring IPv6 Host
- Configuring IPv6 MLD Snooping
- Configuring EtherChannels and Link-State Tracking
- Troubleshooting
- Configuring Online Diagnostics
- Working with the Cisco IOS File System, Configuration Files, and Software Images
- Supported MIBs
- Unsupported Commands in Cisco IOS Release 12.2(55)SE
- Recommendations for Upgrading a Catalyst 2950 Switch to a Catalyst 2960 Switch
Configuring SDM Templates
The Catalyst 2960 and 2960-S switch command reference has command syntax and usage information. Unless otherwise noted, the term switch refers to a standalone switch and a switch stack.
Note Configuring an SDM template is not required on Catalyst 2960-S switches unless you configure static routing on the switch. A Catalyst 2960-S switch running the LAN base image uses a default template that includes maximum resources for all supported features.
Understanding the SDM Templates
Note The SDM template used by Catalyst 2960-S running LAN Lite image is a default templates and is not configurable. Catalyst 2960-S switches running the LAN base image support only a default template and the lanbase-routing template.
You can use SDM templates to configure system resources in the Catalyst 2960 switch to optimize support for specific features, depending on how the switch is used in the network. You can select a template to provide maximum system usage for some functions or use the default template to balance resources.
To allocate ternary content addressable memory (TCAM) resources for different usages, the switch SDM templates prioritize system resources to optimize support for certain features. You can select SDM templates to optimize these features on the Catalyst 2960 switch:
- Default—The default template gives balance to all functions.
- Dual—The dual IPv4 and IPv6 template allows the switch to be used in dual stack environments (supporting both IPv4 and IPv6). Using the dual stack templates results in less TCAM capacity allowed for each resource. Do not use them if you plan to forward only IPv4 traffic.
Note The dual IPv4 and IPv6 template is not supported on Catalyst 2960 switches running the LAN Lite image or on Catalyst 2960-S switches.
- LAN base routing—The lanbase-routing template supports IPv4 unicast routes for configuring static routing SVIs
Note The lanbase-routing template is supported only on switches running Cisco IOS Release 12.2(55)SE or later and the LAN base image.
- QoS—The QoS template maximizes system resources for quality of service (QoS) access control entries (ACEs).
|
|
|
|
|
|
---|---|---|---|---|---|
The rows in the tables represent approximate hardware boundaries set when a template is selected. If a section of a hardware resource is full, all processing overflow is sent to the CPU, seriously impacting switch performance.
SDM Templates and Switch Stacks
Note Stacking is supported only on Catalyst 2960-S switches running the LAN base image.
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. For more information about stacking, see Chapter1, “Managing Switch Stacks”
You can use the show switch privileged EXEC command to see if any stack members are in SDM mismatch mode. This example shows the output from the show switch privileged EXEC command when an SDM mismatch exists:
This is an example of a syslog message notifying the stack master that a stack member is in SDM mismatch mode:
Configuring the Switch SDM Template
Default SDM Template
The default template for the Catalyst 2960 and 2960-S switches is the default desktop template.
SDM Template Configuration Guidelines
Note You configure SDM template on Catalyst 2960 switches. A Catalyst 2960-S switch running the LAN base image uses the desktop default template that includes maximum resources for all supported features. However, to enable static routing, you must configure the lanbase-routing template.
- When you select and configure SDM templates, you must reload the switch for the configuration to take effect.
- Do not use the routing template if you do not have routing enabled on your switch. The sdm prefer lanbase 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 appears.
Note The dual template is not supported on switches running the LAN lite image and is not required on Catalyst 2960-S switches.
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 in use and the template that becomes active after a reload.
.Displaying the SDM Templates
Use the show sdm prefer privileged EXEC command with no parameters to display the active template.
Use the show sdm prefer [ default | dual-ipv4-and-ipv6 default | lanbase-routing | qos ] privileged EXEC command to display the resource numbers supported by the specified template.
Note The Catalyst 2960-S switch supports only the default and lanbase-routing templates.
This is an example of output from the show sdm prefer command, displaying the template in use.