11-10-2009 01:29 PM - edited 03-06-2019 08:32 AM
Is there a mib that contains queue information (depth & drops) per COS to queue mapping. This IOS 12.2(33)SXH4 command provides that info (show queueing interface gig 4/43) but I'd like to poll via SNMP if possible. Thxs.
11-10-2009 08:10 PM
Try looking at the cisco-Queue-MIB
11-11-2009 09:03 AM
This mib doesn't appear to supply the queue info I'm looking for - see details below. Is there another mib that might contains info for WRR queues or am I misinterpreting the cisco-queue-mib info? Thanks, paul
Details:
The Cisoc-QUEUE-MIB says it follows the interfaces mib (for indexing I presume). Here is what I see when looking at one interface.
From the interfaces MIB:
IF-MIB::ifDescr.187 = STRING: GigabitEthernet4/43
Using '187' as the index, here is the queue info that the Cisco-QUEUE-MIB returns:
SNMPv2-SMI::enterprises.9.9.37.1.1.1.1.187 = INTEGER: 1 cQIfQType
The available types are:
1 = fifo
2 = priority
3 = custom
4 = weightedFair
NOTE: none of these appear to match WRR which is what gig 4/43 is configured as.
SNMPv2-SMI::enterprises.9.9.37.1.1.1.2.187 = INTEGER: 0 cQIfTxLimit
SNMPv2-SMI::enterprises.9.9.37.1.1.1.3.187 = INTEGER: 1 cQIfSubqueues
SNMPv2-SMI::enterprises.9.9.37.1.2.1.2.187.2 = Gauge32: 0 cQStatsDepth
SNMPv2-SMI::enterprises.9.9.37.1.2.1.3.187.2 = INTEGER: 40 cQStatsMaxDepth
SNMPv2-SMI::enterprises.9.9.37.1.2.1.4.187.2 = Counter32: 0 cQStatsDiscards
Here is a snippet of the output from the 'show queueing interface gig 4/43 command:
---
show queueing interface gig 4/43
Interface GigabitEthernet4/43 queueing strategy: Weighted Round-Robin
Port QoS is enabled
Port is untrusted
Extend trust state: not trusted [COS = 0]
Default COS is 0
Queueing Mode In Tx direction: mode-cos
Transmit queues [type = 1p3q8t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
01 WRR 08
02 WRR 08
03 WRR 08
04 Priority 01
queue thresh cos-map
---------------------------------------
1 1 0
1 2 1
1 3
1 4
1 5
1 6
1 7
1 8
2 1 2
2 2 3 4
2 3
2 4
2 5
2 6
2 7
2 8
3 1 6 7
3 2
3 3
3 4
3 5
3 6
3 7
3 8
4 1 5
Packets dropped on Transmit:
BPDU packets: 0
queue thresh dropped [cos-map]
---------------------------------------------------
1 1 1594515 [0 ]
1 2 0 [1 ]
2 1 0 [2 ]
2 2 0 [3 4 ]
3 1 0 [6 7 ]
4 1 0 [5 ]
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