SNMP Get router bandwidth utilisation

Unanswered Question
Mar 18th, 2010

I’ve got some problems trying to locate a particular counter using the Mib explorer. My Cisco router is 2801 Software (C2801-IPBASE-M), IOS Version 12.4(1a) I’m trying in vain to locate the input/output rate (in bits/sec) for two of my interfaces. I've tried  .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifInOctets (1.3.6.1.2.1.2.2.1.10) and .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifOutOctets (1.3.6.1.2.1.2.2.1.16) both provide the total (accumulated) traffic in/out of the interface which is not what I need. Can anyone advise which OID should I use to get the input/output rate (in bits/sec) for the interfaces?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Collin Clark Fri, 03/19/2010 - 08:12

I don't believe there is an OID for that. Most SNMP Managers use ifinoctets and ifoutoctets to determine the bandwith traversing the interface.

peckcp Sun, 03/21/2010 - 18:41

Hi Collin,

Thanks for the reply. Noted at there isn't an OID for the info which I need.

However, do you know who MRTG works? They seems to be able to display the results on the bandwidth utilisation at that point in time.

Your advise please.

Ganesh Hariharan Mon, 03/22/2010 - 04:49

Hi Collin,

Thanks for the reply. Noted at there isn't an OID for the info which I need.

However, do you know who MRTG works? They seems to be able to display the results on the bandwidth utilisation at that point in time.

Your advise please.

Hi,

In order to know about MRTG just check out the below link hope it useful information regarding MRTG calcultion of objects.

http://vegan.net/MRTG/countergauge.php

Hope to Help !!

Ganesh.H

peckcp Mon, 03/22/2010 - 18:52

Hi Ganesh.H,

Thanks for the link, It does help to get a better picture.

Collin Clark Mon, 03/22/2010 - 12:37

It takes the octets and calculates bits from it. You should be able to find the exact calculation on google.

peckcp Mon, 03/22/2010 - 18:51

Hi Collin,

Thanks for the info, I have a  better idea now.

Actions

This Discussion