Dell Command Line Reference Guide for the S4048–ON System 9.14.2.5

PDF

test cam-usage

Check the Input Policy Map configuration for the CAM usage.

S4048–ON

Syntax
test cam-usage service-policy input policy-map stack-unit {[number port-set portpipe number] | [all]}
Parameters
policy-map
Enter the policy map name.
stack-unitnumber
(OPTIONAL) Enter the keyword stack-unit then the stack-unit slot number.
port-set portpipe number
Enter the keywords port-set then the stack-unit port pipe number. The range is from 0 or 1.
stack-unit all
(OPTIONAL) Enter the keywords stack-unit all to indicate all stack-unit.
Defaults
none
Command Modes
EXEC
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100-ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100-ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON.
9.0.2.0
Introduced on the S6000.
8.3.19.0
Introduced on the S4820T.
8.3.11.1
Introduced on the Z9000.
8.3.7.0
Introduced on the S4810.
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 test cam-usage service-policy input policy-map stack-unit command shown in the following example.
Field
Description
stack-unit
Indicates the stack-unit 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 stack-unit/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
DellEMC# 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,

stack-unit|Portpipe|CAM Partition|Available CAM|Estimated CAM per Port |Status
          |        |             |             |per Port               |(Allowed ports)
0           0          L2ACL       500          200            			  Allowed (2)
0           1          L2ACL       100          200                     Exception
1           0          L2ACL       1000         200                     Allowed (5)
1           1          L2ACL       0            200                      Exception
                       …
                       …
                       …
13          1          L2ACL        400         200            Allowed (2)
DellEMC#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\