Command Reference Guide
Switch Database Management Template Commands
CLI Command Reference
September 2014 Page 250
HP Moonshot Switch Module CLI Command Reference
Switch Database Management Template Commands
A Switch Database Management (SDM) 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.
sdm prefer
Use this command to change the template that will be active after the next reboot. The keywords are as
follows:
• ipv4-routing—filters subsequent template choices to those that support IPv4. The default IPv4-only
template maximizes the number of IPv4 unicast routes, while limiting the number of ECMP next hops in
each route to 4. The data-center default template supports increases the number of ECMP next hops to 32
and reduces the number of routes. The data center plus template increases the number of ECMP next
hops to 32 while keeping the maximum IPv4 and IPv6 routes.
no sdm prefer
Use this command to revert to the default template after the next reboot.
Note: If you attach a unit to a stack and its template does not match the stack's template, then the
new unit will automatically reboot using the template used by other stack members. To avoid the
automatic reboot, you may first set the template to the template used by existing members of the
stack. Then power off the new unit, attach it to the stack, and power it on.
Note: After setting the template, you must reboot in order for the configuration change to take effect.
Default dual IPv4 and IPv6 template
Format
sdm prefer ipv4-routing default [plus]
Mode Global Config
Format
no sdm prefer
Mode Global Config