09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• DESCRIPTION—Details <strong>the</strong> role or function of <strong>the</strong> managed object and how <strong>to</strong><br />

use it.<br />

• REFERENCE—This is an optional definition used when <strong>the</strong> object is derived<br />

from a previously defined object. It points <strong>to</strong> <strong>the</strong> object that was used as a<br />

basis for <strong>the</strong> current object.<br />

• INDEX—When an object contains a list or tabular data values, INDEX clauses<br />

are used <strong>to</strong> distinguish data values in different tables and rows.<br />

• DEFVAL—Ano<strong>the</strong>r optional definition used <strong>to</strong> provide information regarding<br />

<strong>the</strong> default value <strong>to</strong> be used with this object.<br />

Three main ASN.1 data types are used for formatting SMI data type definitions<br />

within MIB objects:<br />

• Universal—ASN.1 universal "simple" data types are unique values associated<br />

with an ASN.1 data type. There are four SMI data types defined for SNMP v1.<br />

The SNMP v2 SMI added one additional data type. As indicated above, simple<br />

data types are expressed using ASN.1 keywords. All five types are described<br />

in Table 11.4.<br />

Table 11.4. ASN.1, (SMI v1 and SMI v2) Simple Data Types<br />

Data Type Description<br />

INTEGER A signed number between -2,147,483,648 and 2,147,483,648.<br />

ASN.1 specifies no INTEGER size limit. The SMI, however, limits<br />

it <strong>to</strong> 32 bits in length.<br />

OCTET A sequence of octets, which are 8 bits in length. The octets can<br />

STRINGS represent ASCI or binary data.<br />

OBJECT A data type used for identifying <strong>the</strong> location of a data type. (We<br />

IDENTIFER will look at object identifiers fur<strong>the</strong>r when we discuss SNMP<br />

MIBs).<br />

NULL Both a data type and a data value. It is used as a placeholder or<br />

<strong>to</strong> indicate that a data type does not contain any valid data<br />

BIT STRING The BIT STRING data type was added in <strong>the</strong> SMI for SNMP v2. It<br />

is a sequence of zero or more bits that represent a data value.<br />

The value can be binary or hexadecimal.<br />

• Tagged—ASN.1 tagged data types provide <strong>the</strong> capability <strong>to</strong> create new data<br />

types, which are actually just specific definitions of universal (INTEGER and<br />

OCTET STRING) ASN.1 data types. Tagged data types must be ei<strong>the</strong>r globally<br />

unique within <strong>the</strong> ASN.1 implementation or within a given ASN.1 module.<br />

There are four types or classes of tags defined by ASN.1 for this purpose:<br />

universal tags, which are defined <strong>to</strong> identify globally unique data types;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!