How to see QoS Policy drops using LMS 3.2?

Unanswered Question
Mar 23rd, 2010

How can I configure LMS 3.2 to show us if any of our 50+ router's QoS policies are dropping packets?  Specifically we have output policies applied to our WAN interfaces and I would like something that will tell me if any of my routers have dropped packets based on those policies...more or less in real time.

Thanks in advance.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Joe Clarke Tue, 03/23/2010 - 09:19

You can install the Health and Utilization Monitor add-on, then load the CISCO-CLASS-BASED-QOS-MIB, then define a template to look at drops for a given policy.  Once you have a poller defined using that template, you can watch the drops in real-time using the LiveGraphIt portlet on the HUM portal view.

yjdabear Tue, 03/23/2010 - 09:29

Depending on what flavor of QoS your network has, one way is to generate reports in the 90-day trial version of HUM that comes with LMS 3.2 but separately licensed. If it's Cisco class-based QoS, as a prerequisite, you'll need to load at least the CISCO-CLASS-BASED-QOS-MIB in HUM. If it's the legacy Cisco CAR/DCAR, load CISCO-CAR-MIB. Depending on how your QoS policies are defined, here're some of the SNMP OIDS to have HUM graph for:

"cbQosCMPrePolicyPkt"           "1.3.6.1.4.1.9.9.166.1.15.1.1.2"
"cbQosCMPrePolicyPkt64"         "1.3.6.1.4.1.9.9.166.1.15.1.1.3"
"cbQosCMPrePolicyByteOverflow"          "1.3.6.1.4.1.9.9.166.1.15.1.1.4"
"cbQosCMPrePolicyByte"          "1.3.6.1.4.1.9.9.166.1.15.1.1.5"
"cbQosCMPrePolicyByte64"                "1.3.6.1.4.1.9.9.166.1.15.1.1.6"
"cbQosCMPrePolicyBitRate"               "1.3.6.1.4.1.9.9.166.1.15.1.1.7"
"cbQosCMPostPolicyByteOverflow"         "1.3.6.1.4.1.9.9.166.1.15.1.1.8"
"cbQosCMPostPolicyByte"         "1.3.6.1.4.1.9.9.166.1.15.1.1.9"
"cbQosCMPostPolicyByte64"               "1.3.6.1.4.1.9.9.166.1.15.1.1.10"
"cbQosCMPostPolicyBitRate"              "1.3.6.1.4.1.9.9.166.1.15.1.1.11"
"cbQosCMDropPktOverflow"                "1.3.6.1.4.1.9.9.166.1.15.1.1.12"
"cbQosCMDropPkt"                "1.3.6.1.4.1.9.9.166.1.15.1.1.13"
"cbQosCMDropPkt64"              "1.3.6.1.4.1.9.9.166.1.15.1.1.14"
"cbQosCMDropByteOverflow"               "1.3.6.1.4.1.9.9.166.1.15.1.1.15"
"cbQosCMDropByte"               "1.3.6.1.4.1.9.9.166.1.15.1.1.16"
"cbQosCMDropByte64"             "1.3.6.1.4.1.9.9.166.1.15.1.1.17"
"cbQosCMDropBitRate"            "1.3.6.1.4.1.9.9.166.1.15.1.1.18"

In IOS 12.4(4)T and later, one can configure the "snmp mib persist cbqos" global command so your CBQOS policies do not change SNMP indices everytime the policies get changed or after a router reboot, which could throw reporting tools such as HUM off.

Another way is to directly monitor the above QoS OIDs with EEM on IOS and generate syslog/snmp events accordingly. As a conceptual example:

event manager applet cbQosCMDropBitRate
event snmp oid "1.3.6.1.4.1.9.9.166.1.15.1.1.18.[ifIndex-of-a-specific-policy]" get-type exact entry-op ge entry-val "##" poll-interval ##

...

action 5 syslog priority errors msg "cbQosCMDropBitRate $_snmp_oid_val"

The resulting syslog can then be sent to the LMS box for Syslog Analysis and/or Automated Action, or the SNMP trap to the enterprise NMS (such as HPOV NNM) for action.

Tod Larson Fri, 04/23/2010 - 19:10

LMS won't let me load the CISCO-CLASS-BASED-QOS-MIB.my.  LMS gives me the "Unable to load the MIB file error."

CISCO-CAR-MIB loaded just fine.

Today I downloaded CISCO-CLASS-BASED-QOS-MIB.my from the Cisco web site.

I verified that I have the following .my files on my LMS server in the mibs directory.

FROM SNMPv2-SMI

FROM SNMPv2-CONF

FROM SNMPv2-TC

FROM IF-MIB

FROM Q-BRIDGE-MIB

FROM CISCO-TC

FROM CISCO-FRAME-RELAY-MIB

FROM CISCO-SMI

What am I missing?

Tod Larson Mon, 04/26/2010 - 09:04

Joe,

Thank you for attaching RFC1315-MIB.  Howerver, where do I find that on the Cisco web site?  I'd rather find the official version off cisco.com and load that into my LMS.

Also, what was your clue that I am missing RFC1315-MIB?  Is there a list of dependencies that haven't found?

Thank you,

To

Joe Clarke Mon, 04/26/2010 - 11:02

This is the official MIB.  It is sometimes called the FRAME-RELAY-DTE-MIB.  However, it is referred to by RFC1315-MIB, so that is how it much be named.  I uploaded the MIB here to save you steps.  The Cisco link is:

ftp://ftp.cisco.com/pub/mibs/v2/FRAME-RELAY-DTE-MIB.my

This MIB is referenced by the CISCO-FRAME-RELAY-MIB.  You need to recursively satisfy ALL dependencies in order to be able to load MIBs in HUM.

Actions

This Discussion