Table 1: Mapping SNMPv1 Primitive Types
MIB Type |
CIM Variant Type |
CIM Qualifier: textual_convention |
CIM Qualifier: encoding |
CIM Qualifier: object_syntax |
CIM Qualifier: cimtype |
Default Value |
INTEGER |
VT_I4 |
INTEGER |
INTEGER |
INTEGER |
sint32 |
NULL |
OCTET STRING |
VT_BSTR |
OCTETSTRING |
OCTETSTRING |
OCTETSTRING |
string |
NULL |
OBJECT IDENTIFIER |
VT_BSTR |
OBJECTIDENTIFIER |
OBJECTIDENTIFIER |
OBJECTIDENTIFIER |
string |
NULL |
NULL |
VT_NULL |
NULL |
NULL |
NULL |
Not supported (1) |
NULL |
IpAddress |
VT_BSTR |
IpAddress |
IpAddress |
IpAddress |
string |
NULL |
Counter |
VT_I4 |
Counter |
Counter |
Counter |
uint32 |
NULL |
Gauge |
VT_I4 |
Gauge |
Gauge |
Gauge |
uint32 |
NULL |
TimeTicks |
VT_I4 |
TimeTicks |
TimeTicks |
TimeTicks |
uint32 |
NULL |
Opaque |
VT_BSTR |
Opaque |
Opaque |
Opaque |
string |
NULL |
NetworkAddress |
VT_BSTR |
NetworkAddress |
NetworkAddress |
NetworkAddress |
string |
NULL |
(1) The OBJECT-TYPE macro is ignored when its SYNTAX clause refers to NULL, either explicitly or through a named type assignment.