Tnm::mib scan nodeOrType value

The Tnm::mib scan command implements the inverse operation of the Tnm::mib format command described above. It converts a rendered value into the underlying base type representation. 

The Tnm::mib scan command returns the value unaltered if no conversions apply. The conversion rules depend on the nodeOrType argument.

If nodeOrType refers to a MIB node, the type associated with that MIB node will be used. The nodeOrType argument may be a node name, a type name or an object identifier in one of the formats discussed above.

The Tnm::mib scan is useful in situations where you want to operate on the primitive format rather than the rendered format. This allows in some cases to implement calculations based on the base type in a straight forward way, which would be difficult to do on the rendered value.