- Overview
- Command Line Interface
- Access the Switch Module from the Host Router
- Assign the Switch Module IP Address and Default Gateway
- Cisco IOS Configuration Engine
- Administer the Switch Module
- Switch Module Authentication
- Interface Configuration
- EtherChannel Configuration Between the Switch Module and the Host Router
- Smartports Macros Configuration
- VLAN Configuration
- Private VLAN Configuration
- IEEE 802.1Q and Layer 2 Protocol Tunneling Configuration
- Quality of Service Configuration
- EtherChannel Configuration and Link State Tracking
- MODBUS TCP Configuration
- SDM Template Configuration
- Troubleshooting
- Initial Configuration with the CLI Setup Program
- Cisco IOS File System, Configuration Files, and Software Images
- MODBUS TCP Registers
- Unsupported Commands in Cisco IOS Release 12.2(58)EZ
SDM Template Configuration
This chapter describes how to configure the Switch Database Management (SDM) templates on the CGR 2010 ESM. SDM template configuration is supported only when the switch module is running the IP services image.
Note For complete syntax and usage information for the commands used in this chapter, see the command reference for this release.
Understanding the SDM Templates
If the switch module is running the IP services image, you can use SDM templates to optimize system resources in the switch module to support specific features, depending on how the switch module is used in the network. The SDM templates allocate TCAM (Ternary Content Addressable Memory) resources to support different features. You can use the SDM templates for IP Version 4 (IPv4) and select the default template to balance system resources or select the layer-2 template to support only Layer 2 features in hardware.
Note Switch modules running the LAN base image support only the Layer-2 template
- Layer-2—The layer-2 template maximizes system resources for Layer 2 functionality and does not support routing. You should use this template when the switch module is being used for Layer-2 forwarding. When you select the layer-2 template on a switch module running the IP services image, any routing is done through software, which overloads the CPU and severely degrades routing performance.
- Default—The default template gives balance to all functions: Layer 2 and Layer 3 (routing). This template is available only on switch modules running the IP services image. If you do not use the default template when routing is enabled on the switch module, any routing is done through software, which overloads the CPU and severely degrades routing performance.
The dual IPv4 and IPv6 templates also enable a dual-stack environment. See the “Dual IPv4 and IPv6 SDM Templates” section.
Table 17-1 shows the approximate number of each resource supported in each of the two IPv4 templates for a switch module running the IP services image. The values in the template are based on eight routed interfaces and approximately 1024 VLANs and represent the 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 module performance.
|
|
|
---|---|---|
IPv4 policy-based routing ACEs1 |
||
IPv4 or MAC QoS2 ACEs |
||
|
Dual IPv4 and IPv6 SDM Templates
You can select SDM templates to support IP Version 6 (IPv6). For more information about IPv6 and how to configure IPv6 routing, see Chapter 39, “Configuring IPv6 Unicast Routing” in the Cisco CGS 2520 Software Configuration Guide. For information about configuring IPv6 ACLs, see Chapter 41, “Configuring IPv6 ACLs” in the Cisco CGS 2520 Software Configuration Guide.
This software release does not support Policy-Based Routing (PBR) when forwarding IPv6 traffic. The software supports IPv4 PBR only when the dual-ipv4-and-ipv6 routing template is configured.
The dual IPv4 and IPv6 templates allow the switch module 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.
These SDM templates support IPv4 and IPv6 environments:
- Dual IPv4 and IPv6 default template—supports Layer 2, multicast, routing, QoS, and ACLs for IPv4; and Layer 2, routing, and ACLs for IPv6 on the switch module.
- Dual IPv4 and IPv6 routing template—supports Layer 2, multicast, routing (including policy-based routing), QoS, and ACLs for IPv4; and Layer 2, routing, and ACLs for IPv6 on the switch module.
- Dual IPv4 and IPv6 VLAN template—supports basic Layer 2, multicast, QoS, and ACLs for IPv4, and basic Layer 2 and ACLs for IPv6 on the switch module.
This software release does not support IPv6 multicast routing, IPv6 QoS, or IPv6 Multicast Listener Discovery (MLD) snooping.
Note An IPv4 route requires only one TCAM entry. Because of the hardware compression scheme used for IPv6, an IPv6 route can take more than one TCAM entry, reducing the number of entries forwarded in hardware.
Table 17-2 defines the approximate feature resources allocated by each dual template. Template estimations are based on a switch module with 8 routed interfaces and approximately 1000 VLANs.
|
|
|
|
---|---|---|---|
IPv6 policy-based routing ACEs3 |
|||
|
Configuring the Switch Module SDM Template
Default SDM Template
The default template for a switch module running the IP services image is the default template.
The default (and only) template supported on switch modules running the LAN base image is the Layer-2 template.
SDM Template Configuration Guidelines
Follow these guidelines when selecting and configuring SDM templates:
- You must reload the switch module for the configuration to take effect.
- If you are using the switch module for Layer 2 features only, select the layer-2 template.
- Do not use the default template if you do not have routing enabled on your switch module. 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 module. 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.
- 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 the dual-stack templates 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 select a template on a switch module running the IP services 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 module:
To return to the default template, use the no sdm prefer global configuration command.
This example shows how to configure a switch module with the Layer-2 template:
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 | routing | vlan } | layer-2 ] privileged EXEC command to display the resource numbers supported by the specified template.
This is an example of output from the show sdm prefer command, displaying the template in use:
This is an example of output from the show sdm prefer layer-2 command:
This is an example of output from the show sdm prefer dual-ipv4-and-ipv6 routing command: