Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

The whole site in one document for easy reference!
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Network Configuration and Management Protocols (BOOTP, DHCP, SNMP and RMON)
           9  TCP/IP Network Management Framework and Protocols (SNMP and RMON)
                9  TCP/IP Structure of Management Information (SMI) and Management Information Bases (MIBs)

Previous Topic/Section
TCP/IP Structure of Management Information (SMI) and Management Information Bases (MIBs) Overview
Previous Page
Pages in Current Topic/Section
12
3
4
Next Page
TCP/IP MIB Object Descriptors and Identifiers and the Object Name Hierarchy and Name Notation
Next Topic/Section

TCP/IP MIB Objects, Object Characteristics and Object Types
(Page 3 of 4)

SMIv2 MIB Object Optional Characteristics

SMIv2 adds the following optional characteristics that may appear in the definition of an object:

  • Units: A text description of the units associated with the object.

  • Reference: A text cross-reference to a related document or other information of relevance to the object.

  • Index: A value used to define objects that are actually more complex “rows” of other objects.

  • Augments: An alternative to the Index field.

  • DefVal: Defines an acceptable default value for the object.
SMI Regular Data Types

Table 206 shows the regular data types supported for objects in both SMIv1 and SMIv2. (The names with “32” in them are the ones used in SMIv2; they were changed to make the type's bit size explicit.) The first five entries in the table are primitive types, the rest are defined types, using the SMIv1 terminology.


Table 206: SNMP SMI Regular Data Types

Data Type Code

Description

SMIv1?

SMIv2?

Integer / Integer32

A 32-bit signed integer in two's complement notation, capable of holding a value from -2,147,483,648 to +2,147,483,647. Can also be used to represent an enumerated type; for example, where 1 represents a particular constant, 2 represents a different one, and so on.

Yes

Yes

Octet String

A variable-length string of binary or text data.

Yes

Yes

Null

Nothing.

Yes

Bits

An enumeration of named bits. Used to allow a set of bit flags to be treated as a single data type.

Yes

Unsigned

A 32-bit unsigned integer, from 0 to 4,294,967,295.

Yes

Network Address / IpAddress

An IP address, encoded as a 4-byte octet string.

Yes

Yes

Counter / Counter32

A 32-bit unsigned integer, that begins at 0 and increases up to 4,294,967,295, then wraps back to 0.

Yes

Yes

Gauge / Gauge32

A 32-bit unsigned integer, that may have a value from 0 to 4,294,967,295 and may increase or decrease, like a gauge. A minimum and maximum value are associated with the gauge, indicating its normal range.

Yes

Yes

TimeTicks

A 32-bit unsigned integer that indicates the number of hundredths of seconds since some arbitrary start date. Used for timestamping and to compute elapsed time.

Yes

Yes

Opaque

Data using arbitrary ASN.1 syntax that is to be passed between devices without being interpreted. As in NFS's XDR, the term “opaque” means that the data is treated like a “black box” whose internal details cannot be seen.

Yes

Yes

Counter64

A counter like Counter32 but 64 bits wide, allowing a value from 0 to 18,446,744,073,709,551,615.

Yes


Previous Topic/Section
TCP/IP Structure of Management Information (SMI) and Management Information Bases (MIBs) Overview
Previous Page
Pages in Current Topic/Section
12
3
4
Next Page
TCP/IP MIB Object Descriptors and Identifiers and the Object Name Hierarchy and Name Notation
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.