cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1913
Views
0
Helpful
1
Replies

OID INTERFACE RATE

Dears I need to know what IOD is to:

  5 minute input rate 149000 bits/sec, 46 packets/sec

  5 minute output rate 58000 bits/sec, 29 packets/sec

I need OID to get this value:

149000 and 58000

Thanks

1 Reply 1

Rolf Fischer
Level 9
Level 9

Silvio,

you can't query this values directly, instead you'll have to query the Interface-MIB OIDs ifInOctets and ifOutOctets in (5 minute) intervals, calculate the difference (that's the way tools like MRTG and Cacti work), and convert it to bps.

interfaces.ifTable.ifEntry.ifInOctets.10101 = Counter32: 3793307761

interfaces.ifTable.ifEntry.ifInOctets.10101 = Counter32: 3793335655

=> 27.894 byte in 10 sec = 22,3 kbps

Note: This are 32-bit counters. When the maximum value is reached (~4.2 billion), the counter re-starts with Zero. So if the second value is less than the first, you have to consider this in your calculation.

Hope that helps

Rolf

Review Cisco Networking for a $25 gift card