Connected: An Internet Encyclopedia
7.1.1. Integer32 and INTEGER
Up:
Connected: An Internet Encyclopedia
Up:
Requests For Comments
Up:
RFC 1902
Up:
7. Mapping of the OBJECT-TYPE macro
Up:
7.1. Mapping of the SYNTAX clause
Prev: 7.1. Mapping of the SYNTAX clause
Next: 7.1.2. OCTET STRING
7.1.1. Integer32 and INTEGER
7.1.1. Integer32 and INTEGER
The Integer32 type represents integer-valued information between
-2^31 and 2^31-1 inclusive (-2147483648 to 2147483647 decimal). This
type is indistinguishable from the INTEGER type. Both the INTEGER
and Integer32 types may be sub-typed to be more constrained than the
Integer32 type.
The INTEGER type may also be used to represent integer-valued
information as named-number enumerations. In this case, only those
named-numbers so enumerated may be present as a value. Note that
although it is recommended that enumerated values start at 1 and be
numbered contiguously, any valid value for Integer32 is allowed for
an enumerated value and, further, enumerated values needn't be
contiguously assigned.
Finally, a label for a named-number enumeration must consist of one
or more letters or digits (no hyphens), up to a maximum of 64
characters, and the initial character must be a lower-case letter.
(However, labels longer than 32 characters are not recommended.)
Next: 7.1.2. OCTET STRING
Connected: An Internet Encyclopedia
7.1.1. Integer32 and INTEGER