White Papers

Table Of Contents
EXEC Privilege mode
show cam-acl
4. Reload the system.
EXEC Privilege mode
reload
Re-Allocating CAM for Egress ACLs
The default CAM allocation settings for the three egress ACL and QoS regions on an S5000 switch include the following.
L2 ACL(l2acl): 1
L3 ACL (ipv4acl): 1
IPv6 L3 ACL (ipv6acl): 2
The total egress CAM ACL space must equal four memory blocks. The ranges of supported FP memory blocks are:
L2 ACL(l2acl): from 1 to 4
L3 ACL (ipv4acl): from 1 to 4
IPv6 L3 ACL (ipv6acl): from 0 to 4
You must allocate at least one block of memory to the L2ACL and IPv4 ACL regions.
You must save the new CAM settings to the startup-config (write-mem or copy run start) then reload the system for
the new settings to take effect.
To reconfigure the memory regions on the S5000 used for egress ACLs and QoS, follow these steps.
1. Enter the number of FP blocks for each egress ACL region. Separate each keyword and number with a blank space.
CONFIGURATION mode
cam-acl-egress l2acl number ipv4acl number ipv6acl number
The total CAM space allocated must equal four.
2. Verify the new settings that are written to CAM on the next reload.
EXEC Privilege mode
show cam-acl-egress
3. Reload the system.
EXEC Privilege mode
reload
Testing CAM Usage for QoS Policies
The test cam-usage command applies to the IPv4 ingress CAM partition.
To determine whether there is sufficient space in this CAM region for the ACLs created in QoS service-policies, use this
command.
You can create a class map with all required ACL rules and then enter the test cam-usage command in Privilege mode to
verify the actual CAM space required. The following example shows the command output. The status column indicates whether
you can enable the policy.
Example of the test cam-usage Command
Dell# test cam-usage service-policy input TestPolicy stack-unit all
Stack_Unit| Portpipe| CAM Partition| Available CAM| Estimated CAM per Port| Status
---------------------------------------------------------------------------------
2| 1| IPv4Flow| 232| 0| Allowed
4| 0| IPv4Flow| 232| 0| Allowed
220
Content Addressable Memory (CAM)