mibII_tree.def revision 122394
1#
2# Copyright (c) 2001-2003
3#	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4#	All rights reserved.
5#
6# Author: Harti Brandt <harti@freebsd.org>
7#
8# Redistribution of this software and documentation and use in source and
9# binary forms, with or without modification, are permitted provided that
10# the following conditions are met:
11#
12# 1. Redistributions of source code or documentation must retain the above
13#    copyright notice, this list of conditions and the following disclaimer.
14# 2. Redistributions in binary form must reproduce the above copyright
15#    notice, this list of conditions and the following disclaimer in the
16#    documentation and/or other materials provided with the distribution.
17# 3. Neither the name of the Institute nor the names of its contributors
18#    may be used to endorse or promote products derived from this software
19#    without specific prior written permission.
20#
21# THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY FRAUNHOFER FOKUS
22# AND ITS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
23# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
24# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
25# FRAUNHOFER FOKUS OR ITS CONTRIBUTORS  BE LIABLE FOR ANY DIRECT, INDIRECT,
26# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
28# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
31# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32#
33# $Begemot: bsnmp/snmp_mibII/mibII_tree.def,v 1.10 2002/02/06 12:43:51 hbb Exp $
34#
35# Definition of the standard interfaces and ip trees.
36#
37(1 internet
38  (2 mgmt
39    (1 mib2
40      (2 interfaces
41        (1 ifNumber INTEGER op_interfaces GET)
42        (2 ifTable
43          (1 ifEntry : INTEGER op_ifentry
44            (1 ifIndex INTEGER GET)
45            (2 ifDescr OCTETSTRING GET)
46            (3 ifType INTEGER GET)
47            (4 ifMtu INTEGER32 GET)
48            (5 ifSpeed GAUGE GET)
49            (6 ifPhysAddress OCTETSTRING GET)
50            (7 ifAdminStatus INTEGER GET SET)
51            (8 ifOperStatus INTEGER GET)
52            (9 ifLastChange TIMETICKS GET)
53            (10 ifInOctets COUNTER GET)
54            (11 ifInUcastPkts COUNTER GET)
55            (12 ifInNUcastPkts COUNTER GET)
56            (13 ifInDiscards COUNTER GET)
57            (14 ifInErrors COUNTER GET)
58            (15 ifInUnknownProtos COUNTER GET)
59            (16 ifOutOctets COUNTER GET)
60            (17 ifOutUcastPkts COUNTER GET)
61            (18 ifOutNUcastPkts COUNTER GET)
62            (19 ifOutDiscards COUNTER GET)
63            (20 ifOutErrors COUNTER GET)
64            (21 ifOutQLen GAUGE GET)
65            (22 ifSpecific OID GET)
66        ))
67      )
68      (4 ip
69        (1 ipForwarding INTEGER op_ip GET SET)
70        (2 ipDefaultTTL INTEGER op_ip GET SET)
71        (3 ipInReceives COUNTER op_ipstat GET)
72        (4 ipInHdrErrors COUNTER op_ipstat GET)
73        (5 ipInAddrErrors COUNTER op_ipstat GET)
74        (6 ipForwDatagrams COUNTER op_ipstat GET)
75        (7 ipInUnknownProtos COUNTER op_ipstat GET)
76        (8 ipInDiscards COUNTER op_ipstat GET)
77        (9 ipInDelivers COUNTER op_ipstat GET)
78        (10 ipOutRequests COUNTER op_ipstat GET)
79        (11 ipOutDiscards COUNTER op_ipstat GET)
80        (12 ipOutNoRoutes COUNTER op_ipstat GET)
81        (13 ipReasmTimeout INTEGER32 op_ipstat GET)
82        (14 ipReasmReqds COUNTER op_ipstat GET)
83        (15 ipReasmOKs COUNTER op_ipstat GET)
84        (16 ipReasmFails COUNTER op_ipstat GET)
85        (17 ipFragOKs COUNTER op_ipstat GET)
86        (18 ipFragFails COUNTER op_ipstat GET)
87        (19 ipFragCreates COUNTER op_ipstat GET)
88        (20 ipAddrTable
89          (1 ipAddrEntry : IPADDRESS op_ipaddr
90            (1 ipAdEntAddr IPADDRESS GET)
91            (2 ipAdEntIfIndex INTEGER GET SET)
92            (3 ipAdEntNetMask IPADDRESS GET SET)
93            (4 ipAdEntBcastAddr INTEGER GET SET)
94            (5 ipAdEntReasmMaxSize INTEGER GET)
95        ))
96        (22 ipNetToMediaTable
97          (1 ipNetToMediaEntry : INTEGER IPADDRESS op_nettomedia
98            (1 ipNetToMediaIfIndex INTEGER GET)
99            (2 ipNetToMediaPhysAddress OCTETSTRING GET)
100            (3 ipNetToMediaNetAddress IPADDRESS GET)
101            (4 ipNetToMediaType INTEGER GET)
102        ))
103        (23 ipRoutingDiscards INTEGER op_ipstat)	# not available
104        (24 ipForward
105          (3 ipCidrRouteNumber GAUGE op_route GET)
106          (4 ipCidrRouteTable
107            (1 ipCidrRouteEntry : IPADDRESS IPADDRESS INTEGER IPADDRESS op_route_table
108              (1 ipCidrRouteDest IPADDRESS GET)
109              (2 ipCidrRouteMask IPADDRESS GET)
110              (3 ipCidrRouteTos INTEGER GET)
111              (4 ipCidrRouteNextHop IPADDRESS GET)
112              (5 ipCidrRouteIfIndex INTEGER GET)	# SET
113              (6 ipCidrRouteType INTEGER GET)		# SET
114              (7 ipCidrRouteProto INTEGER GET)
115              (8 ipCidrRouteAge INTEGER GET)
116              (9 ipCidrRouteInfo OID GET)		# SET
117              (10 ipCidrRouteNextHopAS INTEGER GET)	# SET
118              (11 ipCidrRouteMetric1 INTEGER GET)	# SET
119              (12 ipCidrRouteMetric2 INTEGER GET)	# SET
120              (13 ipCidrRouteMetric3 INTEGER GET)	# SET
121              (14 ipCidrRouteMetric4 INTEGER GET)	# SET
122              (15 ipCidrRouteMetric5 INTEGER GET)	# SET
123              (16 ipCidrRouteStatus INTEGER GET)	# SET
124          ))
125        )
126      )
127      (5 icmp
128        (1 icmpInMsgs COUNTER op_icmpstat GET)
129        (2 icmpInErrors COUNTER op_icmpstat GET)
130        (3 icmpInDestUnreachs COUNTER op_icmpstat GET)
131        (4 icmpInTimeExcds COUNTER op_icmpstat GET)
132        (5 icmpInParmProbs COUNTER op_icmpstat GET)
133        (6 icmpInSrcQuenchs COUNTER op_icmpstat GET)
134        (7 icmpInRedirects COUNTER op_icmpstat GET)
135        (8 icmpInEchos COUNTER op_icmpstat GET)
136        (9 icmpInEchoReps COUNTER op_icmpstat GET)
137        (10 icmpInTimestamps COUNTER op_icmpstat GET)
138        (11 icmpInTimestampReps COUNTER op_icmpstat GET)
139        (12 icmpInAddrMasks COUNTER op_icmpstat GET)
140        (13 icmpInAddrMaskReps COUNTER op_icmpstat GET)
141        (14 icmpOutMsgs COUNTER op_icmpstat GET)
142        (15 icmpOutErrors COUNTER op_icmpstat GET)
143        (16 icmpOutDestUnreachs COUNTER op_icmpstat GET)
144        (17 icmpOutTimeExcds COUNTER op_icmpstat GET)
145        (18 icmpOutParmProbs COUNTER op_icmpstat GET)
146        (19 icmpOutSrcQuenchs COUNTER op_icmpstat GET)
147        (20 icmpOutRedirects COUNTER op_icmpstat GET)
148        (21 icmpOutEchos COUNTER op_icmpstat GET)
149        (22 icmpOutEchoReps COUNTER op_icmpstat GET)
150        (23 icmpOutTimestamps COUNTER op_icmpstat GET)
151        (24 icmpOutTimestampReps COUNTER op_icmpstat GET)
152        (25 icmpOutAddrMasks COUNTER op_icmpstat GET)
153        (26 icmpOutAddrMaskReps COUNTER op_icmpstat GET)
154      )
155      (6 tcp
156        (1 tcpRtoAlgorithm INTEGER op_tcp GET)
157        (2 tcpRtoMin INTEGER32 op_tcp GET)
158        (3 tcpRtoMax INTEGER32 op_tcp GET)
159        (4 tcpMaxConn INTEGER32 op_tcp GET)
160        (5 tcpActiveOpens COUNTER op_tcp GET)
161        (6 tcpPassiveOpens COUNTER op_tcp GET)
162        (7 tcpAttemptFails COUNTER op_tcp GET)
163        (8 tcpEstabResets COUNTER op_tcp GET)
164        (9 tcpCurrEstab GAUGE op_tcp GET)
165        (10 tcpInSegs COUNTER op_tcp GET)
166        (11 tcpOutSegs COUNTER op_tcp GET)
167        (12 tcpRetransSegs COUNTER op_tcp GET)
168        (13 tcpConnTable
169          (1 tcpConnEntry : IPADDRESS INTEGER IPADDRESS INTEGER op_tcpconn
170            (1 tcpConnState INTEGER GET)
171            (2 tcpConnLocalAddress IPADDRESS GET)
172            (3 tcpConnLocalPort INTEGER GET)
173            (4 tcpConnRemAddress IPADDRESS GET)
174            (5 tcpConnRemPort INTEGER GET)
175        ))
176        (14 tcpInErrs COUNTER op_tcp GET)
177        (15 tcpOutRsts COUNTER op_tcp)		# don't know
178      )
179      (7 udp
180        (1 udpInDatagrams COUNTER op_udp GET)
181        (2 udpNoPorts COUNTER op_udp GET)
182        (3 udpInErrors COUNTER op_udp GET)
183        (4 udpOutDatagrams COUNTER op_udp GET)
184        (5 udpTable
185          (1 udpEntry : IPADDRESS INTEGER op_udptable
186            (1 udpLocalAddress IPADDRESS GET)
187            (2 udpLocalPort INTEGER GET)
188        ))
189      )
190      (31 ifMIB
191        (1 ifMIBObjects
192          (1 ifXTable
193            (1 ifXEntry : INTEGER op_ifxtable
194              (1 ifName OCTETSTRING GET)
195              (2 ifInMulticastPkts COUNTER GET)
196              (3 ifInBroadcastPkts COUNTER GET)
197              (4 ifOutMulticastPkts COUNTER GET)
198              (5 ifOutBroadcastPkts COUNTER GET)
199              (6 ifHCInOctets COUNTER64 GET)
200              (7 ifHCInUcastPkts COUNTER64 GET)
201              (8 ifHCInMulticastPkts COUNTER64 GET)
202              (9 ifHCInBroadcastPkts COUNTER64 GET)
203              (10 ifHCOutOctets COUNTER64 GET)
204              (11 ifHCOutUcastPkts COUNTER64 GET)
205              (12 ifHCOutMulticastPkts COUNTER64 GET)
206              (13 ifHCOutBroadcastPkts COUNTER64 GET)
207              (14 ifLinkUpDownTrapEnable INTEGER GET SET)
208              (15 ifHighSpeed GAUGE GET)
209              (16 ifPromiscuousMode INTEGER GET SET)
210              (17 ifConnectorPresent INTEGER GET)
211              (18 ifAlias OCTETSTRING GET)
212              (19 ifCounterDiscontinuityTime TIMETICKS GET)
213          ))
214          (2 ifStackTable
215            (1 ifStackEntry : INTEGER INTEGER op_ifstack
216              (1 ifStackHigherLayer INTEGER)
217              (2 ifStackLowerLayer INTEGER)
218              (3 ifStackStatus INTEGER GET)
219          ))
220          (4 ifRcvAddressTable
221            (1 ifRcvAddressEntry : INTEGER OCTETSTRING op_rcvaddr
222              (1 ifRcvAddressAddress OCTETSTRING)
223              (2 ifRcvAddressStatus INTEGER GET)
224              (3 ifRcvAddressType INTEGER GET)
225          ))
226          (5 ifTableLastChange TIMETICKS op_ifmib GET)
227          (6 ifStackLastChange TIMETICKS op_ifmib GET)
228        )
229      )
230      (48 ipMIB
231      )
232      (49 tcpMIB
233      )
234      (50 udpMIB
235      )
236  ))
237  (6 snmpV2
238    (3 snmpModules
239      (1 snmpMIB
240        (1 snmpMIBObjects
241          (5 snmpTraps
242            (3 linkDown OID op_snmp_trap)
243            (4 linkUp OID op_snmp_trap)
244          )
245        )
246      )
247  ))
248)
249