home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / protocol / snmp / 808 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.protocols.snmp
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!unixhub.SLAC.Stanford.EDU!streater
  3. From: streater@unixhub.SLAC.Stanford.EDU (Tim Streater)
  4. Subject: Cabletron not doing get-next properly?
  5. Message-ID: <C01psE.4n1@unixhub.SLAC.Stanford.EDU>
  6. Sender: news@unixhub.SLAC.Stanford.EDU
  7. Organization: Stanford Linear Accelerator Center
  8. Date: Wed, 30 Dec 1992 00:09:50 GMT
  9. Lines: 23
  10.  
  11. In article <karl.37.725592903@empirical.com>, karl@empirical.com (Karl Auerbach)
  12.  
  13. says:
  14. >
  15. >Also check that get next really works.  It should be able to take *any* oid,
  16. >whether or not that oid represents a variable, and finds the sucessor (or
  17. >end of the mib.)
  18. >
  19. I wrote some code to get the ARP tables using SNMP. I start by doing a get-next
  20. on mgmt_mib_ip_ipNetToMediaTable_ipNetToMediaEntry_ipNetToMediaPhysAddress, and
  21. I look at the type of the returned variable. If it is STRING I know the unit
  22. supports MIB-II so I use those variables. Otherwise I assume it does not and I
  23. use the MIB-I at table.
  24.  
  25. I tested this against various boxes (nodes, routers, etc), and found that the
  26. Cabletron MRXI 10Base-T hub, which supports MIB-I, appears to fail in its
  27. treatment of get-next. It returns NoSuchVariable for the get-next I outlined
  28. above.
  29.  
  30. Anybody else seen this? Does Cabletron know about it?
  31.  
  32. Tim.
  33.  
  34.