Ok I tried couple of things, getnext gives me the value for the next element and I am able to retrieve the whole row by following command.
snmpgetnext -v 2c -c public 10.60.8.100 WMAN-IF2-MIB::wmanIf2BsSsMacAddress.1.2.3.4.5.6 wmanIf2BsSsBasicCid.1.2.3.4.5.6 wmanIf2BsSsPrimaryCid.1.2.3.4.5.6 wmanIf2BsSsSecondaryCid.1.2.3.4.5.6 wmanIf2BsSsManagementSupport.1.2.3.4.5.6 wmanIf2BsSsIpManagementMode.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqEnable.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqWindowSize.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqDnLinkTxDelay.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqUpLinkTxDelay.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqDnLinkRxDelay.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqUpLinkRxDelay.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqBlockLifetime.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqSyncLossTimeout.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqDeliverInOrder.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqRxPurgeTimeout.1.2.3.4.5.6 wmanIf2BsSs2ndMgmtArqBlockSize.1.2.3.4.5.6 wmanIf2BsSsVendorIdEncoding.1.2.3.4.5.6 wmanIf2BsSsAasBroadcastPermission.1.2.3.4.5.6 wmanIf2BsSsMaxTxPowerBpsk.1.2.3.4.5.6 wmanIf2BsSsMaxTxPowerQpsk.1.2.3.4.5.6 wmanIf2BsSsMaxTxPower16Qam.1.2.3.4.5.6 wmanIf2BsSsMaxTxPower64Qam.1.2.3.4.5.6 Thanks!!! And , snmpgetnext -v 2c -c public 10.60.8.100 WMAN-IF2-MIB::wmanIf2BsSsMacAddress.1.2.3.4.5.6 WMAN-IF2-MIB::wmanIf2BsSsBasicCid.1.2.3.4 = Wrong Type (should be INTEGER): Gauge32: 1 Only problem I face is why the wrong type is coming whoever wrote is not there now, and this code was used only to get Table view request from the browser which works very well! Dave Shield wrote: > 2009/11/16 [email protected] <[email protected]>: > >> 2. snmpget -v 2c -c public 10.60.8.100 >> WMAN-IF2-MIB::wmanIf2BsSsBasicCid.1.2.3.4.5.6 >> WMAN-IF2-MIB::wmanIf2BsSsBasicCid.1.2.3.4.5.6 = No Such Instance currently >> exists at this OID >> > > > Try running "snmpgetnext" (or "snmpwalk") on > WMAN-IF2-MIB::wmanIf2BsSsBasicCid > What do the results look like? > > > > >> Also I get value if I type the following: >> >> snmpget -v 2c -c public 10.60.8.100 WMAN-IF2-MIB::wmanIf2BsSsBasicCid.1.0 >> WMAN-IF2-MIB::wmanIf2BsSsBasicCid.1.0 = Wrong Type (should be INTEGER): >> Gauge32: 1 >> > > Hmmm.... > If that is the format of the OIDs, then it doesn't look as if this > MIB *is* indexed > by MAC address. What does the MIB file look like? > > > >> Why does it say wrong type? >> > > I have no idea. > It sounds as if there is an inconsistency between the implementation > and the MIB file. Where did you get the implementation from? > > 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
