net-snmp version: 5.3.0.1
platform:   debian linux 

While walking by means of successive snmpgetnexts, traversing mib-2 is
OK up to:

snmpgetnext -v3 -Of -u v3_user -l authNoPriv -a MD5 -A elephant localhost \
.iso.org.dod.internet.mgmt.mib-2.ip.ipForward.ipCidrRouteTable.ipCidrRouteEntry.ipCidrRouteStatus.172.31.20.0.0.255.255.255.0.0.0.0.0

.iso.org.dod.internet.mgmt.mib-2.ip.ipForward.inetCidrRouteTable.inetCidrRouteEntry.inetCidrRouteIfIndex.ipv4."0.0.0.0".0.2.0.0.ipv4."172.31.20.1"
 = INTEGER: 2

But spits the dummy on taking the next step:

snmpgetnext -v3 -Of -u v3_user -l authNoPriv -a MD5 -A elephant localhost \
.iso.org.dod.internet.mgmt.mib-2.ip.ipForward.inetCidrRouteTable.inetCidrRouteEntry.inetCidrRouteIfIndex.ipv4."0.0.0.0".0.2.0.0.ipv4."172.31.20.1"

.iso.org.dod.internet.mgmt.mib-2.ip.ipForward.inetCidrRouteTable.inetCidrRouteEntry.inetCidrRouteIfIndex.ipv4.0.0.0.0.0.2.0.0.ipv4.172.31.20.1:
Unknown Object Identifier (Sub-id not found: inetCidrRoutePolicy ->
ipv4.172.31.20.1)

The same happens with:
   -m +IP-FORWARD-MIB      # Or
   -m ALL -M /usr/local/src/net-snmp-5.3.0.1/mibs/

Checking with -Dparse-mibs shows:
parse-mibs:   Module 19 IP-FORWARD-MIB is in
/usr/local/src/net-snmp-5.3.0.1/mibs//IP-FORWARD-MIB.txt

Given that snmpwalk cruises through this MIB, discrete snmpgetnexts
should surely do the same?

I've so far found good clues in the archives and Site Docs, but not yet
the right one. I'm clearly not holding my mouth right, but that's as
much as is clear just at the moment. Any hint on where to read, or where
to poke it with a stick, to further diagnose, would be most gracious.

Erik


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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

Reply via email to