ResolveOID: bootstrap.mib

File bootstrap.mib, 3.3 kB (added by pbi, 1 year ago)

Contains the beginning of the tree, that most other MIB suppose already knwon

Line 
1 RFC1155-SMI DEFINITIONS ::= BEGIN
2
3 EXPORTS -- EVERYTHING
4         internet, directory, mgmt,
5         experimental, private, enterprises,
6         OBJECT-TYPE, ObjectName, ObjectSyntax, SimpleSyntax,
7         ApplicationSyntax, NetworkAddress, IpAddress,
8         Counter, Gauge, TimeTicks, Opaque;
9
10  -- the path to the root
11
12  standard      OBJECT IDENTIFIER ::= { iso 0 }
13  registration-authority   OBJECT IDENTIFIER ::= { iso 1 }
14  member-body   OBJECT IDENTIFIER ::= { iso 2 }
15  org           OBJECT IDENTIFIER ::= { member-body 3 }
16  dod           OBJECT IDENTIFIER ::= { org 6 }
17
18  internet      OBJECT IDENTIFIER ::= { dod 1 }
19
20  directory     OBJECT IDENTIFIER ::= { internet 1 }
21  mgmt          OBJECT IDENTIFIER ::= { internet 2 }
22  experimental  OBJECT IDENTIFIER ::= { internet 3 }
23  private       OBJECT IDENTIFIER ::= { internet 4 }
24  security      OBJECT IDENTIFIER ::= { internet 5 }
25
26  enterprises   OBJECT IDENTIFIER ::= { private 1 }
27
28  -- definition of object types
29
30  OBJECT-TYPE MACRO ::=
31  BEGIN
32      TYPE NOTATION ::= "SYNTAX" type (TYPE ObjectSyntax)
33                        "ACCESS" Access
34                        "STATUS" Status
35      VALUE NOTATION ::= value (VALUE ObjectName)
36
37      Access ::= "read-only"
38                      | "read-write"
39                      | "write-only"
40                      | "not-accessible"
41      Status ::= "mandatory"
42                      | "optional"
43                      | "obsolete"
44  END
45
46     -- names of objects in the MIB
47
48     ObjectName ::=
49         OBJECT IDENTIFIER
50
51     -- syntax of objects in the MIB
52
53     ObjectSyntax ::=
54         CHOICE {
55             simple
56                 SimpleSyntax,
57     -- note that simple SEQUENCEs are not directly
58     -- mentioned here to keep things simple (i.e.,
59     -- prevent mis-use).  However, application-wide
60     -- types which are IMPLICITly encoded simple
61     -- SEQUENCEs may appear in the following CHOICE
62
63             application-wide
64                 ApplicationSyntax
65         }
66
67        SimpleSyntax ::=
68            CHOICE {
69                number
70                    INTEGER,
71                string
72                    OCTET STRING,
73                object
74                    OBJECT IDENTIFIER,
75                empty
76                    NULL
77            }
78
79        ApplicationSyntax ::=
80            CHOICE {
81                address
82                    NetworkAddress,
83                counter
84                    Counter,
85                gauge
86                    Gauge,
87                ticks
88                    TimeTicks,
89                arbitrary
90                    Opaque
91
92        -- other application-wide types, as they are
93        -- defined, will be added here
94            }
95
96        -- application-wide types
97
98        NetworkAddress ::=
99            CHOICE {
100                internet
101                    IpAddress
102            }
103
104        IpAddress ::=
105            [APPLICATION 0]          -- in network-byte order
106                IMPLICIT OCTET STRING (SIZE (4))
107
108        Counter ::=
109            [APPLICATION 1]
110                IMPLICIT INTEGER (0..4294967295)
111
112        Gauge ::=
113            [APPLICATION 2]
114                IMPLICIT INTEGER (0..4294967295)
115
116        TimeTicks ::=
117            [APPLICATION 3]
118                IMPLICIT INTEGER (0..4294967295)
119
120        Opaque ::=
121            [APPLICATION 4]          -- arbitrary ASN.1 value,
122                IMPLICIT OCTET STRING   --   "double-wrapped"
123
124        END