mibII_tree.def revision 155602
1209513Simp#
2209513Simp# Copyright (c) 2001-2003
3209552Simp#	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4209513Simp#	All rights reserved.
5209513Simp#
6209513Simp# Author: Harti Brandt <harti@freebsd.org>
7209513Simp# 
8209513Simp# Redistribution and use in source and binary forms, with or without
9209513Simp# modification, are permitted provided that the following conditions
10209513Simp# are met:
11209513Simp# 1. Redistributions of source code must retain the above copyright
12209513Simp#    notice, this list of conditions and the following disclaimer.
13209513Simp# 2. Redistributions in binary form must reproduce the above copyright
14209513Simp#    notice, this list of conditions and the following disclaimer in the
15209513Simp#    documentation and/or other materials provided with the distribution.
16209513Simp# 
17209513Simp# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18209513Simp# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19209513Simp# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20209513Simp# ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
21209513Simp# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22209513Simp# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23209513Simp# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24209513Simp# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25209513Simp# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26209513Simp# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27209513Simp# SUCH DAMAGE.
28209513Simp#
29209513Simp# $Begemot: bsnmp/snmp_mibII/mibII_tree.def,v 1.12 2004/08/06 08:47:05 brandt Exp $
30209513Simp#
31209513Simp# Definition of the standard interfaces and ip trees.
32209513Simp#
33209513Simp(1 internet
34209513Simp  (2 mgmt
35209513Simp    (1 mib2
36220059Sjpaetzel      (2 interfaces
37220059Sjpaetzel        (1 ifNumber INTEGER op_interfaces GET)
38209513Simp        (2 ifTable
39209513Simp          (1 ifEntry : INTEGER op_ifentry
40209513Simp            (1 ifIndex INTEGER GET)
41209513Simp            (2 ifDescr OCTETSTRING GET)
42209513Simp            (3 ifType INTEGER GET)
43220059Sjpaetzel            (4 ifMtu INTEGER32 GET)
44209513Simp            (5 ifSpeed GAUGE GET)
45209513Simp            (6 ifPhysAddress OCTETSTRING GET)
46209513Simp            (7 ifAdminStatus INTEGER GET SET)
47209513Simp            (8 ifOperStatus INTEGER GET)
48209513Simp            (9 ifLastChange TIMETICKS GET)
49209513Simp            (10 ifInOctets COUNTER GET)
50209513Simp            (11 ifInUcastPkts COUNTER GET)
51209513Simp            (12 ifInNUcastPkts COUNTER GET)
52209513Simp            (13 ifInDiscards COUNTER GET)
53232899Sjpaetzel            (14 ifInErrors COUNTER GET)
54220059Sjpaetzel            (15 ifInUnknownProtos COUNTER GET)
55209513Simp            (16 ifOutOctets COUNTER GET)
56209513Simp            (17 ifOutUcastPkts COUNTER GET)
57220059Sjpaetzel            (18 ifOutNUcastPkts COUNTER GET)
58220059Sjpaetzel            (19 ifOutDiscards COUNTER GET)
59209513Simp            (20 ifOutErrors COUNTER GET)
60232899Sjpaetzel            (21 ifOutQLen GAUGE GET)
61209513Simp            (22 ifSpecific OID GET)
62232510Seadler        ))
63220059Sjpaetzel      )
64211488Simp      (4 ip
65211488Simp        (1 ipForwarding INTEGER op_ip GET SET)
66211488Simp        (2 ipDefaultTTL INTEGER op_ip GET SET)
67209513Simp        (3 ipInReceives COUNTER op_ipstat GET)
68209513Simp        (4 ipInHdrErrors COUNTER op_ipstat GET)
69209513Simp        (5 ipInAddrErrors COUNTER op_ipstat GET)
70209513Simp        (6 ipForwDatagrams COUNTER op_ipstat GET)
71209513Simp        (7 ipInUnknownProtos COUNTER op_ipstat GET)
72209513Simp        (8 ipInDiscards COUNTER op_ipstat GET)
73209513Simp        (9 ipInDelivers COUNTER op_ipstat GET)
74209513Simp        (10 ipOutRequests COUNTER op_ipstat GET)
75209513Simp        (11 ipOutDiscards COUNTER op_ipstat GET)
76209513Simp        (12 ipOutNoRoutes COUNTER op_ipstat GET)
77209513Simp        (13 ipReasmTimeout INTEGER32 op_ipstat GET)
78225657Sjpaetzel        (14 ipReasmReqds COUNTER op_ipstat GET)
79225657Sjpaetzel        (15 ipReasmOKs COUNTER op_ipstat GET)
80225657Sjpaetzel        (16 ipReasmFails COUNTER op_ipstat GET)
81225657Sjpaetzel        (17 ipFragOKs COUNTER op_ipstat GET)
82225657Sjpaetzel        (18 ipFragFails COUNTER op_ipstat GET)
83225657Sjpaetzel        (19 ipFragCreates COUNTER op_ipstat GET)
84225657Sjpaetzel        (20 ipAddrTable
85225657Sjpaetzel          (1 ipAddrEntry : IPADDRESS op_ipaddr
86225657Sjpaetzel            (1 ipAdEntAddr IPADDRESS GET)
87209513Simp            (2 ipAdEntIfIndex INTEGER GET SET)
88209513Simp            (3 ipAdEntNetMask IPADDRESS GET SET)
89209513Simp            (4 ipAdEntBcastAddr INTEGER GET SET)
90220059Sjpaetzel            (5 ipAdEntReasmMaxSize INTEGER GET)
91209513Simp        ))
92209513Simp        (22 ipNetToMediaTable
93209513Simp          (1 ipNetToMediaEntry : INTEGER IPADDRESS op_nettomedia
94209513Simp            (1 ipNetToMediaIfIndex INTEGER GET)
95211730Simp            (2 ipNetToMediaPhysAddress OCTETSTRING GET)
96211730Simp            (3 ipNetToMediaNetAddress IPADDRESS GET)
97211730Simp            (4 ipNetToMediaType INTEGER GET)
98209513Simp        ))
99211730Simp        (23 ipRoutingDiscards INTEGER op_ipstat)	# not available
100211730Simp        (24 ipForward
101211730Simp          (3 ipCidrRouteNumber GAUGE op_route GET)
102211730Simp          (4 ipCidrRouteTable
103211730Simp            (1 ipCidrRouteEntry : IPADDRESS IPADDRESS INTEGER IPADDRESS op_route_table
104220059Sjpaetzel              (1 ipCidrRouteDest IPADDRESS GET)
105220059Sjpaetzel              (2 ipCidrRouteMask IPADDRESS GET)
106211730Simp              (3 ipCidrRouteTos INTEGER GET)
107211730Simp              (4 ipCidrRouteNextHop IPADDRESS GET)
108211730Simp              (5 ipCidrRouteIfIndex INTEGER GET)	# SET
109220059Sjpaetzel              (6 ipCidrRouteType INTEGER GET)		# SET
110211730Simp              (7 ipCidrRouteProto INTEGER GET)
111211730Simp              (8 ipCidrRouteAge INTEGER GET)
112211730Simp              (9 ipCidrRouteInfo OID GET)		# SET
113211730Simp              (10 ipCidrRouteNextHopAS INTEGER GET)	# SET
114211730Simp              (11 ipCidrRouteMetric1 INTEGER GET)	# SET
115211730Simp              (12 ipCidrRouteMetric2 INTEGER GET)	# SET
116211730Simp              (13 ipCidrRouteMetric3 INTEGER GET)	# SET
117211730Simp              (14 ipCidrRouteMetric4 INTEGER GET)	# SET
118211730Simp              (15 ipCidrRouteMetric5 INTEGER GET)	# SET
119209513Simp              (16 ipCidrRouteStatus INTEGER GET)	# SET
120209513Simp          ))
121209513Simp        )
122209513Simp      )
123209513Simp      (5 icmp
124209513Simp        (1 icmpInMsgs COUNTER op_icmpstat GET)
125209513Simp        (2 icmpInErrors COUNTER op_icmpstat GET)
126209513Simp        (3 icmpInDestUnreachs COUNTER op_icmpstat GET)
127209513Simp        (4 icmpInTimeExcds COUNTER op_icmpstat GET)
128209513Simp        (5 icmpInParmProbs COUNTER op_icmpstat GET)
129232899Sjpaetzel        (6 icmpInSrcQuenchs COUNTER op_icmpstat GET)
130232899Sjpaetzel        (7 icmpInRedirects COUNTER op_icmpstat GET)
131232899Sjpaetzel        (8 icmpInEchos COUNTER op_icmpstat GET)
132209513Simp        (9 icmpInEchoReps COUNTER op_icmpstat GET)
133209513Simp        (10 icmpInTimestamps COUNTER op_icmpstat GET)
134209513Simp        (11 icmpInTimestampReps COUNTER op_icmpstat GET)
135209513Simp        (12 icmpInAddrMasks COUNTER op_icmpstat GET)
136209513Simp        (13 icmpInAddrMaskReps COUNTER op_icmpstat GET)
137209513Simp        (14 icmpOutMsgs COUNTER op_icmpstat GET)
138209513Simp        (15 icmpOutErrors COUNTER op_icmpstat GET)
139209513Simp        (16 icmpOutDestUnreachs COUNTER op_icmpstat GET)
140209513Simp        (17 icmpOutTimeExcds COUNTER op_icmpstat GET)
141209513Simp        (18 icmpOutParmProbs COUNTER op_icmpstat GET)
142209513Simp        (19 icmpOutSrcQuenchs COUNTER op_icmpstat GET)
143209513Simp        (20 icmpOutRedirects COUNTER op_icmpstat GET)
144209513Simp        (21 icmpOutEchos COUNTER op_icmpstat GET)
145209513Simp        (22 icmpOutEchoReps COUNTER op_icmpstat GET)
146209513Simp        (23 icmpOutTimestamps COUNTER op_icmpstat GET)
147220059Sjpaetzel        (24 icmpOutTimestampReps COUNTER op_icmpstat GET)
148220059Sjpaetzel        (25 icmpOutAddrMasks COUNTER op_icmpstat GET)
149209513Simp        (26 icmpOutAddrMaskReps COUNTER op_icmpstat GET)
150209513Simp      )
151209513Simp      (6 tcp
152220059Sjpaetzel        (1 tcpRtoAlgorithm INTEGER op_tcp GET)
153209513Simp        (2 tcpRtoMin INTEGER32 op_tcp GET)
154209513Simp        (3 tcpRtoMax INTEGER32 op_tcp GET)
155209513Simp        (4 tcpMaxConn INTEGER32 op_tcp GET)
156209513Simp        (5 tcpActiveOpens COUNTER op_tcp GET)
157209513Simp        (6 tcpPassiveOpens COUNTER op_tcp GET)
158209513Simp        (7 tcpAttemptFails COUNTER op_tcp GET)
159209513Simp        (8 tcpEstabResets COUNTER op_tcp GET)
160209513Simp        (9 tcpCurrEstab GAUGE op_tcp GET)
161209513Simp        (10 tcpInSegs COUNTER op_tcp GET)
162209513Simp        (11 tcpOutSegs COUNTER op_tcp GET)
163220059Sjpaetzel        (12 tcpRetransSegs COUNTER op_tcp GET)
164209513Simp        (13 tcpConnTable
165209513Simp          (1 tcpConnEntry : IPADDRESS INTEGER IPADDRESS INTEGER op_tcpconn
166217229Sjpaetzel            (1 tcpConnState INTEGER GET)
167217229Sjpaetzel            (2 tcpConnLocalAddress IPADDRESS GET)
168209513Simp            (3 tcpConnLocalPort INTEGER GET)
169217229Sjpaetzel            (4 tcpConnRemAddress IPADDRESS GET)
170217229Sjpaetzel            (5 tcpConnRemPort INTEGER GET)
171217229Sjpaetzel        ))
172217229Sjpaetzel        (14 tcpInErrs COUNTER op_tcp GET)
173217229Sjpaetzel        (15 tcpOutRsts COUNTER op_tcp)		# don't know
174209513Simp      )
175209513Simp      (7 udp
176217229Sjpaetzel        (1 udpInDatagrams COUNTER op_udp GET)
177217229Sjpaetzel        (2 udpNoPorts COUNTER op_udp GET)
178217229Sjpaetzel        (3 udpInErrors COUNTER op_udp GET)
179217229Sjpaetzel        (4 udpOutDatagrams COUNTER op_udp GET)
180217229Sjpaetzel        (5 udpTable
181217229Sjpaetzel          (1 udpEntry : IPADDRESS INTEGER op_udptable
182227368Sjpaetzel            (1 udpLocalAddress IPADDRESS GET)
183227368Sjpaetzel            (2 udpLocalPort INTEGER GET)
184227368Sjpaetzel        ))
185217229Sjpaetzel      )
186209513Simp      (31 ifMIB
187209513Simp        (1 ifMIBObjects
188209513Simp          (1 ifXTable
189209513Simp            (1 ifXEntry : INTEGER op_ifxtable
190220059Sjpaetzel              (1 ifName OCTETSTRING GET)
191220059Sjpaetzel              (2 ifInMulticastPkts COUNTER GET)
192209513Simp              (3 ifInBroadcastPkts COUNTER GET)
193209513Simp              (4 ifOutMulticastPkts COUNTER GET)
194209513Simp              (5 ifOutBroadcastPkts COUNTER GET)
195209513Simp              (6 ifHCInOctets COUNTER64 GET)
196209513Simp              (7 ifHCInUcastPkts COUNTER64 GET)
197209513Simp              (8 ifHCInMulticastPkts COUNTER64 GET)
198209513Simp              (9 ifHCInBroadcastPkts COUNTER64 GET)
199209513Simp              (10 ifHCOutOctets COUNTER64 GET)
200209513Simp              (11 ifHCOutUcastPkts COUNTER64 GET)
201209513Simp              (12 ifHCOutMulticastPkts COUNTER64 GET)
202209513Simp              (13 ifHCOutBroadcastPkts COUNTER64 GET)
203209513Simp              (14 ifLinkUpDownTrapEnable INTEGER GET SET)
204220059Sjpaetzel              (15 ifHighSpeed GAUGE GET)
205220059Sjpaetzel              (16 ifPromiscuousMode INTEGER GET SET)
206209513Simp              (17 ifConnectorPresent INTEGER GET)
207209513Simp              (18 ifAlias OCTETSTRING GET)
208209513Simp              (19 ifCounterDiscontinuityTime TIMETICKS GET)
209209513Simp          ))
210209513Simp          (2 ifStackTable
211209513Simp            (1 ifStackEntry : INTEGER INTEGER op_ifstack
212209513Simp              (1 ifStackHigherLayer INTEGER)
213209513Simp              (2 ifStackLowerLayer INTEGER)
214209513Simp              (3 ifStackStatus INTEGER GET)
215209513Simp          ))
216209513Simp          (4 ifRcvAddressTable
217209513Simp            (1 ifRcvAddressEntry : INTEGER OCTETSTRING op_rcvaddr
218209513Simp              (1 ifRcvAddressAddress OCTETSTRING)
219209513Simp              (2 ifRcvAddressStatus INTEGER GET)
220220059Sjpaetzel              (3 ifRcvAddressType INTEGER GET)
221209513Simp          ))
222220059Sjpaetzel          (5 ifTableLastChange TIMETICKS op_ifmib GET)
223209513Simp          (6 ifStackLastChange TIMETICKS op_ifmib GET)
224209513Simp        )
225209513Simp      )
226209513Simp      (48 ipMIB
227213647Simp      )
228209513Simp      (49 tcpMIB
229209513Simp      )
230209513Simp      (50 udpMIB
231209513Simp      )
232209513Simp  ))
233220059Sjpaetzel  (4 private
234209513Simp    (1 enterprises
235209513Simp      (12325 fokus
236209513Simp        (1 begemot
237209513Simp	  (3 begemotIp
238220059Sjpaetzel	    (1 begemotIpObjects
239220059Sjpaetzel	      (1 begemotMib2
240209513Simp		(1 begemotIfMaxspeed COUNTER64 op_begemot_mibII GET)
241209513Simp		(2 begemotIfPoll TIMETICKS op_begemot_mibII GET)
242209513Simp		(3 begemotIfForcePoll TIMETICKS op_begemot_mibII GET SET)
243209513Simp	      )
244209513Simp	    )
245209513Simp	  )
246209513Simp        )
247209513Simp      )
248209513Simp    )
249209513Simp  )
250209513Simp  (6 snmpV2
251209513Simp    (3 snmpModules
252220059Sjpaetzel      (1 snmpMIB
253220059Sjpaetzel        (1 snmpMIBObjects
254217229Sjpaetzel          (5 snmpTraps
255220059Sjpaetzel            (3 linkDown OID op_snmp_trap)
256209513Simp            (4 linkUp OID op_snmp_trap)
257217229Sjpaetzel          )
258220059Sjpaetzel        )
259217229Sjpaetzel      )
260227368Sjpaetzel  ))
261227368Sjpaetzel)
262227368Sjpaetzel