Command Line Reference Guide

test cam-usage
Verify that enough CAM space is available for the ingress IPv4 ACLs used in a QoS policy.
S5000
Syntax
test cam-usage service-policy input policy-map-name policy-map
name stack-unit [ unit-number | all ]}
Parameters
policy-map name
Enter the name of the policy-map to verify.
stack-unit
unit-
number
Enter the keyword stack-unit followed by a number. The range is
0 to 11.
stack-unit all Enter the keyword stack-unit followed by a all to get
information for all the stack-units.
Defaults none
Command Modes EXEC Privilege
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
This command applies to the IPv4 CAM region and is best used to verify QoS optimization for
IPv4 ACLs.
QoS Optimization for IPv4 ACLs does not impact the CAM usage for applying a policy on a
single (or the first of several) interfaces. It is most useful when a policy is applied across
multiple interfaces; it can reduce the impact to CAM usage across subsequent interfaces.
Usage
Information
The following describes output for the test cam-usage command shown in the Example
below.
Column Heading Explanation
Stack-Unit Lists specified stack unit(s) or all of them.
Portpipe Lists the portpipe (port-set) or port pipes (port-sets) that are checked.
Entering all shows the status for all stack-units and port-pipes in
the chassis.
CAM Partition Shows the CAM profile of the CAM.
Available CAM Identifies the amount of CAM space remaining for that profile.
Estimated CAM
per Port
Estimates the amount of CAM space the listed policy will require.
Status Indicates whether or not the policy will be allowed in the CAM.
Example
FTOS#test cam-usage service-policy input TestIn stack-unit all
Stack-Unit|Portpipe|CAM Partition|AvailableCAM|EstimatedCAM
per Port|Status
---------------------------------------------------------------
0| 0| IPv4Flow|
380