RE: SNMP MIB for Bandwidth Utilization on a link

From: Ryan West <rwest_at_zyedge.com>
Date: Wed, 29 Jul 2009 09:48:22 -0400

KJ,

I think this is a bit OT, but how are you trying to gather the data and what exactly are you trying to see? Are you trying to see 95th percentile, MIN/MAX/AVG/LAST? There are plenty of programs out there that take interface readings and convert the deltas into bits or bytes. If you're looking for a clean out the box program to do this, I would recommend checking out Cacti. MRTG used to be the way to go, but there is much more administrative overhead in getting that setup. I don't know how many devices you plan on monitoring, but Cacti can install on a single box and query a huge number devices and data sources. Here is the MIB that Cacti uses for 32-bit counters, there is also support for 64-bit counters, but I'm not sure if it's available on all platforms.

snmpwalk some-rtr1 .1.3.6.1.2.1.31.1.1.1.18
IF-MIB::ifAlias.1 = STRING: T1 Ckt-ID goes here
IF-MIB::ifAlias.2 = STRING:
IF-MIB::ifAlias.3 = STRING:
IF-MIB::ifAlias.5 = STRING:
IF-MIB::ifAlias.6 = STRING: To Outside Vlan
IF-MIB::ifAlias.7 = STRING: To Voice Vlan

snmpwalk some-rtr1 .1.3.6.1.2.1.2.2.1.2
IF-MIB::ifDescr.1 = STRING: Serial0/1/0
IF-MIB::ifDescr.2 = STRING: FastEthernet0/0
IF-MIB::ifDescr.3 = STRING: FastEthernet0/1
IF-MIB::ifDescr.5 = STRING: Null0
IF-MIB::ifDescr.6 = STRING: FastEthernet0/0.2
IF-MIB::ifDescr.7 = STRING: FastEthernet0/0.3

snmpwalk some-rtr1 .1.3.6.1.2.1.2.2.1.3
IF-MIB::ifType.1 = INTEGER: propPointToPointSerial(22)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.5 = INTEGER: other(1)
IF-MIB::ifType.6 = INTEGER: l2vlan(135)
IF-MIB::ifType.7 = INTEGER: l2vlan(135)

snmpwalk some-rtr1 .1.3.6.1.2.1.2.2.1.5
IF-MIB::ifSpeed.1 = Gauge32: 1536000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 100000000
IF-MIB::ifSpeed.5 = Gauge32: 4294967295
IF-MIB::ifSpeed.6 = Gauge32: 100000000
IF-MIB::ifSpeed.7 = Gauge32: 100000000

snmpwalk some-rtr1 .1.3.6.1.2.1.2.2.1.10
IF-MIB::ifInOctets.1 = Counter32: 3640072365
IF-MIB::ifInOctets.2 = Counter32: 905201198
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.5 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 853384627
IF-MIB::ifInOctets.7 = Counter32: 0

snmpwalk some-rtr1 .1.3.6.1.2.1.2.2.1.16
IF-MIB::ifOutOctets.1 = Counter32: 2943736891
IF-MIB::ifOutOctets.2 = Counter32: 2504968094
IF-MIB::ifOutOctets.3 = Counter32: 0
IF-MIB::ifOutOctets.5 = Counter32: 0
IF-MIB::ifOutOctets.6 = Counter32: 2495865344
IF-MIB::ifOutOctets.7 = Counter32: 57776

The above walks are done automatically by Cacti and then direct snmpgets of .1.3.6.1.2.1.2.2.1.10.1 are performed for the T1 in this case, with the delta between readings / 8 to show the bit/s input

-ryan

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of karim jamali
Sent: Wednesday, July 29, 2009 3:57 AM
To: Cisco certification
Subject: SNMP MIB for Bandwidth Utilization on a link

Dear Experts,

Is there any MIB for the bandwidth utilization on a link?

-- 
KJ
Blogs and organic groups at http://www.ccie.net
Received on Wed Jul 29 2009 - 09:48:22 ART

This archive was generated by hypermail 2.2.0 : Sat Aug 01 2009 - 13:10:23 ART