Hello community,
I have Cisco Nexus 5596 (NX-OS 7.3(3)N1(1)) and need to monitor via SNMP input queue drops per-group.
In CLI i can see that counters in "show queuing interface" output:
N5K01# sh queuing int e1/45
Ethernet1/45 queuing information:
TX Queuing
qos-group sched-type oper-bandwidth
0 WRR 80
5 WRR 20
RX Queuing
qos-group 0
q-size: 349760, q-size-40g: 0, HW MTU: 9216 (9216 configured)
drop-type: drop, xon: 0, xoff: 349760
Statistics:
Pkts received over the port : 31827244
Ucast pkts sent to the cross-bar : 10463665
Mcast pkts sent to the cross-bar : 21204117
Ucast pkts received from the cross-bar : 274248919
Pkts sent to the port : 275527465
Pkts discarded on ingress : 159217
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 5
q-size: 90240, q-size-40g: 0, HW MTU: 9216 (9216 configured)
drop-type: no-drop, xon: 17280, xoff: 37120
Statistics:
Pkts received over the port : 191232557
Ucast pkts sent to the cross-bar : 189172897
Mcast pkts sent to the cross-bar : 2059135
Ucast pkts received from the cross-bar : 147376264
Pkts sent to the port : 147376263
Pkts discarded on ingress : 512
Per-priority-pause status : Rx (Inactive), Tx (Inactive)
Total Multicast crossbar statistics:
Mcast pkts received from the cross-bar : 1278782
Cisco SNMP Object Navigator says that i need to poll OID cbQosCMDropPkt64 (1.3.6.1.4.1.9.9.166.1.15.1.1.14) from OID table cbQosCMStatsTable (1.3.6.1.4.1.9.9.166.1.15.1), but my Cisco Nexus gives nothing from SNMP subtree 1.3.6.1.4.1.9.9.166.1.15.
In the output of "show policy-map interface" i see "policy statistics status: disabled", so i suggested that here is the problem.
N5K01# sh policy-map interface e1/45
Global statistics status : enabled
Ethernet1/45
Service-policy (qos) input: QoS
policy statistics status: disabled
Class-map (qos): Prec5 (match-any)
Match: precedence 5
Match: cos 5
Match: dscp 46
set qos-group 5
Class-map (qos): class-default (match-any)
Match: any
set qos-group 0
Service-policy (queuing) input: QoS
policy statistics status: disabled
Class-map (queuing): Prec5 (match-any)
Match: qos-group 5
bandwidth percent 20
Class-map (queuing): class-default (match-any)
Match: qos-group 0
bandwidth percent 80
Service-policy (queuing) output: QoS
policy statistics status: disabled
Class-map (queuing): Prec5 (match-any)
Match: qos-group 5
queue dropped pkts : 512 queue received pkts : 192045540
bandwidth percent 20
Class-map (queuing): class-default (match-any)
Match: qos-group 0
queue dropped pkts : 159251 queue received pkts : 91157289
bandwidth percent 80
I've found document https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5500/sw/qos/7x/b_5500_QoS_Config_7x/b_5500_QoS_Config_7x_chapter_011.html#task_8659666389717468953 where said that "policies need to be removed and re-applied, for statistics to take effect", but i have no policies on interfaces and reapplying policies in "
system qos" results nothing.
Can anyone help me to determine correct way to monitor queue drops via SNMP?