API Guide

Table Of Contents
Displaying egressqueue Statistics
To display the number of transmitted and dropped packets and their rate on the egress queues of an interface, use the following
command:
Display the number of packets and number of bytes on the egress-queue profile.
EXEC Privilege mode
show qos statistics egress-queue
DellEMC#show qos statistics egress-queue gigabitethernet 1/10
Interface Gi 1/10
Unicast/Multicast Egress Queue Statistics
Queue# Q# Type TxPkts TxPkts/s TxBytes TxBytes/s DroppedPkts DroppedPkts/s DroppedBytes DroppedBytes/s
-------------------------------------------------------------------------------------------------------------------------
0 UCAST 2005191759 6102 1503896312254 4519906 0 0 0 0
1 UCAST 0 0 0 0 0 0 0 0
2 UCAST 0 0 0 0 0 0 0 0
3 UCAST 0 0 0 0 0 0 0 0
4 UCAST 0 0 0 0 0 0 0 0
5 UCAST 0 0 0 0 0 0 0 0
6 UCAST 0 0 0 0 0 0 0 0
7 UCAST 322323 0 40697472 97 0 0 0 0
8 MCAST 0 0 0 0 0 0 0 0
9 MCAST 0 0 0 0 0 0 0 0
10 MCAST 0 0 0 0 0 0 0 0
11 MCAST 0 0 0 0 0 0 0 0
12 MCAST 0 0 0 0 0 0 0 0
DellEMC#
Pre-Calculating Available QoS CAM Space
Before Dell EMC Networking OS version 7.3.1, there was no way to measure the number of CAM entries a policy-map would
consume (the number of CAM entries that a rule uses is not predictable; from 1 to 16 entries might be used per rule depending
upon its complexity). Therefore, it was possible to apply to an interface a policy-map that requires more entries than are
available. In this case, the system writes as many entries as possible, and then generates an CAM-full error message (shown in
the following example). The partial policy-map configuration might cause unintentional system behavior.
%EX2YD:12 %DIFFSERV-2-DSA_QOS_CAM_INSTALL_FAILED: Not enough space in L3
Cam(PolicyQos) for class 2 (TeGi 12/20) entries on portpipe 1
The test cam-usage command allows you to verify that there are enough available CAM entries before applying a policy-map
to an interface so that you avoid exceeding the QoS CAM space and partial configurations. This command measures the size of
the specified policy-map and compares it to the available CAM space in a partition for a specified port-pipe.
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 {stack-unit } number port-set number
test cam-usage service-policy input policy-map {stack-unit } all
The output of this command, shown in the following example, 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 the available number of CAM entries in the specified CAM partition for the specified line card or
stack-unit port-pipe.
Estimated CAM the estimated number of CAM entries that the policy will consume when it is applied to an interface.
Status indicates whether 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 parentheses.
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.
NOTE:
The show cam-usage command provides much of the same information as the test cam-usage command,
but whether a policy-map can be successfully applied to an interface cannot be determined without first measuring how
Quality of Service (QoS) 645