The OID of dot3StatsIndex (.1.3.6.1.2.1.10.7.2.1.1) is not used at all in dot3HCStatsTable. The number that you append to the OID, e.g., the final .1, .2 or .3 in
1.3.6.1.2.1.10.7.11.1.1.1 1.3.6.1.2.1.10.7.11.1.1.2 1.3.6.1.2.1.10.7.11.1.1.3 is the *value* of dot3StatsIndex. So if you have 3 interfaces, a walk will return 1.3.6.1.2.1.10.7.11.1.1.1 1.3.6.1.2.1.10.7.11.1.1.2 1.3.6.1.2.1.10.7.11.1.1.3 1.3.6.1.2.1.10.7.11.1.2.1 1.3.6.1.2.1.10.7.11.1.2.2 1.3.6.1.2.1.10.7.11.1.2.3 1.3.6.1.2.1.10.7.11.1.3.1 ... Bill On Mon, Aug 12, 2019 at 4:45 AM Satya Prakash Prasad < satyaprakash.pra...@gmail.com> wrote: > I have a basic clarification on dot3HCStatsEntry MIBs definition. It says : > > dot3HCStatsTable OBJECT-TYPE > SYNTAX SEQUENCE OF Dot3HCStatsEntry > MAX-ACCESS not-accessible > STATUS current > DESCRIPTION "A table containing 64-bit versions of error ... > > dot3HCStatsEntry OBJECT-TYPE > SYNTAX Dot3HCStatsEntry > MAX-ACCESS not-accessible > STATUS current > DESCRIPTION "An entry containing 64-bit statistics for a > single ethernet-like interface." > INDEX { dot3StatsIndex } > ::= { dot3HCStatsTable 1 } > > Dot3HCStatsEntry ::= > SEQUENCE { > dot3HCStatsAlignmentErrors Counter64, > dot3HCStatsFCSErrors Counter64, > dot3HCStatsInternalMacTransmitErrors Counter64, > dot3HCStatsFrameTooLongs Counter64, > dot3HCStatsInternalMacReceiveErrors Counter64, > dot3HCStatsSymbolErrors Counter64 > } > > So the MIBs OIDs are : > > 1.3.6.1.2.1.10.7.2.1.1 > > 1.3.6.1.2.1.10.7.11.1.1 > 1.3.6.1.2.1.10.7.11.1.2 > 1.3.6.1.2.1.10.7.11.1.3 > 1.3.6.1.2.1.10.7.11.1.4 > 1.3.6.1.2.1.10.7.11.1.5 > 1.3.6.1.2.1.10.7.11.1.6 > > The confusion I am having is over 1.3.6.1.2.1.10.7.2.1.1 and how > Dot3HCStatsEntry values should be rendered. Say there are 3 ifIndex so will > the output be like: > > 1.3.6.1.2.1.10.7.11.1.1.1 > 1.3.6.1.2.1.10.7.11.1.1.2 > 1.3.6.1.2.1.10.7.11.1.1.3 > ......................... > 1.3.6.1.2.1.10.7.11.1.2.1 > > And for all other table element or: > > 1.3.6.1.2.1.10.7.2.1.1.1 > 1.3.6.1.2.1.10.7.11.1.1 > 1.3.6.1.2.1.10.7.11.1.2 > 1.3.6.1.2.1.10.7.11.1.3 > 1.3.6.1.2.1.10.7.11.1.4 > 1.3.6.1.2.1.10.7.11.1.5 > 1.3.6.1.2.1.10.7.11.1.6 > > Then > > 1.3.6.1.2.1.10.7.2.1.1.2 > 1.3.6.1.2.1.10.7.11.1.1 > 1.3.6.1.2.1.10.7.11.1.2 > 1.3.6.1.2.1.10.7.11.1.3 > 1.3.6.1.2.1.10.7.11.1.4 > 1.3.6.1.2.1.10.7.11.1.5 > 1.3.6.1.2.1.10.7.11.1.6 > > And > > 1.3.6.1.2.1.10.7.2.1.1.3 > 1.3.6.1.2.1.10.7.11.1.1 > 1.3.6.1.2.1.10.7.11.1.2 > 1.3.6.1.2.1.10.7.11.1.3 > 1.3.6.1.2.1.10.7.11.1.4 > 1.3.6.1.2.1.10.7.11.1.5 > 1.3.6.1.2.1.10.7.11.1.6 > > OR like: > > 1.3.6.1.2.1.10.7.11.1.1.1 > 1.3.6.1.2.1.10.7.11.1.1.2 > 1.3.6.1.2.1.10.7.11.1.1.3 > > For all dot3HCStatsEntry table elements? > > Actuallty I am too confused with dot3StatsIndex and dot3HCStatsEntry. What > are the elements SNMP walk on this group will render. > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users >
_______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users