03-23-2010 07:23 AM
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.
03-23-2010 09:19 AM
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.
03-23-2010 09:29 AM
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.
04-23-2010 07:10 PM
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?
04-25-2010 09:38 AM
04-26-2010 09:04 AM
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
04-26-2010 11:02 AM
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.
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