Article View: comp.protocols.snmp
Article #230Cabletron not doing get-next properly?
From: Tim Streater
Date: Wed, 30 Dec 1992 00:09
Date: Wed, 30 Dec 1992 00:09
22 lines
1376 bytes
1376 bytes
In article <karl.37.725592903@empirical.com>, karl@empirical.com (Karl Auerbach) says: > >Also check that get next really works. It should be able to take *any* oid, >whether or not that oid represents a variable, and finds the sucessor (or >end of the mib.) > I wrote some code to get the ARP tables using SNMP. I start by doing a get-next on mgmt_mib_ip_ipNetToMediaTable_ipNetToMediaEntry_ipNetToMediaPhysAddress, and I look at the type of the returned variable. If it is STRING I know the unit supports MIB-II so I use those variables. Otherwise I assume it does not and I use the MIB-I at table. I tested this against various boxes (nodes, routers, etc), and found that the Cabletron MRXI 10Base-T hub, which supports MIB-I, appears to fail in its treatment of get-next. It returns NoSuchVariable for the get-next I outlined above. Anybody else seen this? Does Cabletron know about it? Tim.
Technical Details
Message-ID:
<C01psE.4n1@unixhub.SLAC.Stanford.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!unixhub.SLAC.Stanford.EDU!streaterShow Full Headers
Complete Article Headers
Newsgroups: comp.protocols.snmp Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!unixhub.SLAC.Stanford.EDU!streater From: streater@unixhub.SLAC.Stanford.EDU (Tim Streater) Subject: Cabletron not doing get-next properly? Message-ID: <C01psE.4n1@unixhub.SLAC.Stanford.EDU> Sender: news@unixhub.SLAC.Stanford.EDU Organization: Stanford Linear Accelerator Center Date: Wed, 30 Dec 1992 00:09:50 GMT Lines: 23