Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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

Re: OID INTERFACE RATE

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

198
Views
0
Helpful
1
Replies