Setup Guide

To determine whether sucient ACL CAM space is available to enable a service-policy, use this command. To verify the actual CAM space
required, create a class map with all the required ACL rules, then run the test cam-usage command in EXEC and EXEC Privilege mode.
The following example shows the output when running this command. The status column indicates whether you can enable the policy.
test cam-usage service-policy input policy-map-input-name {{linecard line-card-number port-set port-set}
| {linecard all [port-set port-set]} | { pe pe-id stack-unit stack-unit-number port-set port-
set}}
Parameters
line card — Enter the linecard keyword and one of the following options:
linecard number (from 0 to 11) and then the port-set keyword and number.
All to specify all line card numbers and then the port-set keyword and number.
stack-unit stack-unit-number — Enter the keyword stack-unit and then the stack unit number. The range is 0–7.
pe pe–id — Enter the keyword pe and then the port-extender ID. The range is from 0 to 255
port–set port–set — Enter the port-set keyword and then a port pipe/number. This is optional parameter with the
linecard all option.
policy-input map policy-map-input-name — Enter the input policy map name (maximum of 32 characters).
Example of the test cam-usage Command
DELL#test cam-usage service-policy input L3 linecard 0 port-set 0
Linecard|Portpipe|CAM Partition|Available CAM|Estimated CAM per Port|Status
---------------------------------------------------------------------------
0 | 0 |L3QOS | 488 | 0 Allowed
DELL#test cam-usage service-policy input L3 pe-unit 0 stack-unit 0 port-set 0
PE Unit|Stack-unit|Portpipe|CAM Partition|Available CAM|Estimated CAM per Port|Status
-------------------------------------------------------------------------------------
0 | 0 | 0 | L3QOS | 488 0 | Allowed
User-Congurable CAM Allocation
User-congurable content-addressable memory (CAM) allows you to specify the amount of memory space that you want to allocate for
ACLs.
To allocate ACL CAM, use the cam-acl command in CONFIGURATION mode. For information about how to allocate CAM for ACL
VLANs, see Allocating ACL VLAN CAM.
The CAM space is allotted in lter processor (FP) blocks. The total amount of space allowed is 12 FP Blocks. System ow requires four
blocks; these blocks cannot be reallocated.
The ipv4acl prole range is from 0 to 8. When conguring space foripv6acl, the total number of Blocks must equal 12. The ipv6acl
allocation must be a factor of 2 (2, 4). If allocation values are not entered for the CAM regions, the value is 0.
Save the new CAM settings to the startup-cong (use write-mem or copy run start) then reload the system for the new settings
to take eect.
Allocating CAM for Ingress ACLs on the Port Extender
To allocate Content Addressable Memory (CAM) for ingress ACLs on the port extenders.
You can re-allocate memory space for ACLs on the port extender by using the cam-acl-pe l2acl command in CONFIGURATION
mode. CAM space is allotted in FP blocks. The total allocated CAM space must equal 12 FP blocks. Note that there are 16 FP blocks, but
the System Flow requires 4 blocks that cannot be reallocated.
118
Access Control Lists (ACLs)