| < Prev | Back to Table of Contents | Next > |
MIB Smithy SDK provides capabilities for finding records matching a specified name or object identifier value. This feature is useful, for example, to resolve ambiguities or to locate variations for a particular OBJECT-TYPE definition, of which there can be many.
% dbcmd find searchspec
..where dbcmd is the name of the database,
searchspec is may be any of the accepted
forms for a Record Search
Specification as used by other commands to reference individual
records.
A list of name/type pairs suitable for use with array
set or foreach. The name returned will be the
fully-qualified name of the record, including file handle, while the
type will be one of the record type keywords as returned by the
whatis command.
% foreach { name type } [smilib find snmpCommunityGroup] {
puts $name
puts $type
}
@File4!SNMPv2-MIB!snmpCommunityGroup
object-group
@File4!SNMPv2-MIB!snmpBasicCompliance!SNMPv2-MIB!snmpCommunityGroup
conformance-group
@File4!SNMPv2-MIB!snmpBasicComplianceRev2!SNMPv2-MIB!snmpCommunityGroup
conformance-group
| < Prev | Back to Table of Contents | Next > |