Each database other than the master is identified by smilib#
, where #
is an integer that uniquely identifies the database (e.g. smilib1
). The full, unique name of the database also identifies a unique Tcl command used to access information about that database's records.
The master database, called smilib
(without an integer suffix) is always present -- even if destroyed, it is immediately recreated with no other definitions loaded except for the root nodes ccitt(0), iso(1) and joint-iso-ccitt(2) in OID space. These are the root mounting points for all other records defining object identifier values.
The database command provides a number of other interfaces for creating and destroying records, setting and querying properties for those records, and importing modules, as well as a built-in validation command that provides the same hundreds of tests performed by the MIB Smithy compiler. The subcommands supported by the database command are as follows (follow the link for more details):
destroy
dump
find
get
import
new
set
whatis
validate
buildoid
parseoid
).format
scan
).is
log
oidcmp
parseoid
buildoid
).scan
format
).tnm