Display the Quality of Service (QoS) egress queues statistics. The show output displays either unicast packet stats for each port, or all stats, based on your hardware platform.
show qos cosq-stats
show qos cosq-stats interface {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
show qos cosq-stats loopback-port <1-2>
None
The show command output varies based on your hardware platform. On all supported platforms except the VSP 8600 Series, the show command output displays Out Packets and Out Bytes per interface, which shows the number of unicast packets sent out on each queue for an egress port. VSP 8600 Series uses VoQ queuing architecture, which enables to read the Accepted Packets and Accepted Bytes on each queue. The Accepted Packets and Accepted Bytes show the number of packets and bytes that enter the VoQ for a particular queue on the egress port. The Drop Packets and Drop Bytes show the number of packets and bytes that are dropped when the VoQ is full.
The show qos cosq-stats command displays the following information:
Output field |
Description |
---|---|
Cos Note:
Exception: only supported on VSP 4450 Series, VSP 4900 Series, VSP 7200 Series, VSP 7400 Series, VSP 8200 Series VSP 8400 Series, and XA1400 Series |
Indicates the CoS queue number. |
Out Packets Note:
Exception: only supported on VSP 4450 Series, VSP 4900 Series, VSP 7200 Series, VSP 7400 Series, VSP 8200 Series VSP 8400 Series, and XA1400 Series |
Indicates the out packets for the CoS queue. |
Out Bytes Note:
Exception: only supported on VSP 4450 Series, VSP 4900 Series, VSP 7200 Series, VSP 7400 Series, VSP 8200 Series VSP 8400 Series, and XA1400 Series |
Indicates the out bytes for the CoS queue. |
Accepted Packets Note:
Exception: only supported on VSP 8600 Series. |
Indicates the accepted packets for the Cos queue. |
Accepted Bytes Note:
Exception: only supported on VSP 8600 Series. |
Indicates the accepted bytes for the Cos queue. |
Drop Packets |
Indicates the drop packets for the CoS queue. |
Drop Bytes |
Indicates the drop bytes for the CoS queue. |
User EXEC
The following example displays all stats.
Switch:1#show qos cosq-stats interface 1/42 ================================================================================ Port:1/42 QOS CoS Queue Stats ================================================================================ CoS Out Packets Out Bytes Drop Packets Drop Bytes -------------------------------------------------------------------------------- 0 0 0 0 0 1 0 0 0 0 2 0 0 0 0 3 0 0 0 0 4 0 0 0 0 5 0 0 0 0 6 0 0 0 0 7 0 0 0 0 Switch:1#
The following example displays unicast packet stats for each port.
Switch:1#show qos cosq-stats interface ================================================================================ QOS Cos Queue Stats Table ================================================================================ Port:1/1 QOS Known Unicast CoS Queue Stats ================================================================================ CoS Accepted Packets Accepted Bytes Drop Packets Drop Bytes -------------------------------------------------------------------------------- 0 0 0 0 0 1 0 0 0 0 2 0 0 0 0 3 0 0 0 0 4 0 0 0 0 5 0 0 0 0 6 0 0 0 0 7 0 0 0 0 ================================================================================ Port:1/2 QOS Known Unicast CoS Queue Stats ================================================================================ CoS Accepted Packets Accepted Bytes Drop Packets Drop Bytes 0 0 0 0 0 1 0 0 0 0 2 0 0 0 0 3 0 0 0 0 4 0 0 0 0 5 0 0 0 0 6 0 0 0 0 7 0 0 0 0 ================================================================================ Port:1/3 QOS Known Unicast CoS Queue Stats ================================================================================ CoS Accepted Packets Accepted Bytes Drop Packets Drop Bytes 0 0 0 0 0 1 1622 124894 0 0 2 0 0 0 0 3 0 0 0 0 4 0 0 0 0 5 0 0 0 0 6 0 0 0 0 7 331 46671 0 0 ================================================================================