1#!/bin/sh
2#
3#     Test for RFC-1213MIB variable
4#
5#
6
7HEADER RFC-1213 MIB SNMPv2c access
8
9iclist="ic1 "	        # list invocable components
10
11ic1="tp1 tp2 tp3 tp4 tp5 tp6 tp7 tp8 tp9 tp10 tp11 tp12 tp13 tp14 tp15 tp16 tp17 tp18 tp19 tp20 tp21 tp22 tp23 tp24 tp25 tp26 tp27 tp28 tp29 tp30 tp31 tp32 tp33 tp34 tp35 tp36 tp37 tp38 tp39 tp40 tp41 tp42 tp43 tp44 tp45 tp46 tp47 tp48 tp49 tp50 tp51 tp52 tp53 tp54 tp55 tp56 tp57 tp58 tp59 tp60 tp61 tp62 tp63 tp64 tp65 tp66 tp67 tp68 tp69 tp70 tp71 tp72 tp73 tp74 tp75 tp76 tp77 tp78 tp79 tp80 tp81 tp82 tp83 tp84 tp85 tp86 tp87 tp88 tp89 tp90 tp91 tp92 tp93 tp94 tp95 tp96 tp97 tp98 tp99 tp100 tp101 tp102 tp103 tp104 tp105 tp106 tp107 tp108"
12
13config
14
15tp1()
16{
17	get_snmp_variable 2c system.sysDescr
18}
19tp2()
20{
21	get_snmp_variable 2c system.sysObjectID
22}
23tp3()
24{
25	get_snmp_variable 2c system.sysUpTime
26}
27tp4()
28{
29	get_snmp_variable 2c system.sysContact
30}
31tp5()
32{
33	get_snmp_variable 2c system.sysName
34}
35tp6()
36{
37	get_snmp_variable 2c system.sysLocation
38}
39tp7()
40{
41	get_snmp_variable 2c interfaces.ifNumber
42}
43tp8()
44{
45	get_snmp_table 2c interfaces.ifTable
46}
47tp9()
48{
49	get_snmp_table 2c at.atTable
50}
51tp10()
52{
53	get_snmp_variable 2c ip.ipInReceives
54}
55tp11()
56{
57	get_snmp_variable 2c ip.ipForwarding
58}
59tp12()
60{
61	get_snmp_variable 2c ip.ipDefaultTTL
62}
63tp13()
64{
65	get_snmp_variable 2c ip.ipInReceives
66}
67tp14()
68{
69	get_snmp_variable 2c ip.ipInHdrErrors
70}
71tp15()
72{
73	get_snmp_variable 2c ip.ipInAddrErrors
74}
75tp16()
76{
77	get_snmp_variable 2c ip.ipForwDatagrams
78}
79tp17()
80{
81	get_snmp_variable 2c ip.ipInUnknownProtos
82}
83tp18()
84{
85	get_snmp_variable 2c ip.ipInDiscards
86}
87tp19()
88{
89	get_snmp_variable 2c ip.ipInDelivers
90}
91tp20()
92{
93	get_snmp_variable 2c ip.ipOutRequests
94}
95tp21()
96{
97	get_snmp_variable 2c ip.ipOutDiscards
98}
99tp22()
100{
101	get_snmp_variable 2c ip.ipOutNoRoutes
102}
103tp23()
104{
105	get_snmp_variable 2c ip.ipReasmTimeout
106}
107tp24()
108{
109	get_snmp_variable 2c ip.ipReasmReqds
110}
111tp25()
112{
113	get_snmp_variable 2c ip.ipReasmOKs
114}
115tp26()
116{
117	get_snmp_variable 2c ip.ipReasmFails
118}
119tp27()
120{
121	get_snmp_variable 2c ip.ipFragOKs
122}
123tp28()
124{
125	get_snmp_variable 2c ip.ipFragFails
126}
127tp29()
128{
129	get_snmp_variable 2c ip.ipFragCreates
130}
131tp30()
132{
133	get_snmp_variable 2c ip.ipRoutingDiscards
134}
135tp31()
136{
137	get_snmp_table 2c ip.ipAddrTable
138}
139tp32()
140{
141	get_snmp_table 2c ip.ipRouteTable
142}
143tp33()
144{
145	get_snmp_table 2c ip.ipNetToMediaTable
146}
147tp34()
148{
149	get_snmp_variable 2c icmp.icmpInMsgs
150}
151tp35()
152{
153	get_snmp_variable 2c icmp.icmpInErrors
154}
155tp36()
156{
157	get_snmp_variable 2c icmp.icmpInDestUnreachs
158}
159tp37()
160{
161	get_snmp_variable 2c icmp.icmpInTimeExcds
162}
163tp38()
164{
165	get_snmp_variable 2c icmp.icmpInParmProbs
166}
167tp39()
168{
169	get_snmp_variable 2c icmp.icmpInSrcQuenchs
170}
171tp40()
172{
173	get_snmp_variable 2c icmp.icmpInRedirects
174}
175tp41()
176{
177	get_snmp_variable 2c icmp.icmpInEchos
178}
179tp42()
180{
181	get_snmp_variable 2c icmp.icmpInEchoReps
182}
183tp43()
184{
185	get_snmp_variable 2c icmp.icmpInTimestamps
186}
187tp44()
188{
189	get_snmp_variable 2c icmp.icmpInTimestampReps
190}
191tp45()
192{
193	get_snmp_variable 2c icmp.icmpInAddrMasks
194}
195tp46()
196{
197	get_snmp_variable 2c icmp.icmpInAddrMaskReps
198}
199tp47()
200{
201	get_snmp_variable 2c icmp.icmpOutMsgs
202}
203tp48()
204{
205	get_snmp_variable 2c icmp.icmpOutErrors
206}
207tp49()
208{
209	get_snmp_variable 2c icmp.icmpOutDestUnreachs
210}
211tp50()
212{
213	get_snmp_variable 2c icmp.icmpOutTimeExcds
214}
215tp51()
216{
217	get_snmp_variable 2c icmp.icmpOutParmProbs
218}
219tp52()
220{
221	get_snmp_variable 2c icmp.icmpOutSrcQuenchs
222}
223tp53()
224{
225	get_snmp_variable 2c icmp.icmpOutRedirects
226}
227tp54()
228{
229	get_snmp_variable 2c icmp.icmpOutEchos
230}
231tp55()
232{
233	get_snmp_variable 2c icmp.icmpOutEchoReps
234}
235tp56()
236{
237	get_snmp_variable 2c icmp.icmpOutTimestamps
238}
239tp57()
240{
241	get_snmp_variable 2c icmp.icmpOutTimestampReps
242}
243tp58()
244{
245	get_snmp_variable 2c icmp.icmpOutAddrMasks
246}
247tp59()
248{
249	get_snmp_variable 2c icmp.icmpOutAddrMaskReps
250}
251tp60()
252{
253	get_snmp_variable 2c tcp.tcpActiveOpens
254}
255tp61()
256{
257	get_snmp_variable 2c tcp.tcpRtoAlgorithm
258}
259tp62()
260{
261	get_snmp_variable 2c tcp.tcpRtoMin
262}
263tp63()
264{
265	get_snmp_variable 2c tcp.tcpRtoMax
266}
267tp64()
268{
269	get_snmp_variable 2c tcp.tcpMaxConn
270}
271tp65()
272{
273	get_snmp_variable 2c tcp.tcpActiveOpens
274}
275tp66()
276{
277	get_snmp_variable 2c tcp.tcpPassiveOpens
278}
279tp67()
280{
281	get_snmp_variable 2c tcp.tcpAttemptFails
282}
283tp68()
284{
285	get_snmp_variable 2c tcp.tcpEstabResets
286}
287tp69()
288{
289	get_snmp_variable 2c tcp.tcpCurrEstab
290}
291tp70()
292{
293	get_snmp_variable 2c tcp.tcpInSegs
294}
295tp71()
296{
297	get_snmp_variable 2c tcp.tcpOutSegs
298}
299tp72()
300{
301	get_snmp_variable 2c tcp.tcpRetransSegs
302}
303tp73()
304{
305	get_snmp_variable 2c tcp.tcpInErrs
306}
307tp74()
308{
309	get_snmp_variable 2c tcp.tcpOutRsts
310}
311tp75()
312{
313	get_snmp_table 2c tcp.tcpConnTable
314}
315tp76()
316{
317	get_snmp_variable 2c udp.udpInDatagrams
318}
319tp77()
320{
321	get_snmp_variable 2c udp.udpNoPorts
322}
323tp78()
324{
325	get_snmp_variable 2c udp.udpInErrors
326}
327tp79()
328{
329	get_snmp_variable 2c udp.udpOutDatagrams
330}
331tp80()
332{
333	get_snmp_table 2c udp.udpTable
334}
335tp81()
336{
337	get_snmp_variable 2c snmp.snmpInPkts
338}
339tp82()
340{
341	get_snmp_variable 2c snmp.snmpOutPkts
342}
343tp83()
344{
345	get_snmp_variable 2c snmp.snmpInBadVersions
346}
347tp84()
348{
349	get_snmp_variable 2c snmp.snmpInBadCommunityNames
350}
351tp85()
352{
353	get_snmp_variable 2c snmp.snmpInBadCommunityUses
354}
355tp86()
356{
357	get_snmp_variable 2c snmp.snmpInASNParseErrs
358}
359tp87()
360{
361	get_snmp_variable 2c snmp.snmpInTooBigs
362}
363tp88()
364{
365	get_snmp_variable 2c snmp.snmpInNoSuchNames
366}
367tp89()
368{
369	get_snmp_variable 2c snmp.snmpInBadValues
370}
371tp90()
372{
373	get_snmp_variable 2c snmp.snmpInReadOnlys
374}
375tp91()
376{
377	get_snmp_variable 2c snmp.snmpInGenErrs
378}
379tp92()
380{
381	get_snmp_variable 2c snmp.snmpInTotalReqVars
382}
383tp93()
384{
385	get_snmp_variable 2c snmp.snmpInTotalSetVars
386}
387tp94()
388{
389	get_snmp_variable 2c snmp.snmpInGetRequests
390}
391tp95()
392{
393	get_snmp_variable 2c snmp.snmpInGetNexts
394}
395tp96()
396{
397	get_snmp_variable 2c snmp.snmpInSetRequests
398}
399tp97()
400{
401	get_snmp_variable 2c snmp.snmpInGetResponses
402}
403tp98()
404{
405	get_snmp_variable 2c snmp.snmpInTraps
406}
407tp99()
408{
409	get_snmp_variable 2c snmp.snmpOutTooBigs
410}
411tp100()
412{
413	get_snmp_variable 2c snmp.snmpOutNoSuchNames
414}
415tp101()
416{
417	get_snmp_variable 2c snmp.snmpOutBadValues
418}
419tp102()
420{
421	get_snmp_variable 2c snmp.snmpOutGenErrs
422}
423tp103()
424{
425	get_snmp_variable 2c snmp.snmpOutGetRequests
426}
427tp104()
428{
429	get_snmp_variable 2c snmp.snmpOutGetNexts
430}
431tp105()
432{
433	get_snmp_variable 2c snmp.snmpOutSetRequests
434}
435tp106()
436{
437	get_snmp_variable 2c snmp.snmpOutGetResponses
438}
439tp107()
440{
441	get_snmp_variable 2c snmp.snmpOutTraps
442}
443tp108()
444{
445	get_snmp_variable 2c snmp.snmpEnableAuthenTraps
446}
447
448