White Papers

Table Of Contents
test cam-usage
Checks the Input Policy Map configuration for the CAM usage.
Syntax
test cam-usage service-policy input policy-map stack-unit {[number | [all]}
Parameters
policy-map
Enter the policy map name.
stack-unit
number
(OPTIONAL) Enter the keywords stack-unit then the stack-unit number.
stack-unit all (OPTIONAL) Enter the keywords stack-unit all all to indicate all the stack-
units.
Defaults none
Command Modes EXEC
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
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
stack-unit 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.
NOTE: The CAM entries reserved for the default rules are not included in the
Available CAM column; free entries, from the default rules space, cannot be
used as a policy map for the classification rules.
Estimated CAM
per Port
Indicates the number of free CAM entries required (for the classification rules) to
apply the input policy map on a single interface.
NOTE: The CAM entries for the default rule are not included in this column;
a CAM entry for the default rule is always dedicated to a port and is always
available for that interface.
Status (Allowed
ports)
Indicates if the input policy map configuration on an interface belonging to a
linecard/port-pipe is successful Allowed (n) or not successful Exception.
The allowed number (n) indicates the number of ports in that port-pipe on which
the Policy Map can be applied successfully.
NOTE: In a Layer 2 Policy Map, IPv4/IPv6 rules are not allowed; therefore, the output contains only
L2ACL CAM partition entries.
Example
Dell# test cam-usage service-policy input pmap_l2 stack-unit all
For a L2 Input Policy Map pmap_l2, the output must be as follows,
Quality of Service (QoS) 965