cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
821
Views
0
Helpful
2
Replies

reporting bit/second sent and recieved on a switch interface via SNMP/SYSLOG

danny4569
Level 1
Level 1

Hi.

In a Catalyst switch, under the command: show interface fast 1/0/1 (for example) there is a parameter "5 minute input rate YY bits/sec".

Is it possible to send this value to a SNMP server or to a SYSLOG server? 

Danny.

2 Replies 2

Martin Ermel
VIP Alumni
VIP Alumni

here are 2 good basic documents on this topic:

"How To Calculate Bandwidth Utilization Using SNMP"

SNMP Counters: Frequently Asked Questions

Basicly, what you have to do is, to poll the ifHCInOctets and ifHCOutOctets (from the IF-MIB (ifXTable) - e.g ifHCInOctets = .1.3.6.1.2.1.31.1.1.1.6.)

and do some calculation to get bps. This thread gives a good example.

there are 2 Mib objects, which gives directly what you want, but they are deprecated and have 32-bit counters, so they are not of practical use for highspeed (Gig) interfaces:

    locIfInBitsSec      1.3.6.1.4.1.9.2.2.1.1.6

    locIfOutBitsSec     1.3.6.1.4.1.9.2.2.1.1.8

Typically you will poll these values with snmp instead of sending them; (for 64-bi counters (ifHCInOctets) you 'll have to use snmpv2c or snmpv3)

Hi Martin.

Thank U for your help.

Danny.