cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
692
Views
0
Helpful
3
Replies

Traffic counters / SNMP

Luisinus
Level 1
Level 1

I need to capture traffic counters via SNMP.

Doing this on the interface traffic is rather trivial, and the OID-s

are easy to find.

What I need is to monitor the byte traffic on a specific IP address.

I have setup traffic shaping (traffic-shape group) with an extended

access list, and looking at "show traffic-shape sta" gives me

actually the byte traffic that has been under traffic-shaping for a

given IP address. But I need this data via SNMP, not just from the

CLI. Ideas?

3 Replies 3

rmushtaq
Level 8
Level 8

You can use the ifIn/OutOctets from RFC1213-MIB and their 64-bit counters as well to poll the specific interface.

Hmm. I walked the MIB starting from OID .1.3.6.1.2.1.2.2.1 and YES i see the interface counters, but there are nowhere the same counters as I would see from the CLI using "show traffic-shape statistics".

Thanks for the fast reply under any circumstances...

/Luis

jegrimm
Level 1
Level 1

Hello,

It might be fairly complex and depends on the tool you are using but you can look at the RMON2 mib (rfc2021)...You will need to turn RMON on or have probes...Look at the following table from the mib:

NlHostEntry ::= SEQUENCE {

nlHostTimeMark TimeFilter,

nlHostAddress OCTET STRING,

nlHostInPkts ZeroBasedCounter32,

nlHostOutPkts ZeroBasedCounter32,

nlHostInOctets ZeroBasedCounter32,

nlHostOutOctets ZeroBasedCounter32,

nlHostOutMacNonUnicastPkts ZeroBasedCounter32,

nlHostCreateTime LastCreateTime

}

Remember to do the conversion from octets to bytes..

BTW, I use RMON probes with Concord's eHealth and NetScouts' RTM.

Cheers!

Jim

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: