Home

MIB Smithy

  1. Up to Table of Contents

OID Tree Format

The OID Tree Format generates a textual representation of the layout of a MIB module in OID space. Each of the nodes up to the root of the OID tree (or as far as can be resolved with loaded modules) is listed, along with any tables and objects. Objects are listed with their syntax and access level (with three characters representing read, write and/or notify access). Obsolete definitions are given with a o character instead of a + character at the branch point.

An example below shows SNMPv2-MIB from RFC 3418 exported to OID Tree Format:

--iso(1)
  |
  +--org(3)
     |
     +--dod(6)
        |
        +--internet(1)
           |
           +--mgmt(2)
           |  |
           |  +--mib-2(1)
           |     |
           |     +--system(1)
           |     |  |
           |     |  +-- r-n DisplayString     sysDescr(1)
           |     |  |
           |     |  +-- r-n ObjectIdentifier  sysObjectID(2)
           |     |  |
           |     |  +-- r-n TimeTicks         sysUpTime(3)
           |     |  |
           |     |  +-- rwn DisplayString     sysContact(4)
           |     |  |
           |     |  +-- rwn DisplayString     sysName(5)
           |     |  |
           |     |  +-- rwn DisplayString     sysLocation(6)
           |     |  |
           |     |  +-- r-n INTEGER           sysServices(7)
           |     |  |
           |     |  +-- r-n TimeStamp         sysORLastChange(8)
           |     |  |
           |     |  +-- --- sysORTable(9)
           |     |     +-- --- sysOREntry(1)
           |     |        +-- --- INTEGER           sysORIndex(1)
           |     |        +-- r-n ObjectIdentifier  sysORID(2)
           |     |        +-- r-n DisplayString     sysORDescr(3)
           |     |        +-- r-n TimeStamp         sysORUpTime(4)
           |     |
           |     +--snmp(11)
           |        |
           |        +-- r-n Counter32 snmpInPkts(1)
           |        |
           |        o-- r-n Counter32 snmpOutPkts(2)
           |        |
           |        +-- r-n Counter32 snmpInBadVersions(3)
           |        |
           |        +-- r-n Counter32 snmpInBadCommunityNames(4)
           |        |
           |        +-- r-n Counter32 snmpInBadCommunityUses(5)
           |        |
           |        +-- r-n Counter32 snmpInASNParseErrs(6)
           |        |
           |        o-- r-n Counter32 snmpInTooBigs(8)
           |        |
           |        o-- r-n Counter32 snmpInNoSuchNames(9)
           |        |
           |        o-- r-n Counter32 snmpInBadValues(10)
           |        |
           |        o-- r-n Counter32 snmpInReadOnlys(11)
           |        |
           |        o-- r-n Counter32 snmpInGenErrs(12)
           |        |
           |        o-- r-n Counter32 snmpInTotalReqVars(13)
           |        |
           |        o-- r-n Counter32 snmpInTotalSetVars(14)
           |        |
           |        o-- r-n Counter32 snmpInGetRequests(15)
           |        |
           |        o-- r-n Counter32 snmpInGetNexts(16)
           |        |
           |        o-- r-n Counter32 snmpInSetRequests(17)
           |        |
           |        o-- r-n Counter32 snmpInGetResponses(18)
           |        |
           |        o-- r-n Counter32 snmpInTraps(19)
           |        |
           |        o-- r-n Counter32 snmpOutTooBigs(20)
           |        |
           |        o-- r-n Counter32 snmpOutNoSuchNames(21)
           |        |
           |        o-- r-n Counter32 snmpOutBadValues(22)
           |        |
           |        o-- r-n Counter32 snmpOutGenErrs(24)
           |        |
           |        o-- r-n Counter32 snmpOutGetRequests(25)
           |        |
           |        o-- r-n Counter32 snmpOutGetNexts(26)
           |        |
           |        o-- r-n Counter32 snmpOutSetRequests(27)
           |        |
           |        o-- r-n Counter32 snmpOutGetResponses(28)
           |        |
           |        o-- r-n Counter32 snmpOutTraps(29)
           |        |
           |        +-- rwn INTEGER   snmpEnableAuthenTraps(30)
           |        |
           |        +-- r-n Counter32 snmpSilentDrops(31)
           |        |
           |        +-- r-n Counter32 snmpProxyDrops(32)
           |
           +--snmpV2(6)
              |
              +--snmpModules(3)
                 |
                 +--snmpMIB(1)
                    |
                    +--snmpMIBObjects(1)
                    |  |
                    |  +--snmpTrap(4)
                    |  |  |
                    |  |  +-- --n ObjectIdentifier  snmpTrapOID(1)
                    |  |  |
                    |  |  +-- --n ObjectIdentifier  snmpTrapEnterprise(3)
                    |  |
                    |  +--snmpTraps(5)
                    |  |  |
                    |  |  +--coldStart(1)
                    |  |  |
                    |  |  +--warmStart(2)
                    |  |  |
                    |  |  +--authenticationFailure(5)
                    |  |
                    |  +--snmpSet(6)
                    |     |
                    |     +-- rwn TestAndIncr snmpSetSerialNo(1)
                    |
                    +--snmpMIBConformance(2)
                       |
                       +--snmpMIBCompliances(1)
                       |  |
                       |  x--snmpBasicCompliance(2)
                       |  |
                       |  +--snmpBasicComplianceRev2(3)
                       |
                       +--snmpMIBGroups(2)
                          |
                          +--snmpSetGroup(5)
                          |
                          +--systemGroup(6)
                          |
                          +--snmpBasicNotificationsGroup(7)
                          |
                          +--snmpGroup(8)
                          |
                          +--snmpCommunityGroup(9)
                          |
                          o--snmpObsoleteGroup(10)
                          |
                          +--snmpWarmStartNotificationGroup(11)
                          |
                          +--snmpNotificationGroup(12)
  1. Up to Table of Contents