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.
Use the optional keywords to list the scaling parameters of a specific template.
Format | show sdm prefer [dual-ipv4-and-ipv6 {default | data-center | alpm | alpm-mpls-data-center} | ipv4-routing {default | data-center {default | plus}} ] |
Mode | Privileged EXEC |
Syntax | Description |
---|---|
dual-ipv4-and-ipv6 default | (Optional) List the scaling parameters for the template supporting IPv4 and IPv6. |
dual-ipv4-and-ipv6 data-center | (Optional) List the scaling parameters for the Dual IPv4 and IPv6 template supporting more ECMP next hops. |
dual-ipv4-and-ipv6 alpm | (Optional) Lists the scaling parameters for the alpm template. |
dual-ipv4-and-ipv6 alpm-mpls-data-center | (Optional) Lists the scaling parameters for the alpm-mpls-data- center template. |
ipv4-routing default | (Optional) List the scaling parameters for the IPv4-only template maximizing the number of unicast routes. |
ipv4-routing data-center default | (Optional) List the scaling parameters for the IPv4-only template supporting more ECMP next hops. |
ipv4-routing data-center plus | (Optional) List the scaling parameters for the IPv4-only template maximizing the number of unicast routes and also supporting more ECMP next hops. |
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. |
Example: This example shows the current SDM template. The user has not changed the next active SDM template.
(router)#show sdm prefer The current template is the Dual IPv4 and IPv6 template. ARP Entries.................................... 4096 IPv4 Unicast Routes............................ 8160 IPv6 NDP Entries............................... 1024 IPv6 Unicast Routes............................ 4096 ECMP Next Hops................................. 4
Now the user sets the next active SDM template.
(router) # configure (router) (Config) # sdm prefer ipv4-only data-center Changes to the running SDM preferences have been stored, but cannot take effect until the next reload. Use 'show sdm prefer' to see what SDM preference is currently active. (router) # show sdm prefer The current template is the dual IPv4 and IPv6 template. ARP Entries..................................4096 IPv4 Unicast Routes..........................8160 IPv6 NDP Entries.............................1024 IPv6 Unicast Routes..........................4096 ECMP Next Hops...............................4
On the next reload, the template will be the IPv4 data center template.
To list the scaling parameters for the data center template, invoke the command with the ipv4-only data-center keywords.
(router) # show sdm prefer ipv4-only data-center Scaling parameters for the IPv4 data center template: ARP Entries..................................4096 IPv4 Unicast Routes..........................8160 IPv6 NDP Entries.............................0 IPv6 Unicast Routes..........................0 ECMP Next Hops...............................32