22              Tools

22.1            Searching the MIB Tree

MIB Explorer's MIB Tree can be searched by regular expressions. A node whose properties or attributes matches the given regular expression will be selected. With the Find Again MIB_Explorer_Manual00250.gif menu item or button you are then able to find the next node that matches the expression.

To Find a Node:

1.   Choose Find from the Edit menu or press MIB_Explorer_Manual00252.gif from the main toolbar. The search dialog will be displayed.

2.   Enter the search expression in regular expression syntax.

3.   Select whether case should ignored or not. If selected, this will insert "(?i)" at the beginning of the used search expression.

4.   Select what type of attributes of a node you want to be matched against the search expression. Choosing All will match the whole SMI text of a MIB object node, including key words, or the properties ren­dered as "key= value" node against the given search expression.

To Find a Node Again:

Choose Find Again from the Edit menu or press MIB_Explorer_Manual00254.gif from the main toolbar. The next node in depth first search order from the currently selected node will be searched, that matches the previously specified search expression and options.

22.2            Identifying Duplicate OIDs

It could be problematic and it is not desirable for the code generation if an object identifier (OID) is not unique within the set of generated MIB objects. To avoid such a situation, MIB Explorer can list the duplicate OIDs of the loaded MIB modules in a table. From the Tools menu, choose Duplicate OIDs to open this list.

22.3            Extracting SMI  from RFC documents

SMI MIB module definitions are embedded in IETF RFC documents which also includes page headers within the module text. This extraction tool can read a RFC file or a directory of RFC files to extract any embedded SMI modules and save them into new files.

To Extract SMI Modules from RFCs:

1.   Choose Extract SMI from RFC from the Tools menu.

2.   Choose a source file or a source directory.

If two directories are specified, then the target file name is build from the source file name by appending „.smi“. If such a file exists already, then „-<n>.smi“ is appended where <n> is counted up from 1 to 999 until such a file does not exists.

3.   Choose a target file if you have chosen a source file or choose a target directory if have chosen a source directory.

4.   Press the  Ok button to run the extraction. A progress dialog will open where you can also cancel the operation if more than one file is being processed.