28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

juniperMIB, which is the top node of the Juniper enterprise-specific portion of the<br />

MIBtree. Both these OIDs are absolute references because they start at the root<br />

node, which is indicated by the dot (.) before the first number (.1.3.1.4.1.2636<br />

rather than 1.3.1.4.1.2636). In NMS and JUNOS software, you can refer to the<br />

OIDs by absolute OID or by name; the names are generally easier to remember and<br />

type. Figure 4-1 illustrates a portion of the MIBtree that leads to these OIDs and<br />

shows that each node has both text and a number to identify it.<br />

+-iso(1)<br />

+--org(3)<br />

+--dod(6)<br />

+--internet(1)<br />

| +--directory(1)<br />

| +--mgmt(2)<br />

| +--mib-2(1)<br />

| +--system(1)<br />

| sysDescr(1)<br />

| sysObjectID(2)<br />

| sysUpTime(3)<br />

| sysContact(4)<br />

| sysName(5)<br />

| sysLocation(6)<br />

| sysServices(7)<br />

... |<br />

+-private(4)<br />

+-enterprises(1)<br />

+-juniperMIB(2636)<br />

+-jnxProducts(1)<br />

+-jnxServices(2)<br />

+-jnxMIBs(3)<br />

+-jnxBoxAnatomy(1)<br />

+-mpls(2)<br />

+-ifJnx(32)<br />

+-jnxAlarms(4)<br />

+-jnxFirewalls(5)<br />

+-mpls(2)<br />

...<br />

Figure 4-1. MIB tree with OIDs<br />

The SNMP manager targets specific nodes in the MIBtree when gathering status and<br />

statistics about the agent systems.<br />

While the OID relates to the location in the MIBtree, it is the instance that relates to<br />

the data object or value at that location. For example, the OID .1.3.6.1.2.1.1.4 corresponds<br />

to sysContact, and .1.3.6.1.2.1.1.4.0 corresponds to the value in that<br />

field, such as “Fred Flintstone.”<br />

MIBobjects can be defined as being read-only, meaning that the SNMP manager can<br />

retrieve its information only with an SNMP Get command (or with Get derivatives<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.<br />

Introduction | 131

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

Saved successfully!

Ooh no, something went wrong!