RE: show <max # of entries possible in CAM>

From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Mon Mar 06 2006 - 23:20:29 GMT-3


Are you sure that the maximum number of entries is not user
configurable?

Below shows the maximum number of unicast mac addresses being changed on
a 3550.

Rack1SW1#sho mac address-table count

Mac Entries for Vlan 17:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 22:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 1:
---------------------------
Dynamic Address Count : 2
Static Address Count : 0
Total Mac Addresses : 2

Mac Entries for Vlan 5:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 12:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 34:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 36:
---------------------------
Dynamic Address Count : 1
Static Address Count : 0
Total Mac Addresses : 1

Mac Entries for Vlan 473:
---------------------------
Dynamic Address Count : 1
Static Address Count : 0
Total Mac Addresses : 1

Total Mac Address Space Available: 5084

Rack1SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Rack1SW1(config)#sdm prefer ?
  access multicast and qos/acl bias, drop unicast
  extended-match Using extended match for unicast routing
  routing unicast bias, drop qos/acl
  vlan vlan bias, drop routing
  <cr>

Rack1SW1(config)#sdm prefer vlan
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.

NOTE: Use caution with 'sdm prefer vlan', as any current Layer3
configuration data
will not be saved after a reload.
Rack1SW1(config)#^Z
Rack1SW1#reload
00:04:53: %SYS-5-RELOAD: Reload requested by console. Reload Reason:
Reload Command.

After Reload:

Rack1SW1#sho mac-address-table count

Mac Entries for Vlan 17:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 22:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 1:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 5:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 12:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 34:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 36:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Mac Entries for Vlan 473:
---------------------------
Dynamic Address Count : 0
Static Address Count : 0
Total Mac Addresses : 0

Total Mac Address Space Available: 8192

Rack1SW1#
Rack1SW1#sho sdm prefer
 The current template is the vlan template.
 The selected template optimizes the resources in
 the switch to support this level of features for
 8 routed interfaces and 1K VLANs.

 number of unicast mac addresses: 8K
 number of igmp groups: 1K
 number of qos aces: 1K
 number of security aces: 1K
 number of unicast routes: 0
 number of multicast routes: 0
 
Rack1SW1#

From CCO:

Optimizing System Resources for User-Selected Features

By using Switch Database Management (SDM) templates, you can configure
memory resources in the switch to optimize support for specific
features, depending on how the switch is used in your network. You can
select one of four templates to specify how system resources are
allocated. You can then approximate the maximum number of unicast MAC
addresses, Internet Group Management Protocol (IGMP) groups, quality of
service (QoS) access control entries (ACEs), security ACEs, unicast
routes, multicast routes, subnet VLANs (routed interfaces), and Layer 2
VLANs that can be configured on the switch.

http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/12225sec/3550s
cg/swadmin.htm#wp1235565

HTH,

Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
 
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
 

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Alex Rodriguez
Sent: Monday, March 06, 2006 5:47 PM
To: Tim
Cc: ccielab@groupstudy.com
Subject: Re: show <max # of entries possible in CAM>

show mac-address-table count

It is hw specific and not based on how much DRAM u have.

It is not user changable

HTH
Balaji

On 3/6/06, Tim <ccie2be@nyc.rr.com> wrote:
>
> Hi guys,
>
>
>
> Is there a show command that will show the maximum # of entries
possible
> in
> a CAM table that works for all (or most) cat switches?
>
>
>
> Does the size of the CAM depend on how much RAM there is in the
switch?
>
>
>
> And, finally, is this size fixed or user settable? If settable, what
> command can be used to set the CAM size?
>
>
>
> TIA, Tim
>
>



This archive was generated by hypermail 2.1.4 : Sat Apr 01 2006 - 10:07:38 GMT-3