|
The various values that are to be specified in a SET operation with respect to the SYNTAX of the object is given in the following table.
| Base
Data Types or TCs |
How to Set the Value | ||
|---|---|---|---|
| Value | Value in Hexadecimal | Value in Binary | |
| INTEGER
Integer32 |
100 |
'64'h |
'1100100'b |
|
Unsigned32 |
100 |
'64'h |
'1100100'b |
|
OCTET STRING |
adventnet |
|
|
|
OBJECT IDENTIFIER |
1.3.6.1.2.1.1.1.0 or 1.1.0 |
|
|
|
NULL |
|
|
|
| Counter
Counter32 |
100 |
'64'h |
'1100100'b |
|
Counter64 |
100 |
'64'h |
|
|
Gauge Gauge32 |
100 |
'64'h |
'1100100'b |
|
BITS STRING |
|
|
|
|
BITS {zero(0), one(1), two(2), three(3), four(4), five(5) } |
1 3 5 one three five one 3 five |
'54'h/'54'H or 54h/54H
'50'h'/'50'H or '5'h/'50'H |
'010101000'b '010101'b 010101000b 010101b |
|
TIMETICKS |
100 |
'64'h |
'1100100'b |
|
IpAddress |
192.168.1.220/ hostName |
|
|
|
NetworkAddress |
192.168.1.220/ hostName |
|
|
|
OPAQUE |
|
'64'h |
|
|
DateAndTime |
1995-9-21, 13:53:32.3, -7:0
or
995-9-21, 13:53:32.3 |
'07:cb:09:15:0d:35: 20:03:2d:07:00' or
'07:cb:09:15:0d:35: 20:03' |
|
|
TAddress |
192.168.1.120/ 161 |
|
|
|
MacAddress |
|
f1:f2:f3:f4:f5:f6 |
|
Refer Handling Datatypes for more information on datatypes.
|