cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2626
Views
0
Helpful
5
Replies

How to Calculate bandwidth using SNMP index

Dinesh Murthy
Level 1
Level 1

Hi

Kindly explain how to calculate interface traffic utilization using ifInoctets and ifOutOctets. 

what is the formula that monitoring tools are using to calculating the traffic ? I searched a lot but each one telling different things i totally confused a lot with this. Please provide solution for this.

 

Regards

Dinesh Murthy

 

 

5 Replies 5

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Dinesh,

 

check the below link::

http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/26007-faq-snmpcounter.html

 

hope it answer your query.

 

Thanks-

Afroz

***Ratings Encourages Contributors ***

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Hi AHMAD,

 Thanks a lot for your reply. I need the exact formula to calculate it. I used the formula which is provided in cisco. If i need total utilization whether i have to add all the values.

Input Bandwidth

(∆ifInOctets * 8) /No. of seconds in ∆

Ouput Bandwidth

(∆ifOutOctets * 8) / No. of seconds in ∆

 

Utilization

(Bandwidth/ifSpeed) *100

 

Throughput

(∆ifOutOctets - ∆ifOutDiscards)*8/No.of seconds in ∆

 

Regards

Dinesh Murthy

 

 

Hi ,

 

this has the exact answer of your query::

http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/8141-calculate-bandwidth-snmp.html

 

Note** mark this thread as resolved , if it was helpful

 

Thanks- 

Afroz 

***Ratings Encourages Contributors ***

 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Hi,

I already worked with this cisco formula and i got some values something like bits/s. If i need to calculate 1 hour traffic, then i need the add sum of bits/s for 60 mins right ?

 

Regards

Dinesh Murthy

yeah, that's should work

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****