Skip to content

Commit 2b47d1b

Browse files
Update aggregate_voq_counters.md
1 parent 82ae143 commit 2b47d1b

File tree

1 file changed

+63
-35
lines changed

1 file changed

+63
-35
lines changed

doc/voq/aggregate_voq_counters.md

+63-35
Original file line numberDiff line numberDiff line change
@@ -183,54 +183,82 @@ CLI (queuestat.py) aggregates the VOQ stats for a VOQ across ASICS and present a
183183

184184
$ show VOQ counters [interface] --voq
185185

186-
From linecard - nfc404-3 (existing CLI)
187-
186+
From linecard - cmp227-4 and asic0 (existing CLI)
187+
```
188+
admin@cmp227-4:~$ show queue counters "cmp227-4|asic0|Ethernet0" --voq -n asic0
189+
Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes Credit-WD-Del/pkts
190+
------------------------ ----- -------------- --------------- ----------- ------------ --------------------
191+
cmp227-4|asic0|Ethernet0 VOQ0 6813 340650 0 0 0
192+
cmp227-4|asic0|Ethernet0 VOQ1 161 8050 0 0 0
193+
cmp227-4|asic0|Ethernet0 VOQ2 356 17800 0 0 0
194+
cmp227-4|asic0|Ethernet0 VOQ3 257 12850 0 0 0
195+
cmp227-4|asic0|Ethernet0 VOQ4 157 7850 0 0 0
196+
cmp227-4|asic0|Ethernet0 VOQ5 2257 112850 0 0 0
197+
cmp227-4|asic0|Ethernet0 VOQ6 257 12850 0 0 0
198+
cmp227-4|asic0|Ethernet0 VOQ7 149 42468 0 0 0
188199
```
189-
admin@nfc404-3:~$ show queue counters "nfc404-3|Asic0|Ethernet4" -n Asic0 --voq
190-
Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes
191-
------------------------ ----- -------------- --------------- ----------- ------------
192-
nfc404-3|Asic0|Ethernet4 VOQ0 45 12386 0 0
193-
nfc404-3|Asic0|Ethernet4 VOQ1 0 0 0 0
194-
nfc404-3|Asic0|Ethernet4 VOQ2 204 10200 0 0
195-
nfc404-3|Asic0|Ethernet4 VOQ3 0 0 0 0
196-
nfc404-3|Asic0|Ethernet4 VOQ4 21 1050 0 0
197-
nfc404-3|Asic0|Ethernet4 VOQ5 0 0 0 0
198-
nfc404-3|Asic0|Ethernet4 VOQ6 29 1450 0 0
199-
nfc404-3|Asic0|Ethernet4 VOQ7 0 0 0 0
200200

201+
From linecard - cmp227-4 and asic1 (existing CLI)
202+
```
203+
admin@cmp227-4:~$ show queue counters "cmp227-4|asic0|Ethernet0" --voq -n asic1
204+
Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes Credit-WD-Del/pkts
205+
------------------------ ----- -------------- --------------- ----------- ------------ --------------------
206+
cmp227-4|asic0|Ethernet0 VOQ0 123 6150 0 0 0
207+
cmp227-4|asic0|Ethernet0 VOQ1 289 14450 0 0 0
208+
cmp227-4|asic0|Ethernet0 VOQ2 789 39450 0 0 0
209+
cmp227-4|asic0|Ethernet0 VOQ3 345 17250 0 0 0
210+
cmp227-4|asic0|Ethernet0 VOQ4 45586 2279300 0 0 0
211+
cmp227-4|asic0|Ethernet0 VOQ5 90 4500 0 0 0
212+
cmp227-4|asic0|Ethernet0 VOQ6 56 2800 0 0 0
213+
cmp227-4|asic0|Ethernet0 VOQ7 0 0 0 0 0
201214
```
202215

216+
From linecard - cmp227-5 and asic1 (existing CLI)
203217

204-
From linecard - nfc408-8 (existing CLI)
205218
```
206-
admin@nfc404-8:~$ show queue counters "nfc404-3|Asic0|Ethernet4" -n Asic0 --voq
207-
Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes
208-
------------------------ ----- -------------- --------------- ----------- ------------
209-
nfc404-3|Asic0|Ethernet4 VOQ0 0 0 0 0
210-
nfc404-3|Asic0|Ethernet4 VOQ1 1 50 0 0
211-
nfc404-3|Asic0|Ethernet4 VOQ2 51 2550 0 0
212-
nfc404-3|Asic0|Ethernet4 VOQ3 0 0 0 0
213-
nfc404-3|Asic0|Ethernet4 VOQ4 16 800 0 0
214-
nfc404-3|Asic0|Ethernet4 VOQ5 0 0 0 0
215-
nfc404-3|Asic0|Ethernet4 VOQ6 143 7150 0 0
216-
nfc404-3|Asic0|Ethernet4 VOQ7 0 0 0 0
219+
admin@cmp227-5:~$ show queue counters "cmp227-4|asic0|Ethernet0" --voq
220+
Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes Credit-WD-Del/pkts
221+
------------------------ ----- -------------- --------------- ----------- ------------ --------------------
222+
cmp227-4|asic0|Ethernet0 VOQ0 452 22600 0 0 0
223+
cmp227-4|asic0|Ethernet0 VOQ1 262 13100 0 0 0
224+
cmp227-4|asic0|Ethernet0 VOQ2 879 43950 0 0 0
225+
cmp227-4|asic0|Ethernet0 VOQ3 123 6150 0 0 0
226+
cmp227-4|asic0|Ethernet0 VOQ4 897 44850 0 0 0
227+
cmp227-4|asic0|Ethernet0 VOQ5 543 27150 0 0 0
228+
cmp227-4|asic0|Ethernet0 VOQ6 975 48750 0 0 0
229+
cmp227-4|asic0|Ethernet0 VOQ7 0 0 0 0 0
230+
```
231+
From linecard - cmp227-6 and asic1 (existing CLI)
232+
```
233+
admin@cmp227-6:~$ show queue counters "cmp227-4|asic0|Ethernet0" --voq
234+
Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes Credit-WD-Del/pkts
235+
------------------------ ----- -------------- --------------- ----------- ------------ --------------------
236+
cmp227-4|asic0|Ethernet0 VOQ0 23 1150 0 0 0
237+
cmp227-4|asic0|Ethernet0 VOQ1 481 24050 0 0 0
238+
cmp227-4|asic0|Ethernet0 VOQ2 23 1150 0 0 0
239+
cmp227-4|asic0|Ethernet0 VOQ3 4444 222200 0 0 0
240+
cmp227-4|asic0|Ethernet0 VOQ4 6789 339450 0 0 0
241+
cmp227-4|asic0|Ethernet0 VOQ5 590 29500 0 0 0
242+
cmp227-4|asic0|Ethernet0 VOQ6 567 28350 0 0 0
243+
cmp227-4|asic0|Ethernet0 VOQ7 0 0 0 0 0
217244
```
218245

246+
Note: Linecard cmp227-5 and cmp227-6 have only 1 asic therefore asic can be omitted.
247+
219248
From supervisor (same command extended for sup.)
220249

221250
```
222-
admin@nfc404:~$ show queue counters "nfc404-3|Asic0|Ethernet4" --voq
251+
admin@cmp227:~$ show queue counters "cmp227-4|asic0|Ethernet0" --voq
223252
Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes
224253
------------------------ ----- -------------- --------------- ----------- ------------
225-
nfc404-3|Asic0|Ethernet4 VOQ0 45 12386 0 0
226-
nfc404-3|Asic0|Ethernet4 VOQ1 1 50 0 0
227-
nfc404-3|Asic0|Ethernet4 VOQ2 255 12750 0 0
228-
nfc404-3|Asic0|Ethernet4 VOQ3 0 0 0 0
229-
nfc404-3|Asic0|Ethernet4 VOQ4 37 1850 0 0
230-
nfc404-3|Asic0|Ethernet4 VOQ5 0 0 0 0
231-
nfc404-3|Asic0|Ethernet4 VOQ6 172 8600 0 0
232-
nfc404-3|Asic0|Ethernet4 VOQ7 0 0 0 0
233-
254+
cmp227-4|asic0|Ethernet0 VOQ0 7411 370550 0 0
255+
cmp227-4|asic0|Ethernet0 VOQ1 1193 59650 0 0
256+
cmp227-4|asic0|Ethernet0 VOQ2 2047 102350 0 0
257+
cmp227-4|asic0|Ethernet0 VOQ3 5169 258450 0 0
258+
cmp227-4|asic0|Ethernet0 VOQ4 53429 2671450 0 0
259+
cmp227-4|asic0|Ethernet0 VOQ5 3480 174000 0 0
260+
cmp227-4|asic0|Ethernet0 VOQ6 1855 92750 0 0
261+
cmp227-4|asic0|Ethernet0 VOQ7 170 49650 0 0
234262
```
235263

236264
### Testing Requirements/Design

0 commit comments

Comments
 (0)