Reference Guide

Content Addressable Memory (CAM) | 265
Re-allocating CAM for Egress ACLs
The default CAM allocation settings for the three egress ACL and QoS regions on an S5000 switch are:
L2 ACL(l2acl): 1
L3 ACL (ipv4acl): 1
IPv6 L3 ACL (ipv6acl): 2
The total egress CAM ACL space must equal 4 memory blocks. The ranges of supported FP memory
blocks are:
L2 ACL(l2acl): 1 to 4.
L3 ACL (ipv4acl): 1 to 4
IPv6 L3 ACL (ipv6acl): 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:
Testing CAM Usage for QoS Policies
The test cam-usage command applies to the IPv4 ingress CAM partition. Use this command to determine
whether there is sufficient space in this CAM region for the ACLs created in QoS service-policies.
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 an example of the
command output. The status column indicates whether or not the policy can be enabled.
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
Step Task Command Syntax Command Mode
1
Enter the number of FP blocks for each
egress ACL region. Separate each keyword
and number with a blank space. The total
CAM space allocated must equal 4.
cam-acl-egress l2acl number
ipv4acl number ipv6acl number
CONFIGURATION
2 Verify the new settings that will be written
to CAM on the next reload.
show cam-acl-egress
EXEC Privilege
3 Reload the system.
reload
EXEC Privilege