Reference Guide

820 | Quality of Service
www.dell.com | support.dell.com
Test the policy-map size against the CAM space for a specific port-pipe or all port-pipes using these
commands:
test cam-usage service-policy input policy-map {linecard | stack-unit } number port-set number
test cam-usage service-policy input policy-map {linecard | stack-unit } all
The output of this command, shown in the example below, displays:
the estimated number of CAM entries the policy-map will consume
whether or not the policy-map can be applied
the number of interfaces in a port-pipe to which the policy-map can be applied
Specifically:
Available CAM is the available number of CAM entries in the specified CAM partition for the
specified line card or stack-unit port-pipe.
Estimated CAM is the estimated number of CAM entries that the policy will consume when it is
applied to an interface.
Status indicates whether or not the specified policy-map can be completely applied to an interface in
the port-pipe.
Allowed indicates that the policy-map can be applied because the estimated number of CAM
entries is less or equal to the available number of CAM entries. The number of interfaces in the
port-pipe to which the policy-map can be applied is given in parenthesis.
Exception indicates that the number of CAM entries required to write the policy-map to the CAM
is greater than the number of available CAM entries, and therefore the policy-map cannot be
applied to an interface in the specified port-pipe.
FTOS# test cam-usage service-policy input pmap_l2 linecard 0 port-set 0
Linecard | Port-pipe | CAM Partition | Available CAM | Estimated CAM | Status
===============================================================================
00 L2ACL 500 200 Allowed(2)
Viewing QoS CAM Entries
Viewing QoS CAM Entries is supported only on platform e
View Layer 2 QoS CAM entries using the command show cam layer3-qos from EXEC Privilege
mode.
View Layer 3 QoS CAM entries using the command
show cam layer2-qos from EXEC Privilege
mode.
Note: The command show cam-usage provides much of the same information as test cam-usage, but
whether or not a policy-map can be successfully applied to an interface cannot be determined without first
measuring how many CAM entries the policy-map would consume; the command test cam-usage is
useful because it provides this measurement.