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

OIDs for IPv6 statistics

ROMAN TOMASEK
Level 1
Level 1

Hi,

I know that MIBs for IPv6 exist: IP-MIB and IP-Forward-MIB. But I didn't find the oids for following statistics:  IPv6 ifInPackets, IPv6 ifInUcastPkts, IPv6 IfOutUcastPkts and so on. Does somebody Know the oids for these IPv6 statistics?

Thank you

Roman

1 Reply 1

begomez
Level 1
Level 1

Hi Roman,

As long as your device and version have support for the IP-MIB you would most likely be after OID's in the ipIfStatsTable. (In case you are not aware, you can check for device/version support by checking out the Cisco IOS MIB Locator here: http://www.cisco.com/go/mibs .

From my understanding of your issue, you would likely be after the following, depending if you are after the 32-bit or 64-bit counters:

ipIfStatsInOctets - 1.3.6.1.2.1.4.31.3.1.5

ipIfStatsHCInOctets - 1.3.6.1.2.1.4.31.3.1.6

ipIfStatsOutOctets - 1.3.6.1.2.1.4.31.3.1.32

ipIfStatsHCOutOctets - 1.3.6.1.2.1.4.31.3.1.33

The two indexes for the ipIfStatsTable (1.3.6.1.2.1.4.31.3) are:

(i) .1 - ipIfStatsIPVersion (whether the interface statistic applies to either IPv4 or IPv6).

(ii) .2 - ipIfStatsIfIndex (which corresponds to the ifIndex).

If you can let me know if I understood your requirement correctly, or if not, if you can clarify that would be great.

Regards,

Ben