Content Addressable Memory (CAM) | 281
To configure the IPv4 and IPv6 ACLs and Qos regions on the entire system:
Test CAM Usage
The test cam-usage command is supported on platforms c e s
This command applies to both IPv4 and IPv6 CAM profiles, but is best used when verifying QoS
optimization for IPv6 ACLs.
Use this command to determine whether sufficient ACL CAM space is available to enable a service-policy.
Create a Class Map with all required ACL rules, then execute the
test cam-usage command in Privilege
mode to verify the actual CAM space required. The following example gives a sample of the output shown
when executing the command. The status column indicates whether or not the policy can be enabled.
FTOS#test cam-usage service-policy input TestPolicy linecard all
Linecard | Portpipe | CAM Partition | Available CAM | Estimated CAM per Port | Status
------------------------------------------------------------------------------------------
2 | 1 | IPv4Flow | 232 | 0 | Allowed
2 | 1 | IPv6Flow | 0 | 0 | Allowed
4 | 0 | IPv4Flow | 232 | 0 | Allowed
4 | 0 | IPv6Flow | 0 | 0 | Allowed
FTOS#
View CAM Profiles
View the current CAM profile for the chassis and each component using the command show cam-profile, as
shown in the following example. This command also shows the profile that will be loaded upon the next
chassis or component reload.
Step Task Command Syntax Command Mode
1
Select a cam-acl action
cam-acl [default | l2acl]
CONFIGURATION
Note: Selecting default resets the CAM entries to the default settings. Select l2acl to allocate space for
the ACLs, and QoS regions.
2 Enter the number of FP blocks for each
region.
Note: If allocation values are not
entered for the CAM regions, the value
is 0.
l2acl number ipv4acl number ipv6acl
number, ipv4qos number l2qos
number, l2pt number ipmacacl number
ecfmacl number [vman-qos |
vman-dual-qos number
EXEC Privilege
3 Verify that the new settings will be written
to the CAM on the next boot.
show cam-acl
EXEC Privilege
4 Reload the system.
reload
EXEC Privilege