Home
You are not currently signed in.

MIB Smithy

  1. Up to Table of Contents

Querying Conformance Module Properties

Conformance modules are the lowest-level container in the record heirarchy. They are contained in MODULE-COMPLIANCE and AGENT-CAPABILITIES (collectively, "conformance") statements. They are used to indicate MIB or PIB modules -- either the one the statement is defined in, or elsewhere -- that a particular section of the statement pertains to.

Syntax:

% dbcmd get property ?property ...? confmodule

Returns:

  • The value of the specified property or properties (see below).

Properties:

-cgroups

Returns a list of identifiers or OID values corresponding to each GROUP reference within the MODULE-COMPLIANCE's MODULE section. This property does not apply to AGENT-CAPABILITIES.

group1 group2 group3 ...

-comments
Returns the textual comments associated with record
-container
Returns the fully-qualified name of the record in which the queried record is contained. This property equivalent to -fullname for the container record, or for the queried record with the last envelope stripped off.
-fullname
Returns the fully-qualified name of the record in the form accepted by the SDK as a search query. For this record type, that is the file handle, the module name and the record name joined together with a ! (exclamation point), as in @File2!SNMPv2-MIB!snmpBasicCompliance!SNMPv2-MIB.
-includes

Returns a list of identifiers or OID values corresponding to the list of groups identified by the INCLUDES field of an AGENT-CAPABILITIES conformance module.

group1 group2 group3 ...

-mandatory-groups

Returns a list of identifiers or OID values corresponding to the list of groups identified by the MANDATORY-GROUPS field of a MODULE-COMPLIANCE conformance module.

group1 group2 group3 ...

-name
Returns the unqualified name of the conformance module (SUPPORTS/MODULE in AGENT-CAPABILITIES/MODULE-COMPLIANCE).
-oid
Returns the ModuleIdentifier OID value for the record, in dot-delimited notation, with the module name and name portion of name-and-number forms (if any) stripped out. That is, a.1.2.3 will be returned even if the OID value is declared in the ASN.1 as { EX-MIB.a b(1) c(2) 3 }.
-value
Equivalent to -oid for get operations.
-valuedecl
Returns the "as-declared" ModuleIdentifier OID value for the record, in dot-delimited notation. If the first component is specified using module.descriptor form it is returned as module:descriptor. That is, SNMPv2-MIB:system.1 will be returned if the OID value is declared in the ASN.1 it as { SNMPv2-MIB.system 1 }.
-variations

Returns a list of identifiers or OID values corresponding to each OBJECT (MODULE-COMPLIANCE) or VARIATION (AGENT-CAPABILITIES) referenced within the conformance module.

var1 var2 var3 ...

  1. Up to Table of Contents