2009/11/17 [email protected] <[email protected]>: > I have been trying the snmpgetnext command on my Linux it is > working fine, when I do it from linux to cross compiled snmp on the mips > platform I am not getting the values, Has anyone encountered a similar > problem? > > *The error coming up is:* > > #snmpgetnext -v 2c -c public 125.125.1.29 > WMAN-IF2-MIB::wmanIf2BsSsMacAddress.0.21.86.80.8a.49 > > WMAN-IF2-MIB::wmanIf2BsSsMacAddress.0.21.86.80.8a.49: Unknown Object > Identifier (Index out of range: 0 (ifIndex))
What is the definition of this table in the WMAN-IF2-MIB file? Judging by the error, the table is indexed by ifIndex, which cannot take a value of 0. So the index value you are supplying is not valid (though snmpgetnext ought to accept it anyway). Try adding the option '-Ir' to the snmpgetnext command. Dave ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
