[mrtg] Re: monitoring qos on cisco routers

Tolga.OZDEN at pamukbank.com.tr Tolga.OZDEN at pamukbank.com.tr
Fri Jun 27 11:28:21 MEST 2003


If you already set the policy classes and policy maps on the cisco router, you can use the ciscoCBQoSMIB (1.3.6.1.4.1.9.9.166) for your requirement.

The cmQoSCMPostPolicyBitRate (ciscoCBQoSMIB.1.15.1.11) will return the offered traffic in bps. For example for the web traffic I have configured the following target: 
Target[10.x.x.x-web]: .1.3.6.1.4.1.9.9.166.1.15.1.1.11.5025.5059&1.3.6.1.4.1.9.9.166.1.15.1.1.11.5025.5059:CommunityString at 10.x.x.x

However, it is not easy to find out which policy-map has been assigned to which arbitrary numbers like 5025.5059 for the cmQoSCMPostPolicyBitRate MIB.

In order to find out "5025.5059" you can follow the below steps:

-If you run a "SNMP WALK" for cbQoSIfIndex (ciscoCBQoSMIB.1.1.1.1.4) you can get a list of "logical" interface index for  which policy map is assigned. like ciscoCBQoSMIB.1.1.1.1.4.5025 = 16
"5025" is assigned for 16 (which you can find out by ifDescr MIB.)

-cbQoSCMCfgEntry (ciscoCBQoSMIB.1.7.1.1) SNMP WALK will return arbitrary assigned numbers for the class-maps configured on the router.
like : ciscoCBQoSMIB.1.7.1.1.1081 = web

-cbQoSConfigIndex (ciscoCBQoSMIB.1.5.1.1.2) will return the arbitrary config number "5025.5059" which we were looking for:
ciscoCBQoSMIB.1.5.1.1.2.5025.5059 = 1081

You can refer to the "CISCO-CLASS-BASED-QOS-MIB" for detailed info about the relevant MIBs. 
Regards;

Tolga Ozden


-----Original Message-----
From: Greg_Mersberger at i2.com [mailto:Greg_Mersberger at i2.com]
Sent: 27 Haziran 2003 Cuma 06:34
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] monitoring qos on cisco routers


I'm looking for some assistance monitoring Qos stats on Cisco routers. 
Specifically I'd like to monitor the offered rate bps so if anyone has the 
OID and/or sample configs I'd appreciate the assistance.
Greg Mersberger


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list