Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Snmp oid for Qos

Hi,

I configured priority queuing on my Cisco 2800 serial interface.

Four Queues high ,medium,normal,low were assigned a queue size and mapped with an individual access list.

I would like to monitor the packet drop rate at individual Queue using by Nms software.

Could someone help me in getting the exact snmp oid value for polling the value.

Thanks

Ravi

Apollo Sindhoori,

Chennai, India.

1 REPLY
Cisco Employee

Re: Snmp oid for Qos

Look at the CISCO-CLASS-BASED-QOS-MIB. Here's an example:

1) Query ifDescr to find the interaface index that has the policy

BIN/snmpwalk -c public 14.1.1.1 ifDescr

interfaces.ifTable.ifEntry.ifDescr.1 : DISPLAY STRING- (ascii): FastEthernet0/0

2) Query cbQosIfIndex to get the QOS mapping to Index BIN/snmpwalk -c public 14.1.1.1 cbQosIfIndex

cbQosIfIndex.1111 : INTEGER: 1

cbQosIfIndex 1111 is the index for ifDescr 1 FastEthernet 0/0

3) Now cbQosClassMapCfg table for the cbQosCMName name object

BIN/snmpwalk -c public 14.1.1.1 .1.3.6.1.4.1.9.9.166.1.7.1

cbQosCMName.1025 : DISPLAY STRING- (ascii): class-default

cbQosCMName.1097 : DISPLAY STRING- (ascii): Snmp

cbQosCMDesc.1025 : DISPLAY STRING- (ascii):

cbQosCMDesc.1097 : DISPLAY STRING- (ascii):

cbQosCMInfo.1025 : INTEGER: matchAny

cbQosCMInfo.1097 : INTEGER: matchAll

Now query the cbQosConfigIndex to correlate the cbQosCMName value to

our cbQosIfIndex and cbQosConfigIndex

BIN/snmpwalk -c public 14.1.1.1 .1.3.6.1.4.1.9.9.166.1.5.1.2

cbQosConfigIndex.1111.1111 : Unsigned32: 1107

cbQosConfigIndex.1111.1113 : Unsigned32: 1097

cbQosConfigIndex.1111.1117 : Unsigned32: 1105

cbQosConfigIndex.1111.1119 : Unsigned32: 1109

cbQosConfigIndex.1111.1121 : Unsigned32: 1025

cbQosConfigIndex.1111.1125 : Unsigned32: 1029

Take the values from cbQosConfigIndex and match them to values found in cbQosCMName

for the given Class-map name and this gives you the cbQosPolicyIndex, cbQosObjectsIndex

values needed to query the cbQosCMStatsTable table with for a given class-map

4) Next I know that the Index for cbQosCMStatsTable is numbers for (cbQosPolicyIndex,

cbQosObjectsIndex) 1111.1121 and 1111.1113.

Simply grep for 1113 and 1121 in my snmpwalk of the cbQosCMStatsTable to get the

stats values.

BIN/snmpwalk -c public 14.1.1.1 cbQosCMStatsEntry |grep 1113

cbQosCMPrePolicyPktOverflow.1111.1113 : Counter: 0

cbQosCMPrePolicyPkt.1111.1113 : Counter: 0

cbQosCMPrePolicyPkt64.1111.1113 : Counter64: 0

cbQosCMPrePolicyByteOverflow.1111.1113 : Counter: 0

cbQosCMPrePolicyByte.1111.1113 : Counter: 0

cbQosCMPrePolicyByte64.1111.1113 : Counter64: 0

cbQosCMPrePolicyBitRate.1111.1113 : Gauge32: 0

cbQosCMPostPolicyByteOverflow.1111.1113 : Counter: 0

cbQosCMPostPolicyByte.1111.1113 : Counter: 0

cbQosCMPostPolicyByte64.1111.1113 : Counter64: 0

cbQosCMPostPolicyBitRate.1111.1113 : Gauge32: 0

cbQosCMDropPktOverflow.1111.1113 : Counter: 0

cbQosCMDropPkt.1111.1113 : Counter: 0

cbQosCMDropPkt64.1111.1113 : Counter64: 0

cbQosCMDropByteOverflow.1111.1113 : Counter: 0

cbQosCMDropByte.1111.1113 : Counter: 0

cbQosCMDropByte64.1111.1113 : Counter64: 0

cbQosCMDropBitRate.1111.1113 : Gauge32: 0

cbQosCMNoBufDropPktOverflow.1111.1113 : Counter: 0

cbQosCMNoBufDropPkt.1111.1113 : Counter: 0

cbQosCMNoBufDropPkt64.1111.1113 : Counter64: 0

BIN/snmpwalk -c public 14.1.1.1 cbQosCMStatsEntry | grep 1121

cbQosCMPrePolicyPktOverflow.1111.1121 : Counter: 0

cbQosCMPrePolicyPkt.1111.1121 : Counter: 72016

cbQosCMPrePolicyPkt64.1111.1121 : Counter64: 72016

cbQosCMPrePolicyByteOverflow.1111.1121 : Counter: 0

cbQosCMPrePolicyByte.1111.1121 : Counter: 15904975

cbQosCMPrePolicyByte64.1111.1121 : Counter64: 15904975

cbQosCMPrePolicyBitRate.1111.1121 : Gauge32: 0

cbQosCMPostPolicyByteOverflow.1111.1121 : Counter: 0

cbQosCMPostPolicyByte.1111.1121 : Counter: 15904975

cbQosCMPostPolicyByte64.1111.1121 : Counter64: 15904975

cbQosCMPostPolicyBitRate.1111.1121 : Gauge32: 0

cbQosCMDropPktOverflow.1111.1121 : Counter: 0

cbQosCMDropPkt.1111.1121 : Counter: 0

cbQosCMDropPkt64.1111.1121 : Counter64: 0

cbQosCMDropByteOverflow.1111.1121 : Counter: 0

cbQosCMDropByte.1111.1121 : Counter: 0

cbQosCMDropByte64.1111.1121 : Counter64: 0

cbQosCMDropBitRate.1111.1121 : Gauge32: 0

cbQosCMNoBufDropPktOverflow.1111.1121 : Counter: 0

cbQosCMNoBufDropPkt.1111.1121 : Counter: 0

cbQosCMNoBufDropPkt64.1111.1121 : Counter64: 0

477
Views
5
Helpful
1
Replies