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

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

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.

  • Network Management
2 REPLIES

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

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)

New Member

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

Hi Martin.

Thank U for your help.

Danny.

379
Views
0
Helpful
2
Replies