Configuring SDM Templates
This chapter describes how to configure the Switch Database Management (SDM) templates on the Cisco Metro Ethernet (ME) 3600X, 3800X and 3600X-24CX switch.
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
The Switch Database Management (SDM) templates are used to optimize system resources in the switch to support specific features, depending on how the switch is used in the network. The SDM templates allocate TCAM resources to support different features. You can use the SDM templates to optimize resources for different features. You can select the default template to balance system resources or select specific templates to support features such as only IPv4 or only IPv6 in the hardware.
Note
Only three licenses support SDM templates, Metro IP Access, Advanced Metro IP Access, and Scaled Metro Aggregation Services. Use the help option of the sdm prefer command to display the templates supported under each license.
Table 8-1 shows the approximate number of each resource supported in each of the templates for a switch running the metro IP access image.
Table 8-1 Approximate Number of Feature Resources Allowed by Each Template
|
|
|
MAC table |
8 K |
8 K |
IPv4 routes |
20 K |
24 K |
IPv6 routes |
5 K |
4 K |
IPv4 routing groups |
1 K |
1 K |
Multicast Groups |
1 K |
1 K |
Bridge Domains |
4 K |
4 K |
Ethernet Flow Point (EFP) |
4 K |
4 K |
ACL entries |
2 K |
2 K |
IPv4 QoS classification |
4 K |
4 K |
Table 8-2 shows the approximate number of each resource supported in each of the templates for a switch running the advanced metro IP access image.
Table 8-2 Approximate Number of Feature Resources Allowed by Each Template
|
|
Advanced Metro IP Access IP SDM template
|
MAC table |
16 K |
16 K |
IPv4 Routes |
20 |
24 K |
IPv6 Routes |
5 K |
3 K |
IP v4 Routing Groups |
1 K |
1 K |
Multicast Groups |
1 K |
1 K |
Bridge Domains |
4 K |
4 K |
Ethernet Flow Point (EFP) |
4 K |
4 K |
ACL entries |
2 K |
2 K |
IPv4 QoS classification |
4 K |
4 K |
Table 8-3 shows the approximate number of each resource supported in each of the templates for a switch running the Scaled metro aggregation services image.
Table 8-3 Approximate Number of Feature Resources Allowed by Each Template
|
|
|
|
MAC table |
256K |
256K |
256K |
IPv4 routes |
32 K |
80 K |
80 K |
IPv6 routes |
16 K |
8 K |
40 K |
IP v4 Routing Groups |
4 K |
8 K |
2 K |
Multicast Groups |
4 K |
4 K |
2 K |
Bridge Domains |
8 K |
4 K |
8 K |
Ethernet Flow Point (EFP) |
16 K |
4 K |
4 K |
ACL entries |
16 K |
4 K |
4 K |
IPv4 QoS classification |
24 K |
12 K |
12K |
Configuring the Switch SDM Template
SDM Template Configuration Guidelines
Follow these guidelines when selecting and configuring SDM templates:
- You must reload the switch for the configuration to take effect.
- To enable the 1588 BC feature on the Cisco ME3600X-24CX switch the 1588BC feature license must be installed in addition to one of the two base licenses, Metro IP Access or Advanced Metro IP Access.
Setting the SDM Template
In the privileged EXEC mode, perform these steps to use the SDM templates to select a template on the switch:
|
|
|
Step 1 |
enable |
Enter the privileged EXEC mode. |
Step 2 |
sdm prefer { default | |vpnv4-only vpnv4-v6 } |
Specify the SDM template to be used on the switch for the SCALED METRO AGGREGATION License: The keywords have these meanings:
- default —Balance all functions.
- Vpnv4-only —VPNv4 template.
- Vpnv4-v6 —VPNv4-v6 template.
|
Step 3 |
sdm prefer { default | ip } |
Specify the SDM template to be used on the switch for the METRO IP ACCESS license:
- default —Balance all functions.
- ip —Increased ipv4
|
Step 4 |
sdm prefer { default | ip } |
Specify the SDM template to be used on the switch for the ADVANCED METRO IP ACCESS license:
- default —Balance all functions.
- ip —Increased ipv4
|
Step 5 |
end |
Return to privileged EXEC mode. |
Step 6 |
reload |
Reload the operating system. |
After the system reboots, you can use the show sdm prefer current command in the privileged EXEC mode to verify the new template configuration. If you enter the show sdm prefer current command before you enter the reload privileged EXEC command, the show sdm prefer current command shows the template currently in use and the template that will become active after a reload.
This example shows how to configure a switch with the vpnv4-only template.
Switch# sdm prefer vpnv4-only
Proceed with reload? [confirm]
This is an example of an output display for the SCALED METRO AGG Services licence:
Switch# show sdm prefer current
The current License is ScaledMetroAggrServices
The current template is "default" template.
number of mac table entries = 256000
number of ipv4 routes = 32000
number of ipv6 routes = 16000
number of routing groups = 4000
number of multicast groups = 4000
number of bridge domains = 8192
number of acl entries = 16000
On next reload, template will be "VPNv4-only" template.
To return to the default template, use the no sdm prefer global configuration command.
Configuring IO Mode on Cisco ME3600X-24CX Switch
Three I/O modes are available on the switch:
I/O Mode 1
In I/O Mode 1 the following ports are available:
- 24 GigabitEthernet ports 0/1 to 0/24
- Two TenGigabitEthernet ports 0/1 and 0/2
- Management port GigabitEthernet 0/0
Note
10GE XFP ports 0/3 and 0/4 are not available in I/O Mode 1.
To enable I/O Mode 1, use the sdm prefer 2 command, and reload the system.
I/O Mode 2
In I/O Mode 2 the following ports are available:
- Eight GigabitEthernet ports 0/1 to 0/8
- Four TenGigabitEthernet ports 0/1 to 0/4
- Management port GigabitEthernet 0/0
Note
SFP GigabitEthernet ports 0/9 to 0/24 are not available in I/O Mode 2.
TenGigabit upgrade license is required to enable TenGigabit port 0/3 and TenGigabit port 0/4.
To enable I/O Mode 2, use the sdm prefer 4 command and reload the system.
Limitations
TenGigabitEthernet port 0/1 can be bundled only with TenGigabit port 0/2 for Etherchannel (and vice-versa).
TenGigabit port 0/3 can be bundled only with TenGigabit port 0/4 for Etherchannel (and vice-versa).
I/O Mode 3
In I/O Mode 3 the following ports are available:
- 16 GigabitEthernet ports
- Three TenGigabitEthernet ports
- Management port GigabitEthernet 0/0
Note
SFP GigabitEthernet ports 0/17 to 0/24 are not available in I/O Mode 3.
To enable I/O Mode 3, use the sdm prefer 3 command and reload the system.
Limitations
TenGigabitEthernet 0/4 cannot be bundled with TenGigabitEthernet 0/1 or TenGigabitEthernet 0/2 to create an Etherchannel.
A 10G upgrade license is required to enable the third TenGigabitEthernet 0/4 physical interface in I/O Mode 3.
T1/E1 License on ME-3600X-24CX Switch
There are two license types available for T1/E1, counted and uncounted.
T1/E1 ports are grouped into four. There are counted licenses available to activate each port. The licenses are available in counts of 1-4. That is one license count is required to enable 4 T1/E1 ports; two license count is required to enable 8 T1/E1 ports; and four licence count is required to enable all 16 T1/E1 ports.
When the license has been installed use the card type { e1 | t1 } 0 1 command to enable the ports.
There is an uncounted license available to enable all 16 T1/E1 ports. In this case a single license will enable all T1/E1 ports.
When the license has been installed us the card type { e1 | t1 } 0 1 command to enable the ports.
Displaying the SDM Templates
Use the show sdm prefer current privileged EXEC command to display the active template. Use the show sdm prefer { default | vpnv4-v6 |vpnv4-only } 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, where the SCALED METRO AGGRAGRATION SERVICES license is being used:
current show current template configuration
default show default template configuration
Vpnv4-v6 show VPNv4-v6 template configuration
Vpnv4-only show VPNv4 template configuration
Switch#show sdm prefer default
The current License is ScaledMetroAggrServices
number of mac table entries = 256000
number of ipv4 routes = 32000
number of ipv6 routes = 16000
number of routing groups = 4000
number of multicast groups = 4000
number of bridge domains = 8192
number of acl entries = 16000
Switch# show sdm prefer current
The current License is ScaledMetroAGGrServices.
The current template is "default" template.
number of mac table entries = 256000
number of ipv4 routes = 32000
number of ipv6 routes = 16000
number of routing groups = 4000
number of multicast groups = 4000
number of bridge domains = 8192
number of acl entries = 16000
Switch# show sdm prefer vpnv4-only
The current License is ScaledMetroAggrServices Vpnv4-only template:
number of mac table entries = 256000
number of ipv4 routes = 80000
number of ipv6 routes = 8000
number of routing groups = 8000
number of multicast groups = 4000
number of bridge domains = 8192
number of acl entries = 4000
Switch#show sdm prefer vpnv4-v6
The current License is ScaledMetroAggrServices
number of mac table entries = 256000
number of ipv4 routes = 80000
number of ipv6 routes = 4000
number of routing groups = 2000
number of multicast groups = 2000
number of bridge domains = 8192
number of acl entries = 4000