Reference Guide

test cam-usage
Check the Input Policy Map configuration for the CAM usage.
S4820T
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 then the line card slot
number.
port-set
portpipe
number
Enter the keywords port-set then the line card’s port pipe number.
The range is from 0 or 1.
linecard all (OPTIONAL) Enter the keywords linecard all to indicate all line
cards.
Defaults none
Command Modes EXEC
Command History
This guide is platform-specific. For command information about other platforms, refer to the
relevant
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 8.3.19.0 Introduced on the S4820T.
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 feature 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 contains 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 following example.
Field Description
Linecard Indicates the line card slot number.
Portpipe Indicates the portpipe number.
CAM Partition The CAM space where the rules are added.
1130