12-15-2022 03:44 AM
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?
Solved! Go to Solution.
12-15-2022 04:55 AM
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
12-15-2022 04:55 AM
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
12-15-2022 07:18 AM
"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.
12-22-2022 01:14 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide