show qos cosq-stats cpu-port

Display the Quality of Service (QoS) egress queues statistics for the CPU port to display the statistics of the forwarded packets and bytes, and the dropped packets and bytes, for the traffic sent toward the CP. The queue assignment is based on the protocol types, not on the internal COS value. These statistics are useful for debugging purposes.

Syntax

Default

None

Command Mode

User EXEC

Usage Guidelines

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.

Command Output

The show qos cosq-stats cpu-port 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.

Protocol

Note:

Exception: only supported on VSP 8600 Series.

Indicates the type of protocol.

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.

Priority

Note:

Exception: only supported on VSP 8600 Series.

Indicates the priority of the queue for the packet going to CP.

Shape Rate (kbps)

Note:

Exception: only supported on VSP 8600 Series.

Indicates the maximum throughput in kbps to CP when a burst occurs . Packets exceeding this limit will be dropped.

Examples

The following examples display output for the show qos cosq-stats cpu-port command.

Note

Note

Protocols displayed vary across hardware models..

Switch:1>show qos cosq-stats cpu-port
==========================================================================================
                       QOS CoS Queue Cpu Port Stats Table
==========================================================================================
CoS   Out Packets          Out Bytes            Drop Packets         Drop Bytes
------------------------------------------------------------------------------------------
0     3670                 254978               0                    0
1     41839                2886814              0                    0
2     0                    0                    0                    0
3     765                  52020                0                    0
4     130                  14552                0                    0
5     0                    0                    0                    0
6     14418                2766226              0                    0
7     20727                1876222              0                    0
8     15941                2074921              0                    0
9     1246091              84734188             17168                1133080
10    32314                5483005              0                    0
11    396323               26949964             4990                 319376
12    195649               16583033             0                    0
13    426754               53924425             0                    0
14    0                    0                    0                    0
15    0                    0                    0                    0
Switch:1>show qos cosq-stats cpu-port
==================================================================================================================================
                                                QOS CoS Queue Cpu Port Stats Table
==================================================================================================================================
Protocol             Accepted Packets     Accepted Bytes       Drop Packets     Drop Bytes       Priority         Shape Rate(kbps)
vrrp                 0                    0                    0                0                7                5628
vlacp                0                    0                    0                0                7                2345
lacp                 0                    0                    0                0                7                4690
cfm                  16                   1024                 0                0                7                9380
vrrp_v6              0                    0                    0                0                7                5628
ist_ctl              0                    0                    0                0                6                9380
radius               0                    0                    0                0                6                2345
ntp                  0                    0                    0                0                6                938
icmpv4               2                    212                  0                0                6                938
slpp                 0                    0                    0                0                6                4690
bpdu                 0                    0                    0                0                6                2345
tdp                  78                   4992                 0                0                6                938
eap                  0                    0                    0                0                6                2345
lldp                 16                   2800                 0                0                6                938
nd_mc_v6             0                    0                    0                0                6                9380
nd_uc_v6             0                    0                    0                0                6                2345
frag_uc_v6           0                    0                    0                0                6                2345
isis                 887                  558782               0                0                5                9380
ospf_mc              0                    0                    0                0                5                11725