Reference Guide

test cam-usage
Check the Input Policy Map configuration for the CAM usage.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
test cam-usage service-policy input policy-map linecard
{[number port-set portpipe number] | [all]}
Parameters
policy-map
Enter the policy map name.
linecard
number
(OPTIONAL) Enter the keyword linecard followed by the line card
slot number.
port-set
portpipe
number
Enter the keywords port-set followed by the line card’s port pipe
number. The range is 0 or 1.
linecard all (OPTIONAL) Enter the keywords linecard all to indicate all line
cards.
Defaults none
Command Modes EXEC
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 7.6.1.0 Introduced on the C-Series and S-Series.
Version 7.4.1.0 Introduced on the E-Series.
Usage
Information
This features allows you to determine if the CAM has enough space available before applying
the configuration on an interface.
An input policy map with both Trust and Class-map configuration, the Class-map rules are
ignored and only the Trust rule is programmed in the CAM. In such an instance, the Estimated
CAM output column will contain the size of the CAM space required for the Trust rule and not
the Class-map rule.
The following describes the text cam-usage service-policy input policy-
map linecard
command shown in the Example below.
Field Description
Linecard Indicates the line card slot number.
Portpipe Indicates the portpipe number.
CAM Partition The CAM space where the rules are added.
Available CAM Indicates the free CAM space, in the partition, for the classification
rules.
1364