22 Tools

22.1Incremental Search

To start the incremental search, you can press <Ctrl->-<I>.

Many dialogs and screen elements support instance search if you select the element (by mouse or keyboard actions) and then starting to type the term you are looking for.

The first matching element in the list, combo box, or table will be selected then and a popup menu will open where the search term can be entered or modified.

Using the up and down keys navigates through the found matches. Matching is case-insensitive and searches for sub-strings. The search term is a (Java) regular expression.

22.2Searching the MIB Tree

MIB Explorer's MIB Tree can be searched by regular expressions. The standard Search Panel help you to find MIB nodes and MIB object instances by text and regular expression.

Figure 19:Standard Search Panel.
StandardSearchPanel.png

 

The left most button FindAgain1600104.gif provides access to the search history which saves the last ten search expressions. The search expression is entered into the text field and search immediately starts from the root of the MIB Tree after a character has been entered.

 

A node whose SMI text (or instance value) matches the given regular expression will be selected. With the Find Again FindAgain1600105.gif menu item or button you are then able to find the next node that matches the expression.

To Find a Node:

1.Enter a search term or regular expression into the text field of the Standard Search Panel.. The search operation starts immediately when a character is entered from the root node (and top level row of the Browse Tab).

2.Alternatively, choose Find from the Edit menu or press Find1600106.gif from the main tool bar. The search dialog will be displayed.

3.Enter the search expression in regular expression syntax (see Regular expression syntax characters with special meaning. for details).

4.Select whether case should be matched or not.

5.Only available with the Find dialog:
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 the Next Node:

Choose Find Again from the Edit menu or press FindAgain1600107.gif from the main tool bar. 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.

Using the down arrow button from the Search Panel will also find the next occurrence.

To Find the Previous Node:

Choose the Up arrow button on the Search Pane

To Clear Search Expression:

Press the red button right of the search text field.

 

22.3Identifying 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.4Extracting 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 a RFC document:

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.