ME 3800x and ME 3600x Switches Software Configuration Guide, Release 15.1(2)EY
Configuring SDM Templates
Downloads: This chapterpdf (PDF - 121.0KB) The complete bookPDF (PDF - 11.01MB) | Feedback

Configuring SDM Templates

Table Of Contents

Configuring SDM Templates

Understanding the SDM Templates

Configuring the Switch SDM Template

SDM Template Configuration Guidelines

Setting the SDM Template

Displaying the SDM Templates


Configuring SDM Templates


This chapter describes how to configure the Switch Database Management (SDM) templates on the Cisco Metro Ethernet (ME) 3600X and 3800X 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

Configuring the Switch SDM Template

Displaying the SDM Templates

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 

Resource
Default
IPv4 SDM template

MAC table

8 K

8 K

IPv4 routes

20

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 Poing (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 

Resource
Default
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 

Resource
Default
VPNv4 Only SDM Template
VPNv4-v6 SDM 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

Setting the 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.

Setting the SDM Template

In the privileged EXEC mode, perform these steps to use the SDM templates to select a template on the switch:

 
Command
Purpose

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
Switch# end
Switch# reload
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.
 
   
Template values:
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.

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:

Switch# show sdm prefer? 
	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
default template:
 
   
Template values:
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.
Template values:
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:
Template values:
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
Vpnv4-v6 template:
 
   
Template values:
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