Switch Database Management Template Commands

Use these commands to configure Switch Database Management (SDM) templates.

Note: Switch Database Management (SDM) template commands are supported on the M4350 series switches only. The M4250 series switches do not support SDM template commands.

A Switch Database Management template is a description of the maximum resources a switch or router can use for various features. Different SDM templates allow different combinations of scaling factors, enabling different allocations of resources depending on how the device is used. In other words, SDM templates enable you to reallocate system resources to support a different mix of features based on your network requirements.

Note: If you insert a unit in a stack and its template does not match the template of the stack, the unit reboots automatically using the template that is used by other stack members. To avoid the automatic reboot, first set the template to the template that is used by existing members of the stack. Then power off the new unit, insert it in the stack, and power on the unit.

sdm prefer

M4350

Use this command to change the template that must be active after the next reboot. The keywords are as follows:

  • ipv4-basic. Template for an IPv4 environment with support for basic IPv6. This is the default template.
  • ipv6-basic. Template for an IPv6 environment with support for basic IPv4.
  • ipv4-basic-plus. Template for an IPv4 environment with emphasis on IPv4 unicast and multicast routing and support for IPv6. This template can be used for any M4350 switch model except model M4350-24G4XF.
  • ipv6-basic-plus. Template for an IPv6 environment with emphasis on IPv6 unicast and multicast routing and support for IPv4. This template can be used for any M4350 switch model except model M4350-24G4XF.
  • ipv4-advanced. Template for an IPv4 environment which uses mostly IPv4 addresses. Applicable to models M4350-16V4C, M4350-24X8F8V, M4350-36X4V, M4350-32F8V and M4350-40X4C.
  • ipv6-advanced. Template for an IPv6 environment which uses mostly IPv6 addresses. Applicable to models M4350-16V4C, M4350-24X8F8V, M4350-36X4V, M4350-32F8V and M4350-40X4C.
Note: After setting the template, you must reboot the switch in order for the configuration change to take effect.
Default IPv4-Basic
Format sdm prefer {ipv4-basic | ipv4-basic-plus | ipv4-advanced | ipv6-basic | ipv6-basic-plus | ipv6-advanced}
Mode Global Config

no sdm prefer

Use this command to revert to the default template after the next reboot.

Format no sdm prefer
Mode Global Config

show sdm prefer

M4350

Use this command to view the currently active SDM template and its scaling parameters, or to view the scaling parameters for an inactive template. When invoked with no optional keywords, this command lists the currently active template and the template that will become active on the next reboot, if it is different from the currently active template. If the system boots with a non-default template, and you clear the template configuration, either using no sdm prefer or by deleting the startup configuration, show sdm prefer lists the default template as the next active template. To list the scaling parameters of a specific template, use that template’s keyword as an argument to the command.

The keywords are as follows:

  • ipv4-basic. Template for an IPv4 environment with support for basic IPv6. This is the default template.
  • ipv6-basic. Template for an IPv6 environment with support for basic IPv4.
  • ipv4-basic-plus. Template for an IPv4 environment with emphasis on IPv4 unicast and multicast routing and support for IPv6. This template can be used for any M4350 switch model except model M4350-24G4XF.
  • ipv6-basic-plus. Template for an IPv6 environment with emphasis on IPv6 unicast and multicast routing and support for IPv4. This template can be used for any M4350 switch model except model M4350-24G4XF.
  • ipv4-advanced. Template for an IPv4 environment which uses mostly IPv4 addresses. Applicable to models M4350-16V4C, M4350-24X8F8V, M4350-36X4V, M4350-32F8V and M4350-40X4C.
  • ipv6-advanced. Template for an IPv6 environment which uses mostly IPv6 addresses. Applicable to models M4350-16V4C, M4350-24X8F8V, M4350-36X4V, M4350-32F8V and M4350-40X4C.
Format show sdm prefer [ipv4-basic | ipv4-basic-plus | ipv4-advanced | ipv6-basic | ipv6-basic-plus | ipv6-advanced]
Mode Privileged EXEC
Field Description
ARP Entries The maximum number of entries in the IPv4 Address Resolution Protocol (ARP) cache for routing interfaces.
IPv4 Unicast Routes The maximum number of IPv4 unicast forwarding table entries.
IPv6 NDP Entries The maximum number of IPv6 Neighbor Discovery Protocol (NDP) cache entries.
IPv6 Unicast Routes The maximum number of IPv6 unicast forwarding table entries.
ECMP Next Hops The maximum number of next hops that can be installed in the IPv4 and IPv6 unicast forwarding tables.

Command example:

The following example shows the SDM template when the next active SDM template is not changed:

CODE
(NETGEAR Switch)#show sdm prefer

The current configured template is 'IPv4-Basic'.

Template Summary:

Template Name    ARP        IPv4       IPv6       IPv6       ECMP       IPv4       IPv6       Maximum
                 Entries    Unicast    NDP        Unicast    Next       Multicast  Multicast  VLAN
                            Routes     Entries    Routes     Hops       Routes     Routes     Entries
---------------  ---------  ---------  ---------  ---------  ---------  ---------  ---------  ---------
IPv4-Basic       4096       894        512        126        16         512        128        4093
IPv6-Basic       512        126        4096       894        16         128        512        4093
IPv4-Advanced    12288      10240      2048       2048       16         2048       512        4093
IPv6-Advanced    2048       2048       12288      10240      16         512        2047       4093

The current template is the 'dual ipv4 and ipv6 data center generic' template.

ARP Entries.................................... 1536
IPv4 Unicast Routes............................ 512
IPv6 NDP Entries............................... 512
IPv6 Unicast Routes............................ 256
ECMP Next Hops................................. 4
IPv4 Multicast Routes.......................... 96
IPv6 Multicast Routes.......................... 32
Maximum VLAN Entries........................... 4093

Command example:

The following example shows the SDM template when the next active SDM template is configured:

CODE
(NETGEAR Switch) sdm prefer ipv6-advanced

The current configured template is 'IPv4-Basic'.

Template Summary:
Template Name    ARP        IPv4       IPv6       IPv6       ECMP       IPv4       IPv6       Maximum
                 Entries    Unicast    NDP        Unicast    Next       Multicast  Multicast  VLAN
                            Routes     Entries    Routes     Hops       Routes     Routes     Entries
---------------  ---------  ---------  ---------  ---------  ---------  ---------  ---------  ---------
IPv4-Basic       4096       894        512        126        16         512        128        4093
IPv6-Basic       512        126        4096       894        16         128        512        4093
IPv4-Advanced    12288      10240      2048       2048       16         2048       512        4093
IPv6-Advanced    2048       2048       12288      10240      16         512        2047       4093

On the next reload, the template will be the 'ipv6-advanced' template.