CCIE Pursuit Blog

January 29, 2009

Lab Tip: Finding SDM Capabilities Without Using The Documentation

Filed under: Cisco — cciepursuit @ 10:41 am

If you’ve ever come across a question in a practice lab that requires you to change the  Switch Database Management (SDM) resource allocation, then you’re probably pretty familiar with this page:

sdm prefer

Most often you’ll need to pop over and find the SDM profile that meets the requirements of the lab task.  However, if you want to skip the trip to the documentation, you can find the attributes of each profile from the CLI.

First off, check to see which SDM you are currently using and its attributes:

Rack13SW1#sh sdm prefer
The current template is “desktop default” template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

number of unicast mac addresses:                  6K
number of IPv4 IGMP groups + multicast routes:    1K
number of IPv4 unicast routes:                    8K
number of directly-connected IPv4 hosts:        6K
number of indirect IPv4 routes:                 2K
number of IPv4 policy based routing aces:         0
number of IPv4/MAC qos aces:                      512
number of IPv4/MAC security aces:                 1
K

Here’s the cool part –  you can see the attributes of all of the SDMs from the CLI:

Rack13SW1#sh sdm prefer ?
access              Access bias
default             Default bias
dual-ipv4-and-ipv6  Support both IPv4 and IPv6
routing             Unicast bias
vlan                VLAN bias

|                   Output modifiers
<cr>

Let’s check out the IPv4 SDMs:

Rack13SW1#sh sdm prefer routing
“desktop routing” template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

number of unicast mac addresses:                  3K
number of IPv4 IGMP groups + multicast routes:    1K
number of IPv4 unicast routes:                    11K
number of directly-connected IPv4 hosts:        3K
number of indirect IPv4 routes:                 8K
number of IPv4 policy based routing aces:         512
number of IPv4/MAC qos aces:                      512
number of IPv4/MAC security aces:                 1K

Rack13SW1#sh sdm prefer vlan
“desktop vlan” template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

number of unicast mac addresses:                  12K
number of IPv4 IGMP groups:                       1K
number of IPv4 multicast routes:                  0
number of unicast IPv4 routes:                    0
number of IPv4 policy based routing aces:         0
number of IPv4/MAC qos aces:                      512
number of IPv4/MAC security aces:                 1K

Rack13SW1#sh sdm prefer access
“desktop access IPv4” template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

number of unicast mac addresses:                  4K
number of IPv4 IGMP groups:                       1K
number of IPv4 multicast routes:                  0
number of IPv4 unicast routes:                    6K
number of directly-connected IPv4 hosts:        4K
number of indirect IPv4 routes:                 2K
number of IPv4 policy based routing aces:         512
number of IPv4/MAC qos aces:                      512
number of IPv4/MAC security aces:                 2K

Rack13SW1#sh sdm prefer default
“desktop default” template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

number of unicast mac addresses:                  6K
number of IPv4 IGMP groups + multicast routes:    1K
number of IPv4 unicast routes:                    8K
number of directly-connected IPv4 hosts:        6K
number of indirect IPv4 routes:                 2K
number of IPv4 policy based routing aces:         0
number of IPv4/MAC qos aces:                      512
number of IPv4/MAC security aces:                 1K

We can even check out the IPv6 SDMs:

Rack13SW1#sh sdm prefer dual-ipv4-and-ipv6 ?
default  Default bias
routing  Unicast bias
vlan     VLAN bias

Rack13SW1#sh sdm prefer dual-ipv4-and-ipv6 default
“desktop IPv4 and IPv6 default” template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

number of unicast mac addresses:                  2K
number of IPv4 IGMP groups + multicast routes:    1K
number of IPv4 unicast routes:                    3K
number of directly-connected IPv4 hosts:        2K
number of indirect IPv4 routes:                 1K
number of IPv6 multicast groups:                  1152
number of directly-connected IPv6 addresses:      2K
number of indirect IPv6 unicast routes:           1K
number of IPv4 policy based routing aces:         0
number of IPv4/MAC qos aces:                      512
number of IPv4/MAC security aces:                 1K
number of IPv6 policy based routing aces:         0
number of IPv6 qos aces:                          510
number of IPv6 security aces:                     510

Rack13SW1#sh sdm prefer dual-ipv4-and-ipv6 routing
“desktop IPv4 and IPv6 routing” template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

number of unicast mac addresses:                  1536
number of IPv4 IGMP groups + multicast routes:    1K
number of IPv4 unicast routes:                    2816
number of directly-connected IPv4 hosts:        1536
number of indirect IPv4 routes:                 1280
number of IPv6 multicast groups:                  1152
number of directly-connected IPv6 addresses:      1536
number of indirect IPv6 unicast routes:           1280
number of IPv4 policy based routing aces:         256
number of IPv4/MAC qos aces:                      512
number of IPv4/MAC security aces:                 512
number of IPv6 policy based routing aces:         255
number of IPv6 qos aces:                          510
number of IPv6 security aces:                     510

Rack13SW1#sh sdm prefer dual-ipv4-and-ipv6 vlan
“desktop IPv4 and IPv6 vlan” template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.

number of unicast mac addresses:                  8K
number of IPv4 IGMP groups:                       1K
number of IPv4 multicast routes:                  0
number of unicast IPv4 routes:                    0
number of IPv6 multicast groups:                  1152
number of directly-connected IPv6 addresses:      0
number of indirect IPv6 unicast routes:           0
number of IPv4 policy based routing aces:         0
number of IPv4/MAC qos aces:                      512
number of IPv4/MAC security aces:                 1K
number of IPv6 policy based routing aces:         0
number of IPv6 qos aces:                          510
number of IPv6 security aces:                     510

This should save you a trip to the documentation during your lab.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: