Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Management information base
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===SNMPv1 and SMI-specific data types=== The first version of the [[Structure of Management Information]] (SMIv1) specifies the use of a number of SMI-specific data types, which are divided into two categories: simple data types and application-wide data types. ====Simple data types==== Three simple data types are defined in the SNMPv1 SMI: * The ''integer'' data type is a signed integer in the range of β2<sup>31</sup> to 2<sup>31</sup>β1. * ''Octet strings'' are ordered sequences of 0 to 65,535 octets. * ''Object IDs'' represent object identifiers that are allocated according to the rules specified in ASN.1. ====Application-wide data types==== The following application-wide data types exist in the SNMPv1 SMI: *''Network addresses'' represent addresses from a particular protocol family. SMIv1 supports only 32-bit (IPv4) addresses. SMIv2 uses Octet Strings to represent addresses generically, and thus are usable in SMIv1 too. SMIv1 had an explicit IPv4 address datatype. *''Counters'' are non-negative integers that increase until they reach a maximum value and then roll over to zero. SNMPv1 specifies a counter size of 32 bits. *''Gauges'' are non-negative integers that can increase or decrease between specified minimum and maximum values. Whenever the system property represented by the gauge is outside of that range, the value of the gauge itself will vary no further than the respective maximum or minimum, as specified in {{IETF RFC|2578}}. *''Time ticks'' represent time since some event, measured in hundredths of a second. *''Opaques'' represent an arbitrary encoding that is used to pass arbitrary information strings that do not conform to the strict data typing used by the SMI. *''Integers'' represent signed integer-valued information. This data type redefines the integer data type, which has arbitrary precision in ASN.1 but bounded precision in the SMI. *''Unsigned integers'' represent unsigned integer-valued information, which is useful when values are always non-negative. This data type redefines the integer data type, which has arbitrary precision in ASN.1 but bounded precision in the SMI.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)