Reference Guide

Content Addressable Memory (CAM) | 263
Test CAM Usage
The test cam-usage command is supported on platforms c e s z
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.
FTOS#show cam-profile
-- Chassis CAM Profile --
CamSize : 18-Meg
: Current Settings : Next Boot
Profile Name : Default : Default
L2FIB : 32K entries : 32K entries
L2ACL : 1K entries : 1K entries
IPv4FIB : 256K entries : 256K entries
IPv4ACL : 12K entries : 12K entries
IPv4Flow : 24K entries : 24K entries
EgL2ACL : 1K entries : 1K entries
EgIPv4ACL : 1K entries : 1K entries
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
Step Task Command Syntax Command Mode