Re: how can I load rfc1573.mib and rfc1573.smi

Juergen Schoenwaelder (schoenw@gaertner.de)
Wed, 7 May 1997 09:37:07 +0200

Simon Chow <skchow@cisco.com> said:

Simon> I have been using Scotty for a while, I've just come across an
Simon> agent that uses RFC1573 (both rfc1573.mib and rfc1573.smi ship
Simon> with scotty). However, since rfc1573 modifies some of the
Simon> interface objects in rfc1213, and scotty loads rfc1213 before
Simon> rfc1573, it looks to me that scotty consider objects in
Simon> rfc1573 as duplicate objects and silently ignores them!

Simon> I tried:
Simon> - manually including these MIBs (lappend tnm(mibs) rfc1753.smi rfc1775.mib)
Simon> - manually including them in tnm(mibs:core)

Simon> none of these work!

Simon> Did anybody run into this same problem? Am I missing something
Simon> obvious? if not, is there a simple work-around?

I found a solution which seems to work, although it is more like a hack
around the problem. Anyway, here is what I did:

o I added rfc1573.smi rfc1573.mib to the tnm(mibs:core) variable
just before rfc1213.mib.

o I added the definitions of the interfaces node into the compat.tc
file:

-- This node is needed in the interface MIB (RFC 1573) and defined in
-- RFC 1213. However, loading RFC 1213 before loading RFC 1573 will
-- drop the re-definitions for objects defined in RFC 1213.

interfaces OBJECT IDENTIFIER ::= { mib-2 2 }

I think this solves the problem (let me know if it does not). However,
a better solution might be to drop rfc1213.mib and to use the SNMPv2
replacements (RFC 2011-2013) instead. Has anyone done this before?

Juergen

-- 
Juergen Schoenwaelder     <schoenw@gaertner.de>     (Tel: +49-531-23873-0)
Gaertner Datensysteme, Hamburger Strasse 273a, 38114 Braunschweig, Germany
--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.