cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
869
Views
0
Helpful
3
Replies

QoS queue on 9300

rasmus.elmholt
Level 7
Level 7

Hi

I have a 9300 switch where I have the following output from the QoS queue:

#show platform software fed switch active qos queue stats interface gi 1/0/12 
----------------------------------------------------------------------------------------------
AQM Global counters
GlobalHardLimit:  6776   |   GlobalHardBufCount: 0
GlobalSoftLimit: 13072   |   GlobalSoftBufCount: 0

----------------------------------------------------------------------------------------------
Asic:0 Core:1 DATA Port:1 Software Enqueue Counters
----------------------------------------------------------------------------------------------
 Q Buffers          Enqueue-TH0          Enqueue-TH1          Enqueue-TH2             Qpolicer
   (Count)              (Bytes)              (Bytes)              (Bytes)              (Bytes)
-- ------- -------------------- -------------------- -------------------- --------------------
 0       0             78488409            191425636            231421487                    0
 1       0                    0                    0           6942662790                    0
 2       0                    0                    0                    0                    0
 3       0                    0                    0                    0                    0
 4       0                    0                    0                    0                    0
 5       0                    0                    0                    0                    0
 6       0                    0                    0                    0                    0
 7       0                    0                    0                    0                    0
Asic:0 Core:1 DATA Port:1 Software Drop Counters
--------------------------------------------------------------------------------------------------------------------------------
 Q             Drop-TH0             Drop-TH1             Drop-TH2             SBufDrop              QebDrop         QpolicerDrop
          

 

Does this output show that we have Discarded 78488409 bytes from Queue 0 Threshold 1 or is it the amount of bytes that has been handled by the queue?

1 Accepted Solution

Accepted Solutions

rasmus.elmholt
Level 7
Level 7

Looking further down the output I missed the first time I found my answer:

#show plat hard fe swi ac qos queue stats interf gi 1/0/12
----------------------------------------------------------------------------------------------
AQM Global counters
GlobalHardLimit:  6776   |   GlobalHardBufCount: 0
GlobalSoftLimit: 13072   |   GlobalSoftBufCount: 0

----------------------------------------------------------------------------------------------
Asic:0 Core:1 DATA Port:1 Hardware Enqueue Counters
----------------------------------------------------------------------------------------------
 Q Buffers          Enqueue-TH0          Enqueue-TH1          Enqueue-TH2             Qpolicer
   (Count)              (Bytes)              (Bytes)              (Bytes)              (Bytes)
-- ------- -------------------- -------------------- -------------------- --------------------
 0       0             78555881            191693086            231744448                    0
 1       0                    0                    0           6952833819                    0
 2       0                    0                    0                    0                    0
 3       0                    0                    0                    0                    0
 4       0                    0                    0                    0                    0
 5       0                    0                    0                    0                    0
 6       0                    0                    0                    0                    0
 7       0                    0                    0                    0                    0
Asic:0 Core:1 DATA Port:1 Hardware Drop Counters
--------------------------------------------------------------------------------------------------------------------------------
 Q             Drop-TH0             Drop-TH1             Drop-TH2             SBufDrop              QebDrop         QpolicerDrop
                (Bytes)              (Bytes)              (Bytes)              (Bytes)              (Bytes)              (Bytes)
-- -------------------- -------------------- -------------------- -------------------- -------------------- --------------------
 0                    0                    0                    0                    0                    0                    0
 1                    0                    0                    0                    0                    0                    0
 2                    0                    0                    0                    0                    0                    0
 3                    0                    0                    0                    0                    0                    0
 4                    0                    0                    0                    0                    0                    0
 5                    0                    0                    0                    0                    0                    0
 6                    0                    0                    0                    0                    0                    0
 7                    0                    0                    0                    0                    0                    0

View solution in original post

3 Replies 3

rasmus.elmholt
Level 7
Level 7

Looking further down the output I missed the first time I found my answer:

#show plat hard fe swi ac qos queue stats interf gi 1/0/12
----------------------------------------------------------------------------------------------
AQM Global counters
GlobalHardLimit:  6776   |   GlobalHardBufCount: 0
GlobalSoftLimit: 13072   |   GlobalSoftBufCount: 0

----------------------------------------------------------------------------------------------
Asic:0 Core:1 DATA Port:1 Hardware Enqueue Counters
----------------------------------------------------------------------------------------------
 Q Buffers          Enqueue-TH0          Enqueue-TH1          Enqueue-TH2             Qpolicer
   (Count)              (Bytes)              (Bytes)              (Bytes)              (Bytes)
-- ------- -------------------- -------------------- -------------------- --------------------
 0       0             78555881            191693086            231744448                    0
 1       0                    0                    0           6952833819                    0
 2       0                    0                    0                    0                    0
 3       0                    0                    0                    0                    0
 4       0                    0                    0                    0                    0
 5       0                    0                    0                    0                    0
 6       0                    0                    0                    0                    0
 7       0                    0                    0                    0                    0
Asic:0 Core:1 DATA Port:1 Hardware Drop Counters
--------------------------------------------------------------------------------------------------------------------------------
 Q             Drop-TH0             Drop-TH1             Drop-TH2             SBufDrop              QebDrop         QpolicerDrop
                (Bytes)              (Bytes)              (Bytes)              (Bytes)              (Bytes)              (Bytes)
-- -------------------- -------------------- -------------------- -------------------- -------------------- --------------------
 0                    0                    0                    0                    0                    0                    0
 1                    0                    0                    0                    0                    0                    0
 2                    0                    0                    0                    0                    0                    0
 3                    0                    0                    0                    0                    0                    0
 4                    0                    0                    0                    0                    0                    0
 5                    0                    0                    0                    0                    0                    0
 6                    0                    0                    0                    0                    0                    0
 7                    0                    0                    0                    0                    0                    0

"found my answer", i.e. those bytes were queued not dropped, correct?

BTW, of course, queuing does often lead to dropping.  The queueing reported, isn't just any queuing, it's queuing at/pass certain thresholds.

Yes. If I understand the output correct I have 78555881 bytes queued in Q0TH0 and zero bytes dropped from this queue.

And Zero dropped because of a policer on the queue as well.