CPU Queue Statistics

Use the show qos cosq-stats cpu-port command 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.

The syntax for this command is as follows:

show qos cosq-stats cpu-port

Note

Note

The first column of the show output can display either protocol type or show queue number depending on your hardware platform.

The following example shows output from the show qos cosq-stats cpu-port command.

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     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     414                  35714                0                    0                   
7     0                    0                    0                    0                   
8     561                  41738                0                    0                   
9     28740                1969460              0                    0                   
10    12005                2006662              0                    0                   
11    0                    0                    0                    0                   
12    0                    0                    0                    0                   
13    0                    0                    0                    0                   
14    7280                 495040               0                    0                   
15    0                    0                    0                    0                   
The following example shows output where the first column displays the protocol type.
Note

Note

Command output can vary across hardware models.

Switch:1#show qos cosq-stats cpu-port

==========================================================================================
                       QOS CoS Queue Cpu Port Stats Table

==========================================================================================
Protocol             Accepted Packets     Accepted Bytes       Drop Packets         Drop Bytes
vrrp                 0                    0                    0                    0
vlacp                0                    0                    0                    0
lacp                 0                    0                    0                    0
cfm                  0                    0                    0                    0
vrrp_v6              0                    0                    0                    0
ist_ctl              0                    0                    0                    0
radius               0                    0                    0                    0
ntp                  0                    0                    0                    0
icmpv4               0                    0                    0                    0
slpp                 0                    0                    0                    0
bpdu                 0                    0                    0                    0
tdp                  39996                2559744              0                    0
eap                  0                    0                    0                    0
lldp                 8066                 1233184              0                    0
nd_mc_v6             0                    0                    0                    0
nd_uc_v6             0                    0                    0                    0
rlogin               0                    0                    0                    0
frag_uc_v6           0                    0                    0                    0
isis                 0                    0                    0                    0
ospf_mc              8401                 783178               0                    0
dhcp                 0                    0                    0                    0
pim_mc               0                    0                    0                    0
arp_request          3                    204                  0                    0
arp_reply            0                    0                    0                    0
rarp_request         0                    0                    0                    0
rarp_reply           0                    0                    0                    0
icmpv4_bc            0                    0                    0                    0
ospfv6_mc            0                    0                    0                    0
ftp                  0                    0                    0                    0
tftp                 0                    0                    0                    0
snmp                 0                    0                    0                    0
telnet               0                    0                    0                    0
ssh                  0                    0                    0                    0
rsh                  0                    0                    0                    0
http                 0                    0                    0                    0
dns                  0                    0                    0                    0
icmp_mc_v6           0                    0                    0                    0
icmp_uc_v6           0                    0                    0                    0
ipmc_data            0                    0                    0                    0
bgp                  0                    0                    0                    0
igmp                 0                    0                    0                    0
mld                  0                    0                    0                    0
pim_uc               0                    0                    0                    0
ospf_uc              0                    0                    0                    0
ospf_v6_uc           0                    0                    0                    0
hop_by_hop           0                    0                    0                    0
rip_v1               0                    0                    0                    0
rip_v2               0                    0                    0                    0
rip_v6               0                    0                    0                    0
mac_learning         0                    0                    0                    0
internal 1           0                    0                    0                    0
data_exception       131                  13386                0                    0
ttl_exception        0                    0                    0                    0
frag_mc_v6           0                    0                    0                    0
internal 2           0                    0                    0                    0
ipfix                0                    0                    0                    0
Switch:1#