[tkined] "mib load" command

Michael Landman (mlandman@avici.com)
Wed, 08 Jul 1998 10:37:49 -0400

Reading the manual section on the "mib" command, I quote:

"The Tnm extension automatically loads all MIB files named in the global
Tcl variable $tnm(mibs). This allows to pre-define a set of useful MIB
definitions. The default is the set of IETF MIBs. It is possible to bypass
the auto-loading mechanism if the first mib command is a mib load command.
Note that the snmp command may also invoke mib commands."

I'm a bit confused on the "possible to bypass" section above... I looked at
$tnm(mibs), and saw the list of mibs. It is unclear to me when (and if)
these mibs are loaded. Reading above, it seems that if the first "mib"
command is "mib load" -- then NONE of the mibs in $tnm(mibs) are loaded.
However, if the first command I execute is: "mib load
<some_enterprise_specific_mib>", and the next command is "mib name
1.3.6.1.2.1.1.3.0" -- I receive "sysUpTime.0". How did it know, if it
didn't load all the mibs in $tnm(mibs), which I thought it wasn't supposed
to do, because the first mib command I did after starting tcl was "mib load
<some_enterprise_specific_mib>"??

I must be understanding this incorrectly.... can somebody set me straight?

thanks.

**
Michael Landman
Principal Network Engineer
Avici Systems, Inc. (978) 250-3344 x393
mlandman@avici.com http://www.avici.com

--
!! 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.