show interface counters queue-stats
Use this command to display transmitted and dropped packet and byte counts of individual queues.
In Qumran devices, all packets dropped in a queue are counted (even policer drops).
Command Syntax
show interface (IFNAME|) counters queue-stats
show interface cpu counters queue-stats
Parameters
IFNAME
Interface name.
cpu
CPU interface.
Default
None
Command Mode
Execution mode and Privileged execution mode
Applicability
This command was introduced before OcNOS version 1.3.
Default traffic counters are not supported on Qumran AX.
Example
#show interface counters queue-stats
D - Default Queue, U - User-defined Queue
+--------+----------------+------+-----------+------------+------------+---------------+
|Interface|Queue/Class-map|Q-Size|Output pkts|Output bytes|Dropped pkts|Dropped bytes |
+--------+----------------+------+-----------+------------+------------+---------------+
xe1/1 q1 (D) 0 12 1368 0 0
xe1/1 mc-q7 (D) 0 1 82 0 0
xe25 q1 (D) 0 6 684 0 0
#show interface xe1/1 counters queue-stats
D - Default Queue, U - User-defined Queue
+---------------+------+-------+- -------+------------+--------------+
|Queue/Class-map|Q-Size|Tx pkts| Tx bytes |Dropped pkts|Dropped bytes |
+---------------+------+-------+----------+------------+--------------+
q0 (D) 0 0 0 0 0
q1 (D) 0 12 1368 0 0
q2 (D) 0 0 0 0 0
q3 (D) 0 0 0 0 0
q4 (D) 0 0 0 0 0
q5 (D) 0 0 0 0 0
q6 (D) 0 0 0 0 0
q7 (D) 0 0 0 0 0
mc-q0 (D) 0 0 0 0 0
mc-q1 (D) 0 0 0 0 0
mc-q2 (D) 0 0 0 0 0
mc-q3 (D) 0 0 0 0 0
mc-q4 (D) 0 0 0 0 0
mc-q5 (D) 0 0 0 0 0
mc-q6 (D) 0 0 0 0 0
mc-q7 (D) 0 1 82 0 0
#show interface cpu counters queue-stats
E - Egress, I - Ingress, Q-Size is in bytes
+--------------------+--------+-----------------+-------------------+-----------------+-------------------+
| Queue/Class-map | Q-Size | Tx pkts | Tx bytes | Dropped pkts | Dropped bytes |
+--------------------+--------+-----------------+-------------------+-----------------+-------------------+
igmp (E) 800592 14519 987292 1304163 88683084
arp (E) 1250496 1008785 68597380 0 0
Here is the explanation of the show command output fields.
Flag |
Meaning |
D |
Default queue of the port. |
U |
User defined queue of the port. |
E |
Outgoing hello packet’s queue in the port. |
I |
Incoming hello packet’s queue in the port. |
Q |
Hello packet’s queue size in bytes. |
Here is the explanation of the show command output fields.
Field |
Description |
Interface |
A defined physical interface to which the queue is associated. |
Queue/Class-map |
Queues associated with a QoS class-map. |
Q-Size |
The size of a specified queue in bytes. |
Output pkts |
The number of out bound packets residing in the queues. |
Output Bytes |
The number of bytes in the outbound queue. |
Dropped pkts |
The number of packets dropped because of queue overflow. |
Dropped bytes |
The number of bytes dropped because of queue overflow. |
Tx pkts |
The number of transmit packets contained in the out bound queue. |
Tx bytes |
The number of transmit bytes contained in the out bound queue. |