Command Line Reference Guide

test cam-usage
Verify that enough ACL CAM space is available for the IPv6 ACLs you have created.
S5000
Syntax
test cam-usage service-policy inputinput-policy—map name
Parameters
input policy-map
name
Enter the name of the policy-map to verify.
Defaults none
Command Modes EXEC Privilege
Command History
Version 9.0(1.3) Introduced on the S5000.
Usage
Information
This command applies to both IPv4 and IPv6 CAM Profiles, but is best used when verifying QoS
optimization for IPv6 ACLs.
QoS Optimization for IPv6 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.
The following describes output for the test cam-usage command shown in the Example
below.
Stack-unit Lists the stack-unit(s) that are checked. Entering all shows the
status for stack-units.
Portpipe Lists the portpipe (port-set) or port pipes (port-sets) that are checked.
Entering all shows the status for 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 requires.
Status Indicates whether or not the policy is allowed in the CAM
Example
FTOS#test cam-usage service-policy input pmap_12 stack-unit all
Stack-| Portpipe| CAM Partn| Avail CAM| Est CAM/Port| Status
unit
--------------------------------------------------------------
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#
FTOS#test cam-usage service-policy input pmap_12 stack-unit 4
port-set 0
Stack-| Portpipe| CAM Partn| Avail CAM| Est CAM/Port| Status
628