25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

As an example, consider the object ifType, defined by RFC 2863. ifType is part of<br />

the Interface group defined by RFC 1213. Its SMIv2 definitions is illustrated in<br />

Figure 17-1.<br />

ifType OBJECT-TYPE<br />

SYNTAX IANAifType<br />

MAX-ACCESS read-only<br />

STATUS current<br />

DESCR<strong>IP</strong>TION<br />

“The type of interface. Additional values for ifType are<br />

assigned by the Internet Assigned Numbers Authority<br />

(IANA), through updating the syntax of the IANAifType<br />

textual convention.”<br />

::= { ifEntry 3 }<br />

Figure 17-1 SMIv2 definition of sysUpTime<br />

Object identifiers (OIDs)<br />

A managed object not only has to be described but identified, too. This is done<br />

using the ASN.1 object identifier (OID). The object identifier reserves a set of<br />

numbers for different groups. Each object is identified by a string of numbers<br />

indicating the hierarchy to which it belongs. Referring back to the example of<br />

ifType, this object has an OID of 1.3.6.1.2.1.2.2.1.3. This can initially be broken<br />

into two parts:<br />

ifEntry 1.3.6.1.2.1.2.2.1<br />

ifType 3<br />

Note that the terms ifType, 1.3.6.1.2.1.2.2.1.3, <strong>and</strong> ifEntry.3 are functionally<br />

interchangeable. However, ifType’s OID can be further broken down as follows:<br />

ifTable 1.3.6.1.2.1.2.2<br />

ifEntry 1<br />

ifType 3<br />

Again, the terms ifType, 1.3.6.1.2.1.2.2.1.3, ifTable.1.3, <strong>and</strong> ifEntry.3 are all<br />

functionally interchangeable. The OID can continue to be broken down because<br />

each digit has a specific meaning. The significance of each digit adheres to the<br />

following rules:<br />

► The first digit defines the node administrator:<br />

– 1 for ISO<br />

628 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong>

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

Saved successfully!

Ooh no, something went wrong!