summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc1442.txt
blob: 33bec18b9734c673b18de621bf39428150936296 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
          Network Working Group                                  J. Case
          Request for Comments: 1442                 SNMP Research, Inc.
                                                           K. McCloghrie
                                                      Hughes LAN Systems
                                                                 M. Rose
                                            Dover Beach Consulting, Inc.
                                                           S. Waldbusser
                                              Carnegie Mellon University
                                                              April 1993


                       Structure of Management Information
                               for version 2 of the
                   Simple Network Management Protocol (SNMPv2)


          Status of this Memo

          This RFC specifes an IAB standards track protocol for the
          Internet community, and requests discussion and suggestions
          for improvements.  Please refer to the current edition of the
          "IAB Official Protocol Standards" for the standardization
          state and status of this protocol.  Distribution of this memo
          is unlimited.


          Table of Contents


          1 Introduction ..........................................    2
          1.1 A Note on Terminology ...............................    3
          2 Definitions ...........................................    4
          3.1 The MODULE-IDENTITY macro ...........................    5
          3.2 Object Names and Syntaxes ...........................    7
          3.3 The OBJECT-TYPE macro ...............................   10
          3.5 The NOTIFICATION-TYPE macro .........................   12
          3 Information Modules ...................................   13
          3.1 Macro Invocation ....................................   13
          3.1.1 Textual Clauses ...................................   14
          3.2 IMPORTing Symbols ...................................   14
          4 Naming Hierarchy ......................................   16
          5 Mapping of the MODULE-IDENTITY macro ..................   17
          5.1 Mapping of the LAST-UPDATED clause ..................   17
          5.2 Mapping of the ORGANIZATION clause ..................   17
          5.3 Mapping of the CONTACT-INFO clause ..................   17
          5.4 Mapping of the DESCRIPTION clause ...................   17
          5.5 Mapping of the REVISION clause ......................   17
          5.6 Mapping of the DESCRIPTION clause ...................   18
          5.7 Mapping of the MODULE-IDENTITY value ................   18
          5.8 Usage Example .......................................   19



          Case, McCloghrie, Rose & Waldbusser                  [Page  i]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          6 Mapping of the OBJECT-IDENTITY macro ..................   20
          6.1 Mapping of the STATUS clause ........................   20
          6.2 Mapping of the DESCRIPTION clause ...................   20
          6.3 Mapping of the REFERENCE clause .....................   20
          6.4 Mapping of the OBJECT-IDENTITY value ................   20
          6.5 Usage Example .......................................   21
          7 Mapping of the OBJECT-TYPE macro ......................   22
          7.1 Mapping of the SYNTAX clause ........................   22
          7.1.1 Integer32 and INTEGER .............................   22
          7.1.2 OCTET STRING ......................................   23
          7.1.3 OBJECT IDENTIFIER .................................   23
          7.1.4 BIT STRING ........................................   23
          7.1.5 IpAddress .........................................   23
          7.1.6 Counter32 .........................................   24
          7.1.7 Gauge32 ...........................................   24
          7.1.8 TimeTicks .........................................   24
          7.1.9 Opaque ............................................   25
          7.1.10 NsapAddress ......................................   25
          7.1.11 Counter64 ........................................   26
          7.1.12 UInteger32 .......................................   26
          7.2 Mapping of the UNITS clause .........................   26
          7.3 Mapping of the MAX-ACCESS clause ....................   27
          7.4 Mapping of the STATUS clause ........................   27
          7.5 Mapping of the DESCRIPTION clause ...................   27
          7.6 Mapping of the REFERENCE clause .....................   28
          7.7 Mapping of the INDEX clause .........................   28
          7.7.1 Creation and Deletion of Conceptual Rows ..........   30
          7.8 Mapping of the AUGMENTS clause ......................   31
          7.8.1 Relation between INDEX and AUGMENTS clauses .......   31
          7.9 Mapping of the DEFVAL clause ........................   32
          7.10 Mapping of the OBJECT-TYPE value ...................   33
          7.11 Usage Example ......................................   35
          8 Mapping of the NOTIFICATION-TYPE macro ................   37
          8.1 Mapping of the OBJECTS clause .......................   37
          8.2 Mapping of the STATUS clause ........................   37
          8.3 Mapping of the DESCRIPTION clause ...................   37
          8.4 Mapping of the REFERENCE clause .....................   37
          8.5 Mapping of the NOTIFICATION-TYPE value ..............   38
          8.6 Usage Example .......................................   39
          9 Refined Syntax ........................................   40
          10 Extending an Information Module ......................   41
          10.1 Object Assignments .................................   41
          10.2 Object Definitions .................................   41
          10.3 Notification Definitions ...........................   42



          Case, McCloghrie, Rose & Waldbusser                  [Page ii]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          11 Appendix: de-OSIfying a MIB module ...................   43
          11.1 Managed Object Mapping .............................   43
          11.1.1 Mapping to the SYNTAX clause .....................   44
          11.1.2 Mapping to the UNITS clause ......................   45
          11.1.3 Mapping to the MAX-ACCESS clause .................   45
          11.1.4 Mapping to the STATUS clause .....................   45
          11.1.5 Mapping to the DESCRIPTION clause ................   45
          11.1.6 Mapping to the REFERENCE clause ..................   45
          11.1.7 Mapping to the INDEX clause ......................   45
          11.1.8 Mapping to the DEFVAL clause .....................   45
          11.2 Action Mapping .....................................   46
          11.2.1 Mapping to the SYNTAX clause .....................   46
          11.2.2 Mapping to the MAX-ACCESS clause .................   46
          11.2.3 Mapping to the STATUS clause .....................   46
          11.2.4 Mapping to the DESCRIPTION clause ................   46
          11.2.5 Mapping to the REFERENCE clause ..................   46
          11.3 Event Mapping ......................................   46
          11.3.1 Mapping to the STATUS clause .....................   47
          11.3.2 Mapping to the DESCRIPTION clause ................   47
          11.3.3 Mapping to the REFERENCE clause ..................   47
          12 Acknowledgements .....................................   48
          13 References ...........................................   52
          14 Security Considerations ..............................   54
          15 Authors' Addresses ...................................   54

























          Case, McCloghrie, Rose & Waldbusser                   [Page 1]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          1.  Introduction

          A network management system contains: several (potentially
          many) nodes, each with a processing entity, termed an agent,
          which has access to management instrumentation; at least one
          management station; and, a management protocol, used to convey
          management information between the agents and management
          stations.  Operations of the protocol are carried out under an
          administrative framework which defines both authentication and
          authorization policies.

          Network management stations execute management applications
          which monitor and control network elements.  Network elements
          are devices such as hosts, routers, terminal servers, etc.,
          which are monitored and controlled through access to their
          management information.

          Management information is viewed as a collection of managed
          objects, residing in a virtual information store, termed the
          Management Information Base (MIB).  Collections of related
          objects are defined in MIB modules.  These modules are written
          using a subset of OSI's Abstract Syntax Notation One (ASN.1)
          [1].  It is the purpose of this document, the Structure of
          Management Information (SMI), to define that subset.

          The SMI is divided into three parts: module definitions,
          object definitions, and, trap definitions.

          (1)  Module definitions are used when describing information
               modules.  An ASN.1 macro, MODULE-IDENTITY, is used to
               concisely convey the semantics of an information module.

          (2)  Object definitions are used when describing managed
               objects.  An ASN.1 macro, OBJECT-TYPE, is used to
               concisely convey the syntax and semantics of a managed
               object.

          (3)  Notification definitions are used when describing
               unsolicited transmissions of management information.  An
               ASN.1 macro, NOTIFICATION-TYPE, is used to concisely
               convey the syntax and semantics of a notification.









          Case, McCloghrie, Rose & Waldbusser                   [Page 2]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          1.1.  A Note on Terminology

          For the purpose of exposition, the original Internet-standard
          Network Management Framework, as described in RFCs 1155, 1157,
          and 1212, is termed the SNMP version 1 framework (SNMPv1).
          The current framework is termed the SNMP version 2 framework
          (SNMPv2).











































          Case, McCloghrie, Rose & Waldbusser                   [Page 3]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          2.  Definitions

          SNMPv2-SMI DEFINITIONS ::= BEGIN


          -- the path to the root

          internet       OBJECT IDENTIFIER ::= { iso 3 6 1 }

          directory      OBJECT IDENTIFIER ::= { internet 1 }

          mgmt           OBJECT IDENTIFIER ::= { internet 2 }

          experimental   OBJECT IDENTIFIER ::= { internet 3 }

          private        OBJECT IDENTIFIER ::= { internet 4 }
          enterprises    OBJECT IDENTIFIER ::= { private 1 }

          security       OBJECT IDENTIFIER ::= { internet 5 }

          snmpV2         OBJECT IDENTIFIER ::= { internet 6 }

          -- transport domains
          snmpDomains    OBJECT IDENTIFIER ::= { snmpV2 1 }

          -- transport proxies
          snmpProxys     OBJECT IDENTIFIER ::= { snmpV2 2 }

          -- module identities
          snmpModules    OBJECT IDENTIFIER ::= { snmpV2 3 }




















          Case, McCloghrie, Rose & Waldbusser                   [Page 4]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          -- definitions for information modules

          MODULE-IDENTITY MACRO ::=
          BEGIN
              TYPE NOTATION ::=
                            "LAST-UPDATED" value(Update UTCTime)
                            "ORGANIZATION" Text
                            "CONTACT-INFO" Text
                            "DESCRIPTION" Text
                            RevisionPart

              VALUE NOTATION ::=
                            value(VALUE OBJECT IDENTIFIER)

              RevisionPart ::=
                            Revisions
                          | empty
              Revisions ::=
                            Revision
                          | Revisions Revision
              Revision ::=
                            "REVISION" value(Update UTCTime)
                            "DESCRIPTION" Text

              -- uses the NVT ASCII character set
              Text ::= """" string """"
          END























          Case, McCloghrie, Rose & Waldbusser                   [Page 5]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          OBJECT-IDENTITY MACRO ::=
          BEGIN
              TYPE NOTATION ::=
                            "STATUS" Status
                            "DESCRIPTION" Text
                            ReferPart

              VALUE NOTATION ::=
                            value(VALUE OBJECT IDENTIFIER)

              Status ::=
                            "current"
                          | "obsolete"

              ReferPart ::=
                          "REFERENCE" Text
                        | empty

              Text ::= """" string """"
          END






























          Case, McCloghrie, Rose & Waldbusser                   [Page 6]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          -- names of objects

          ObjectName ::=
              OBJECT IDENTIFIER


          -- syntax of objects

          ObjectSyntax ::=
              CHOICE {
                  simple
                      SimpleSyntax,

                    -- note that SEQUENCEs for conceptual tables and
                    -- rows are not mentioned here...

                  application-wide
                      ApplicationSyntax
              }


          -- built-in ASN.1 types

          SimpleSyntax ::=
              CHOICE {
                  -- INTEGERs with a more restrictive range
                  -- may also be used
                  integer-value
                      INTEGER (-2147483648..2147483647),

                  string-value
                      OCTET STRING,

                  objectID-value
                      OBJECT IDENTIFIER,

                  -- only the enumerated form is allowed
                  bit-value
                      BIT STRING
              }










          Case, McCloghrie, Rose & Waldbusser                   [Page 7]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          -- indistinguishable from INTEGER, but never needs more than
          -- 32-bits for a two's complement representation
          Integer32 ::=
              [UNIVERSAL 2]
                  IMPLICIT INTEGER (-2147483648..2147483647)


          -- application-wide types

          ApplicationSyntax ::=
              CHOICE {
                  ipAddress-value
                      IpAddress,

                  counter-value
                      Counter32,

                  gauge-value
                      Gauge32,

                  timeticks-value
                      TimeTicks,

                  arbitrary-value
                      Opaque,

                  nsapAddress-value
                      NsapAddress,

                  big-counter-value
                      Counter64,

                  unsigned-integer-value
                      UInteger32
              }

          -- in network-byte order
          -- (this is a tagged type for historical reasons)
          IpAddress ::=
              [APPLICATION 0]
                  IMPLICIT OCTET STRING (SIZE (4))









          Case, McCloghrie, Rose & Waldbusser                   [Page 8]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          -- this wraps
          Counter32 ::=
              [APPLICATION 1]
                  IMPLICIT INTEGER (0..4294967295)

          -- this doesn't wrap
          Gauge32 ::=
              [APPLICATION 2]
                  IMPLICIT INTEGER (0..4294967295)

          -- hundredths of seconds since an epoch
          TimeTicks ::=
              [APPLICATION 3]
                  IMPLICIT INTEGER (0..4294967295)

          -- for backward-compatibility only
          Opaque ::=
              [APPLICATION 4]
                  IMPLICIT OCTET STRING

          -- for OSI NSAP addresses
          -- (this is a tagged type for historical reasons)
          NsapAddress ::=
              [APPLICATION 5]
                  IMPLICIT OCTET STRING (SIZE (1 | 4..21))

          -- for counters that wrap in less than one hour with only 32 bits
          Counter64 ::=
              [APPLICATION 6]
                  IMPLICIT INTEGER (0..18446744073709551615)

          -- an unsigned 32-bit quantity
          UInteger32 ::=
              [APPLICATION 7]
                  IMPLICIT INTEGER (0..4294967295)















          Case, McCloghrie, Rose & Waldbusser                   [Page 9]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          -- definition for objects

          OBJECT-TYPE MACRO ::=
          BEGIN
              TYPE NOTATION ::=
                            "SYNTAX" type(Syntax)
                            UnitsPart
                            "MAX-ACCESS" Access
                            "STATUS" Status
                            "DESCRIPTION" Text
                            ReferPart
                            IndexPart
                            DefValPart

              VALUE NOTATION ::=
                            value(VALUE ObjectName)

              UnitsPart ::=
                            "UNITS" Text
                          | empty

              Access ::=
                            "not-accessible"
                          | "read-only"
                          | "read-write"
                          | "read-create"

              Status ::=
                            "current"
                          | "deprecated"
                          | "obsolete"

              ReferPart ::=
                            "REFERENCE" Text
                          | empty

              IndexPart ::=
                            "INDEX"    "{" IndexTypes "}"
                          | "AUGMENTS" "{" Entry      "}"
                          | empty
              IndexTypes ::=
                            IndexType
                          | IndexTypes "," IndexType







          Case, McCloghrie, Rose & Waldbusser                  [Page 10]
^L




          RFC 1442                SMI for SNMPv2              April 1993


              IndexType ::=
                            "IMPLIED" Index
                          | Index
              Index ::=
                              -- use the SYNTAX value of the
                              -- correspondent OBJECT-TYPE invocation
                            value(Indexobject ObjectName)
              Entry ::=
                              -- use the INDEX value of the
                              -- correspondent OBJECT-TYPE invocation
                            value(Entryobject ObjectName)

              DefValPart ::=
                            "DEFVAL" "{" value(Defval Syntax) "}"
                          | empty

              -- uses the NVT ASCII character set
              Text ::= """" string """"
          END































          Case, McCloghrie, Rose & Waldbusser                  [Page 11]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          -- definitions for notifications

          NOTIFICATION-TYPE MACRO ::=
          BEGIN
              TYPE NOTATION ::=
                            ObjectsPart
                            "STATUS" Status
                            "DESCRIPTION" Text
                            ReferPart

              VALUE NOTATION ::=
                            value(VALUE OBJECT IDENTIFIER)

              ObjectsPart ::=
                            "OBJECTS" "{" Objects "}"
                          | empty
              Objects ::=
                            Object
                          | Objects "," Object
              Object ::=
                            value(Name ObjectName)

              Status ::=
                            "current"
                          | "deprecated"
                          | "obsolete"

              ReferPart ::=
                          "REFERENCE" Text
                        | empty

              -- uses the NVT ASCII character set
              Text ::= """" string """"
          END


          END













          Case, McCloghrie, Rose & Waldbusser                  [Page 12]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          3.  Information Modules

          An "information module" is an ASN.1 module defining
          information relating to network management.

          The SMI describes how to use a subset of ASN.1 to define an
          information module.  Further, additional restrictions are
          placed on "standard" information modules.  It is strongly
          recommended that "enterprise-specific" information modules
          also adhere to these restrictions.

          Typically, there are three kinds of information modules:

          (1)  MIB modules, which contain definitions of inter-related
               managed objects, make use of the OBJECT-TYPE and
               NOTIFICATION-TYPE macros;

          (2)  compliance statements for MIB modules, which make use of
               the MODULE-COMPLIANCE and OBJECT-GROUP macros [2]; and,

          (3)  capability statements for agent implementations which
               make use of the AGENT-CAPABILITIES macros [2].

          This classification scheme does not imply a rigid taxonomy.
          For example, a "standard" information module might include
          definitions of managed objects and a compliance statement.
          Similarly, an "enterprise-specific" information module might
          include definitions of managed objects and a capability
          statement.  Of course, a "standard" information module may not
          contain capability statements.

          All information modules start with exactly one invocation of
          the MODULE-IDENTITY macro, which provides contact and revision
          history.  This invocation must appear immediately after any
          IMPORTs or EXPORTs statements.


          3.1.  Macro Invocation

          Within an information module, each macro invocation appears
          as:

               <descriptor> <macro> <clauses> ::= <value>

          where <descriptor> corresponds to an ASN.1 identifier, <macro>





          Case, McCloghrie, Rose & Waldbusser                  [Page 13]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          names the macro being invoked, and <clauses> and <value>
          depend on the definition of the macro.

          An ASN.1 identifier consists of one or more letters, digits,
          or hyphens.  The initial character must be a lower-case
          letter, and the final character may not be a hyphen.  Further,
          a hyphen may not be immediatedly followed by another hyphen.

          For all descriptors appearing in an information module, the
          descriptor shall be unique and mnemonic, and shall not exceed
          64 characters in length.  This promotes a common language for
          humans to use when discussing the information module and also
          facilitates simple table mappings for user-interfaces.

          The set of descriptors defined in all "standard" information
          modules shall be unique.  Further, within any information
          module, the hyphen is not allowed as a character in any
          descriptor.

          Finally, by convention, if the descriptor refers to an object
          with a SYNTAX clause value of either Counter32 or Counter64,
          then the descriptor used for the object should denote
          plurality.


          3.1.1.  Textual Clauses

          Some clauses in a macro invocation may take a textual value
          (e.g., the DESCRIPTION clause).  Note that, in order to
          conform to the ASN.1 syntax, the entire value of these clauses
          must be enclosed in double quotation marks, and therefore
          cannot itself contain double quotation marks, although the
          value may be multi-line.


          3.2.  IMPORTing Symbols

          To reference an external object, the IMPORTS statement must be
          used to identify both the descriptor and the module defining
          the descriptor.

          Note that when symbols from "enterprise-specific" information
          modules are referenced  (e.g., a descriptor), there is the
          possibility of collision.  As such, if different objects with
          the same descriptor are IMPORTed, then this ambiguity is





          Case, McCloghrie, Rose & Waldbusser                  [Page 14]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          resolved by prefixing the descriptor with the name of the
          information module and a dot ("."), i.e.,

               "module.descriptor"

          (All descriptors must be unique within any information
          module.)

          Of course, this notation can be used even when there is no
          collision when IMPORTing symbols.

          Finally, the IMPORTS statement may not be used to import an
          ASN.1 named type which corresponds to either the SEQUENCE or
          SEQUENCE OF type.




































          Case, McCloghrie, Rose & Waldbusser                  [Page 15]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          4.  Naming Hierarchy

          The root of the subtree administered by the Internet Assigned
          Numbers Authority (IANA) for the Internet is:

               internet       OBJECT IDENTIFIER ::= { iso 3 6 1 }

          That is, the Internet subtree of OBJECT IDENTIFIERs starts
          with the prefix:

               1.3.6.1.

          Several branches underneath this subtree are used for network
          management:

               mgmt           OBJECT IDENTIFIER ::= { internet 2 }
               experimental   OBJECT IDENTIFIER ::= { internet 3 }
               private        OBJECT IDENTIFIER ::= { internet 4 }
               enterprises    OBJECT IDENTIFIER ::= { private 1 }

          However, the SMI does not prohibit the definition of objects
          in other portions of the object tree.

          The mgmt(2) subtree is used to identify "standard" objects.

          The experimental(3) subtree is used to identify objects being
          designed by working groups of the IETF.  If an information
          module produced by a working group becomes a "standard"
          information module, then at the very beginning of its entry
          onto the Internet standards track, the objects are moved under
          the mgmt(2) subtree.

          The private(4) subtree is used to identify objects defined
          unilaterally.  The enterprises(1) subtree beneath private is
          used, among other things, to permit providers of networking
          subsystems to register models of their products.














          Case, McCloghrie, Rose & Waldbusser                  [Page 16]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          5.  Mapping of the MODULE-IDENTITY macro

          The MODULE-IDENTITY macro is used to provide contact and
          revision history for each information module.  It must appear
          exactly once in every information module.  It should be noted
          that the expansion of the MODULE-IDENTITY macro is something
          which conceptually happens during implementation and not
          during run-time.


          5.1.  Mapping of the LAST-UPDATED clause

          The LAST-UPDATED clause, which must be present, contains the
          date and time that this information module was last edited.


          5.2.  Mapping of the ORGANIZATION clause

          The ORGANIZATION clause, which must be present, contains a
          textual description of the organization under whose auspices
          this information module was developed.


          5.3.  Mapping of the CONTACT-INFO clause

          The CONTACT-INFO clause, which must be present, contains the
          name, postal address, telephone number, and electronic mail
          address of the person to whom technical queries concerning
          this information module should be sent.


          5.4.  Mapping of the DESCRIPTION clause

          The DESCRIPTION clause, which must be present, contains a
          high-level textual description of the contents of this
          information module.


          5.5.  Mapping of the REVISION clause

          The REVISION clause, which need not be present, is repeatedly
          used to describe the revisions made to this information
          module, in reverse chronological order.  Each instance of this
          clause contains the date and time of the revision.






          Case, McCloghrie, Rose & Waldbusser                  [Page 17]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          5.6.  Mapping of the DESCRIPTION clause

          The DESCRIPTION clause, which must be present for each
          REVISION clause, contains a high-level textual description of
          the revision identified in that REVISION clause.


          5.7.  Mapping of the MODULE-IDENTITY value

          The value of an invocation of the MODULE-IDENTITY macro is an
          OBJECT IDENTIFIER.  As such, this value may be authoritatively
          used when referring to the information module containing the
          invocation.





































          Case, McCloghrie, Rose & Waldbusser                  [Page 18]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          5.8.  Usage Example

          Consider how a skeletal MIB module might be constructed: e.g.,

          FIZBIN-MIB DEFINITIONS ::= BEGIN

          IMPORTS
              MODULE-IDENTITY, OBJECT-TYPE, experimental
                  FROM SNMPv2-SMI;


          fizbin MODULE-IDENTITY
              LAST-UPDATED "9210070433Z"
              ORGANIZATION "IETF SNMPv2 Working Group"
              CONTACT-INFO
                      "        Marshall T. Rose

                       Postal: Dover Beach Consulting, Inc.
                               420 Whisman Court
                               Mountain View, CA  94043-2186
                               US

                          Tel: +1 415 968 1052
                          Fax: +1 415 968 2510

                       E-mail: mrose@dbc.mtview.ca.us"
              DESCRIPTION
                      "The MIB module for entities implementing the xxxx
                      protocol."
              REVISION      "9210070433Z"
              DESCRIPTION
                      "Initial version of this MIB module."
          -- contact IANA for actual number
              ::= { experimental xx }


          END













          Case, McCloghrie, Rose & Waldbusser                  [Page 19]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          6.  Mapping of the OBJECT-IDENTITY macro

          The OBJECT-IDENTITY macro is used to define information about
          an OBJECT IDENTIFIER assignment.  It should be noted that the
          expansion of the OBJECT-IDENTITY macro is something which
          conceptually happens during implementation and not during
          run-time.


          6.1.  Mapping of the STATUS clause

          The STATUS clause, which must be present, indicates whether
          this definition is current or historic.

          The values "current", and "obsolete" are self-explanatory.


          6.2.  Mapping of the DESCRIPTION clause

          The DESCRIPTION clause, which must be present, contains a
          textual description of the object assignment.


          6.3.  Mapping of the REFERENCE clause

          The REFERENCE clause, which need not be present, contains a
          textual cross-reference to an object assignment defined in
          some other information module.


          6.4.  Mapping of the OBJECT-IDENTITY value

          The value of an invocation of the OBJECT-IDENTITY macro is an
          OBJECT IDENTIFIER.
















          Case, McCloghrie, Rose & Waldbusser                  [Page 20]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          6.5.  Usage Example

          Consider how an OBJECT IDENTIFIER assignment might be made:
          e.g.,

          fizbin69 OBJECT-IDENTITY
              STATUS  current
              DESCRIPTION
                      "The authoritative identity of the Fizbin 69
                      chipset."
              ::= { fizbinChipSets 1 }







































          Case, McCloghrie, Rose & Waldbusser                  [Page 21]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          7.  Mapping of the OBJECT-TYPE macro

          The OBJECT-TYPE macro is used to define a managed object.  It
          should be noted that the expansion of the OBJECT-TYPE macro is
          something which conceptually happens during implementation and
          not during run-time.


          7.1.  Mapping of the SYNTAX clause

          The SYNTAX clause, which must be present, defines the abstract
          data structure corresponding to that object.  The data
          structure must be one of the alternatives defined in the
          ObjectSyntax CHOICE.

          Full ASN.1 sub-typing is allowed, as appropriate to the
          underingly ASN.1 type, primarily as an aid to implementors in
          understanding the meaning of the object.  Any such restriction
          on size, range, enumerations or repertoire specified in this
          clause represents the maximal level of support which makes
          "protocol sense".  Of course, sub-typing is not allowed for
          the Counter32 or Counter64 types, but is allowed for the
          Gauge32 type.

          The semantics of ObjectSyntax are now described.


          7.1.1.  Integer32 and INTEGER

          The Integer32 type represents integer-valued information
          between -2^31 and 2^31-1 inclusive (-2147483648 to 2147483647
          decimal).  This type is indistinguishable from the INTEGER
          type.

          The INTEGER type may also be used to represent integer-valued
          information, if it contains named-number enumerations, or if
          it is sub-typed to be more constrained than the Integer32
          type.  In the former case, only those named-numbers so
          enumerated may be present as a value.  Note that although it
          is recommended that enumerated values start at 1 and be
          numbered contiguously, any valid value for Integer32 is
          allowed for an enumerated value and, further, enumerated
          values needn't be contiguously assigned.







          Case, McCloghrie, Rose & Waldbusser                  [Page 22]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          Finally, the hyphen character is not allowed as a part of the
          label name for any named-number enumeration.


          7.1.2.  OCTET STRING

          The OCTET STRING type represents arbitrary binary or textual
          data.  Although there is no SMI-specified size limitation for
          this type, MIB designers should realize that there may be
          implementation and interoperability limitations for sizes in
          excess of 255 octets.


          7.1.3.  OBJECT IDENTIFIER

          The OBJECT IDENTIFIER type represents administratively
          assigned names.  Any instance of this type may have at most
          128 sub-identifiers.  Further, each sub-identifier must not
          exceed the value 2^32-1 (4294967295 decimal).


          7.1.4.  BIT STRING

          The BIT STRING type represents an enumeration of named bits.
          This collection is assigned non-negative, contiguous values,
          starting at zero.  Only those named-bits so enumerated may be
          present in a value.

          A requirement on "standard" MIB modules is that the hyphen
          character is not allowed as a part of the label name for any
          named-bit enumeration.


          7.1.5.  IpAddress

          The IpAddress type represents a 32-bit internet address.  It
          is represented as an OCTET STRING of length 4, in network
          byte-order.

          Note that the IpAddress type is a tagged type for historical
          reasons.  Network addresses should be represented using an
          invocation of the TEXTUAL-CONVENTION macro [3].








          Case, McCloghrie, Rose & Waldbusser                  [Page 23]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          7.1.6.  Counter32

          The Counter32 type represents a non-negative integer which
          monotonically increases until it reaches a maximum value of
          2^32-1 (4294967295 decimal), when it wraps around and starts
          increasing again from zero.

          Counters have no defined "initial" value, and thus, a single
          value of a Counter has (in general) no information content.
          Discontinuities in the monotonically increasing value normally
          occur at re-initialization of the management system, and at
          other times as specified in the description of an object-type
          using this ASN.1 type.  If such other times can occur, for
          example, the creation of an object instance at times other
          than re-initialization, then a corresponding object should be
          defined with a SYNTAX clause value of TimeStamp (a textual
          convention defined in [3]) indicating the time of the last
          discontinuity.

          The value of the MAX-ACCESS clause for objects with a SYNTAX
          clause value of Counter32 is always "read-only".

          A DEFVAL clause is not allowed for objects with a SYNTAX
          clause value of Counter32.


          7.1.7.  Gauge32

          The Gauge32 type represents a non-negative integer, which may
          increase or decrease, but shall never exceed a maximum value.
          The maximum value can not be greater than 2^32-1 (4294967295
          decimal).  The value of a Gauge has its maximum value whenever
          the information being modeled is greater or equal to that
          maximum value; if the information being modeled subsequently
          decreases below the maximum value, the Gauge also decreases.


          7.1.8.  TimeTicks

          The TimeTicks type represents a non-negative integer which
          represents the time, modulo 2^32 (4294967296 decimal), in
          hundredths of a second between two epochs.  When objects are
          defined which use this ASN.1 type, the description of the
          object identifies both of the reference epochs.






          Case, McCloghrie, Rose & Waldbusser                  [Page 24]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          For example, [3] defines the TimeStamp textual convention
          which is based on the TimeTicks type.  With a TimeStamp, the
          first reference epoch is defined as when MIB-II's sysUpTime
          [7] was zero, and the second reference epoch is defined as the
          current value of sysUpTime.


          7.1.9.  Opaque

          The Opaque type is provided solely for backward-compatibility,
          and shall not be used for newly-defined object types.

          The Opaque type supports the capability to pass arbitrary
          ASN.1 syntax.  A value is encoded using the ASN.1 Basic
          Encoding Rules [4] into a string of octets.  This, in turn, is
          encoded as an OCTET STRING, in effect "double-wrapping" the
          original ASN.1 value.

          Note that a conforming implementation need only be able to
          accept and recognize opaquely-encoded data.  It need not be
          able to unwrap the data and then interpret its contents.

          A requirement on "standard" MIB modules is that no object may
          have a SYNTAX clause value of Opaque.


          7.1.10.  NsapAddress

          The NsapAddress type represents an OSI address as a variable-
          length OCTET STRING.  The first octet of the string contains a
          binary value in the range of 0..20, and indicates the length
          in octets of the NSAP.  Following the first octet, is the
          NSAP, expressed in concrete binary notation, starting with the
          most significant octet.  A zero-length NSAP is used as a
          "special" address meaning "the default NSAP" (analogous to the
          IP address of 0.0.0.0).  Such an NSAP is encoded as a single
          octet, containing the value 0.  All other NSAPs are encoded in
          at least 4 octets.

          Note that the NsapAddress type is a tagged type for historical
          reasons.  Network addresses should be represented using an
          invocation of the TEXTUAL-CONVENTION macro [3].








          Case, McCloghrie, Rose & Waldbusser                  [Page 25]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          7.1.11.  Counter64

          The Counter64 type represents a non-negative integer which
          monotonically increases until it reaches a maximum value of
          2^64-1 (18446744073709551615 decimal), when it wraps around
          and starts increasing again from zero.

          Counters have no defined "initial" value, and thus, a single
          value of a Counter has (in general) no information content.
          Discontinuities in the monotonically increasing value normally
          occur at re-initialization of the management system, and at
          other times as specified in the description of an object-type
          using this ASN.1 type.  If such other times can occur, for
          example, the creation of an object instance at times other
          than re-initialization, then a corresponding object should be
          defined with a SYNTAX clause value of TimeStamp (a textual
          convention defined in [3]) indicating the time of the last
          discontinuity.

          The value of the MAX-ACCESS clause for objects with a SYNTAX
          clause value of Counter64 is always "read-only".

          A requirement on "standard" MIB modules is that the Counter64
          type may be used only if the information being modeled would
          wrap in less than one hour if the Counter32 type was used
          instead.

          A DEFVAL clause is not allowed for objects with a SYNTAX
          clause value of Counter64.


          7.1.12.  UInteger32

          The UInteger32 type represents integer-valued information
          between 0 and 2^32-1 inclusive (0 to 4294967295 decimal).


          7.2.  Mapping of the UNITS clause

          This UNITS clause, which need not be present, contains a
          textual definition of the units associated with that object.









          Case, McCloghrie, Rose & Waldbusser                  [Page 26]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          7.3.  Mapping of the MAX-ACCESS clause

          The MAX-ACCESS clause, which must be present, defines whether
          it makes "protocol sense" to read, write and/or create an
          instance of the object.  This is the maximal level of access
          for the object.  (This maximal level of access is independent
          of any administrative authorization policy.)

          The value "read-write" indicates that read and write access
          make "protocol sense", but create does not.  The value "read-
          create" indicates that read, write and create access make
          "protocol sense".  The value "not-accessible" indicates either
          an auxiliary object (see Section 7.7) or an object which is
          accessible only via a notificationn (e.g., snmpTrapOID [5]).

          These values are ordered, from least to greatest: "not-
          accessible", "read-only", "read-write", "read-create".

          If any columnar object in a conceptual row has "read-create"
          as its maximal level of access, then no other columnar object
          of the same conceptual row may have a maximal access of
          "read-write".  (Note that "read-create" is a superset of
          "read-write".)


          7.4.  Mapping of the STATUS clause

          The STATUS clause, which must be present, indicates whether
          this definition is current or historic.

          The values "current", and "obsolete" are self-explanatory.
          The "deprecated" value indicates that the object is obsolete,
          but that an implementor may wish to support that object to
          foster interoperability with older implementations.


          7.5.  Mapping of the DESCRIPTION clause

          The DESCRIPTION clause, which must be present, contains a
          textual definition of that object which provides all semantic
          definitions necessary for implementation, and should embody
          any information which would otherwise be communicated in any
          ASN.1 commentary annotations associated with the object.







          Case, McCloghrie, Rose & Waldbusser                  [Page 27]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          7.6.  Mapping of the REFERENCE clause

          The REFERENCE clause, which need not be present, contains a
          textual cross-reference to an object defined in some other
          information module.  This is useful when de-osifying a MIB
          module produced by some other organization.


          7.7.  Mapping of the INDEX clause

          The INDEX clause, which must be present if that object
          corresponds to a conceptual row (unless an AUGMENTS clause is
          present instead), and must be absent otherwise, defines
          instance identification information for the columnar objects
          subordinate to that object.

          Management operations apply exclusively to scalar objects.
          However, it is convenient for developers of management
          applications to impose imaginary, tabular structures on the
          ordered collection of objects that constitute the MIB.  Each
          such conceptual table contains zero or more rows, and each row
          may contain one or more scalar objects, termed columnar
          objects.  This conceptualization is formalized by using the
          OBJECT-TYPE macro to define both an object which corresponds
          to a table and an object which corresponds to a row in that
          table.  A conceptual table has SYNTAX of the form:

               SEQUENCE OF <EntryType>

          where <EntryType> refers to the SEQUENCE type of its
          subordinate conceptual row.  A conceptual row has SYNTAX of
          the form:

               <EntryType>

          where <EntryType> is a SEQUENCE type defined as follows:

               <EntryType> ::= SEQUENCE { <type1>, ... , <typeN> }

          where there is one <type> for each subordinate object, and
          each <type> is of the form:

               <descriptor> <syntax>

          where <descriptor> is the descriptor naming a subordinate





          Case, McCloghrie, Rose & Waldbusser                  [Page 28]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          object, and <syntax> has the value of that subordinate
          object's SYNTAX clause, optionally omitting the sub-typing
          information.  Further, these ASN.1 types are always present
          (the DEFAULT and OPTIONAL clauses are disallowed in the
          SEQUENCE definition).  The MAX-ACCESS clause for conceptual
          tables and rows is "not-accessible".

          For leaf objects which are not columnar objects, instances of
          the object are identified by appending a sub-identifier of
          zero to the name of that object.  Otherwise, the INDEX clause
          of the conceptual row object superior to a columnar object
          defines instance identification information.

          The instance identification information in an INDEX clause
          must specify object(s) such that value(s) of those object(s)
          will unambiguously distinguish a conceptual row.  The syntax
          of those objects indicate how to form the instance-identifier:

          (1)  integer-valued: a single sub-identifier taking the
               integer value (this works only for non-negative
               integers);

          (2)  string-valued, fixed-length strings (or variable-length
               preceded by the IMPLIED keyword): `n' sub-identifiers,
               where `n' is the length of the string (each octet of the
               string is encoded in a separate sub-identifier);

          (3)  string-valued, variable-length strings (not preceded by
               the IMPLIED keyword): `n+1' sub-identifiers, where `n' is
               the length of the string (the first sub-identifier is `n'
               itself, following this, each octet of the string is
               encoded in a separate sub-identifier);

          (4)  object identifier-valued: `n+1' sub-identifiers, where
               `n' is the number of sub-identifiers in the value (the
               first sub-identifier is `n' itself, following this, each
               sub-identifier in the value is copied);

          (5)  IpAddress-valued: 4 sub-identifiers, in the familiar
               a.b.c.d notation.

          (6)  NsapAddress-valued: `n' sub-identifiers, where `n' is the
               length of the value (each octet of the value is encoded
               in a separate sub-identifier);






          Case, McCloghrie, Rose & Waldbusser                  [Page 29]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          Note that the IMPLIED keyword can only be present for objects
          having a variable-length syntax (e.g., variable-length strings
          or object identifier-valued objects).  Further, the IMPLIED
          keyword may appear at most once within the INDEX clause, and
          if so, is associated with the right-most object having a
          variable-length syntax.  Finally, the IMPLIED keyword may not
          be used on a variable-length string object if that string
          might have a value of zero-length.

          Instances identified by use of integer-valued objects should
          be numbered starting from one (i.e., not from zero).  The use
          of zero as a value for an integer-valued index object should
          be avoided, except in special cases.

          Objects which are both specified in the INDEX clause of a
          conceptual row and also columnar objects of the same
          conceptual row are termed auxiliary objects.  The MAX-ACCESS
          clause for newly-defined auxiliary objects is "not-
          accessible".  However, a conceptual row must contain at least
          one columnar object which is not an auxiliary object (i.e.,
          the value of the MAX-ACCESS clause for such an object is
          either "read-only" or "read-create").

          Note that objects specified in a conceptual row's INDEX clause
          need not be columnar objects of that conceptual row.  In this
          situation, the DESCRIPTION clause of the conceptual row must
          include a textual explanation of how the objects which are
          included in the INDEX clause but not columnar objects of that
          conceptual row, are used in uniquely identifying instances of
          the conceptual row's columnar objects.


          7.7.1.  Creation and Deletion of Conceptual Rows

          For newly-defined conceptual rows which allow the creation of
          new object instances and the deletion of existing object
          instances, there should be one columnar object with a SYNTAX
          clause value of RowStatus (a textual convention defined in
          [3]) and a MAX-ACCESS clause value of read-create.  By
          convention, this is termed the status column for the
          conceptual row.









          Case, McCloghrie, Rose & Waldbusser                  [Page 30]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          7.8.  Mapping of the AUGMENTS clause

          The AUGMENTS clause, which must not be present unless the
          object corresponds to a conceptual row, is an alternative to
          the INDEX clause.  Every object corresponding to a conceptual
          row has either an INDEX clause or an AUGMENTS clause.

          If an object corresponding to a conceptual row has an INDEX
          clause, that row is termed a base conceptual row;
          alternatively, if the object has an AUGMENTS clause, the row
          is said to be a conceptual row augmentation, where the
          AUGMENTS clause names the object corresponding to the base
          conceptual row which is augmented by this conceptual row
          extension.  Instances of subordinate columnar objects of a
          conceptual row extension are identified according to the INDEX
          clause of the base conceptual row corresponding to the object
          named in the AUGMENTS clause.  Further, instances of
          subordinate columnar objects of a conceptual row extension
          exist according to the same semantics as instances of
          subordinate columnar objects of the base conceptual row being
          augmented.  As such, note that creation of a base conceptual
          row implies the correspondent creation of any conceptual row
          augmentations.

          For example, a MIB designer might wish to define additional
          columns in an "enterprise-specific" MIB which logically extend
          a conceptual row in a "standard" MIB.  The "standard" MIB
          definition of the conceptual row would include the INDEX
          clause and the "enterprise-specific" MIB would contain the
          definition of a conceptual row using the AUGMENTS clause.

          Note that a base conceptual row may be augmented by multiple
          conceptual row extensions.


          7.8.1.  Relation between INDEX and AUGMENTS clauses

          When defining instance identification information for a
          conceptual table:

          (1)  If there is a one-to-one correspondence between the
               conceptual rows of this table and an existing table, then
               the AUGMENTS clause should be used.







          Case, McCloghrie, Rose & Waldbusser                  [Page 31]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          (2)  Otherwise, if there is a sparse relationship between the
               conceptuals rows of this table and an existing table,
               then an INDEX clause should be used which is identical to
               that in the existing table.

          (3)  Otherwise, auxiliary objects should be defined within the
               conceptual row for the new table, and those objects
               should be used within the INDEX clause for the conceptual
               row.


          7.9.  Mapping of the DEFVAL clause

          The DEFVAL clause, which need not be present, defines an
          acceptable default value which may be used at the discretion
          of a SNMPv2 entity acting in an agent role when an object
          instance is created.

          During conceptual row creation, if an instance of a columnar
          object is not present as one of the operands in the
          correspondent management protocol set operation, then the
          value of the DEFVAL clause, if present, indicates an
          acceptable default value that a SNMPv2 entity acting in an
          agent role might use.

          The value of the DEFVAL clause must, of course, correspond to
          the SYNTAX clause for the object.  If the value is an OBJECT
          IDENTIFIER, then it must be expressed as a single ASN.1
          identifier, and not as a collection of sub-identifiers.

          Note that if an operand to the management protocol set
          operation is an instance of a read-only object, then the error
          `notWritable' [6] will be returned.  As such, the DEFVAL
          clause can be used to provide an acceptable default value that
          a SNMPv2 entity acting in an agent role might use.

          By way of example, consider the following possible DEFVAL
          clauses:












          Case, McCloghrie, Rose & Waldbusser                  [Page 32]
^L




          RFC 1442                SMI for SNMPv2              April 1993


         ObjectSyntax        DEFVAL clause
         -----------------   ------------
         Integer32           1
                             -- same for Gauge32, TimeTicks, UInteger32
         INTEGER             valid -- enumerated value
         OCTET STRING        'ffffffffffff'H
         OBJECT IDENTIFIER   sysDescr
         BIT STRING          { primary, secondary } -- enumerated values
               IpAddress           'c0210415'H -- 192.33.4.21

          Object types with SYNTAX of Counter32 and Counter64 may not
          have DEFVAL clauses, since they do not have defined initial
          values.  However, it is recommended that they be initialized
          to zero.


          7.10.  Mapping of the OBJECT-TYPE value

          The value of an invocation of the OBJECT-TYPE macro is the
          name of the object, which is an OBJECT IDENTIFIER, an
          administratively assigned name.

          When an OBJECT IDENTIFIER is assigned to an object:

          (1)  If the object corresponds to a conceptual table, then
               only a single assignment, that for a conceptual row, is
               present immediately beneath that object.  The
               administratively assigned name for the conceptual row
               object is derived by appending a sub-identifier of "1" to
               the administratively assigned name for the conceptual
               table.

          (2)  If the object corresponds to a conceptual row, then at
               least one assignment, one for each column in the
               conceptual row, is present beneath that object.  The
               administratively assigned name for each column is derived
               by appending a unique, positive sub-identifier to the
               administratively assigned name for the conceptual row.

          (3)  Otherwise, no other OBJECT IDENTIFIERs which are
               subordinate to the object may be assigned.

          Note that the final sub-identifier of any administratively
          assigned name for an object shall be positive.  A zero-valued
          final sub-identifier is reserved for future use.





          Case, McCloghrie, Rose & Waldbusser                  [Page 33]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          Further note that although conceptual tables and rows are
          given administratively assigned names, these conceptual
          objects may not be manipulated in aggregate form by the
          management protocol.














































          Case, McCloghrie, Rose & Waldbusser                  [Page 34]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          7.11.  Usage Example

          Consider how one might define a conceptual table and its
          subordinates.

          evalSlot OBJECT-TYPE
              SYNTAX      INTEGER
              MAX-ACCESS  read-only
              STATUS      current
              DESCRIPTION
                      "The index number of the first unassigned entry in
                      the evaluation table.

                      A management station should create new entries in
                      the evaluation table using this algorithm: first,
                      issue a management protocol retrieval operation to
                      determine the value of evalSlot; and, second,
                      issue a management protocol set operation to
                      create an instance of the evalStatus object
                      setting its value to underCreation(1).  If this
                      latter operation succeeds, then the management
                      station may continue modifying the instances
                      corresponding to the newly created conceptual row,
                      without fear of collision with other management
                      stations."
              ::= { eval 1 }

          evalTable OBJECT-TYPE
              SYNTAX      SEQUENCE OF EvalEntry
              MAX-ACCESS  not-accessible
              STATUS      current
              DESCRIPTION
                      "The (conceptual) evaluation table."
              ::= { eval 2 }

          evalEntry OBJECT-TYPE
              SYNTAX      EvalEntry
              MAX-ACCESS  not-accessible
              STATUS      current
              DESCRIPTION
                      "An entry (conceptual row) in the evaluation
                      table."
              INDEX   { evalIndex }
              ::= { evalTable 1 }






          Case, McCloghrie, Rose & Waldbusser                  [Page 35]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          EvalEntry ::=
              SEQUENCE {
                  evalIndex       Integer32,
                  evalString      DisplayString,
                  evalValue       Integer32,
                  evalStatus      RowStatus
              }

          evalIndex OBJECT-TYPE
              SYNTAX      Integer32
              MAX-ACCESS  not-accessible
              STATUS      current
              DESCRIPTION
                      "The auxiliary variable used for identifying
                      instances of the columnar objects in the
                      evaluation table."
                  ::= { evalEntry 1 }

          evalString OBJECT-TYPE
              SYNTAX      DisplayString
              MAX-ACCESS  read-create
              STATUS      current
              DESCRIPTION
                      "The string to evaluate."
                  ::= { evalEntry 2 }

          evalValue OBJECT-TYPE
              SYNTAX      Integer32
              MAX-ACCESS  read-only
              STATUS      current
              DESCRIPTION
                      "The value when evalString was last executed."
              DEFVAL  { 0 }
                  ::= { evalEntry 3 }

          evalStatus OBJECT-TYPE
              SYNTAX      RowStatus
              MAX-ACCESS  read-create
              STATUS      current
              DESCRIPTION
                      "The status column used for creating, modifying,
                      and deleting instances of the columnar objects in
                      the evaluation  table."
              DEFVAL  { active }
                  ::= { evalEntry 4 }





          Case, McCloghrie, Rose & Waldbusser                  [Page 36]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          8.  Mapping of the NOTIFICATION-TYPE macro

          The NOTIFICATION-TYPE macro is used to define the information
          contained within an unsolicited transmission of management
          information (i.e., within either a SNMPv2-Trap-PDU or
          InformRequest-PDU).  It should be noted that the expansion of
          the NOTIFICATION-TYPE macro is something which conceptually
          happens during implementation and not during run-time.


          8.1.  Mapping of the OBJECTS clause

          The OBJECTS clause, which need not be present, defines the
          ordered sequence of MIB objects which are contained within
          every instance of the notification.


          8.2.  Mapping of the STATUS clause

          The STATUS clause, which must be present, indicates whether
          this definition is current or historic.

          The values "current", and "obsolete" are self-explanatory.
          The "deprecated" value indicates that the notification is
          obsolete, but that an implementor may wish to support that
          object to foster interoperability with older implementations.


          8.3.  Mapping of the DESCRIPTION clause

          The DESCRIPTION clause, which must be present, contains a
          textual definition of the notification which provides all
          semantic definitions necessary for implementation, and should
          embody any information which would otherwise be communicated
          in any ASN.1 commentary annotations associated with the
          object.  In particular, the DESCRIPTION clause should document
          which instances of the objects mentioned in the OBJECTS clause
          should be contained within notifications of this type.


          8.4.  Mapping of the REFERENCE clause

          The REFERENCE clause, which need not be present, contains a
          textual cross-reference to a notification defined in some
          other information module.  This is useful when de-osifying a





          Case, McCloghrie, Rose & Waldbusser                  [Page 37]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          MIB module produced by some other organization.


          8.5.  Mapping of the NOTIFICATION-TYPE value

          The value of an invocation of the NOTIFICATION-TYPE macro is
          the name of the notification, which is an OBJECT IDENTIFIER,
          an administratively assigned name.

          Sections 4.2.6 and 4.2.7 of [6] describe how the
          NOTIFICATION-TYPE macro is used to generate a SNMPv2-Trap-PDU
          or InformRequest-PDU, respectively.






































          Case, McCloghrie, Rose & Waldbusser                  [Page 38]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          8.6.  Usage Example

          Consider how a linkUp trap might be described:

          linkUp NOTIFICATION-TYPE
              OBJECTS { ifIndex }
              STATUS  current
              DESCRIPTION
                      "A linkUp trap signifies that the SNMPv2 entity,
                      acting in an agent role, recognizes that one of
                      the communication links represented in its
                      configuration has come up."
              ::= { snmpTraps 4 }

          According to this invocation, the trap authoritatively
          identified as

               { snmpTraps 4 }

          is used to report a link coming up.

          Note that a SNMPv2 entity acting in an agent role can be
          configured to send this trap to zero or more SNMPv2 entities
          acting in a manager role, depending on the contents of the
          aclTable and viewTable [8] tables.  For example, by judicious
          use of the viewTable, a SNMPv2 entity acting in an agent role
          might be configured to send all linkUp traps to one particular
          SNMPv2 entity, and linkUp traps for only certain interfaces to
          other SNMPv2 entities.





















          Case, McCloghrie, Rose & Waldbusser                  [Page 39]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          9.  Refined Syntax

          Some macros allow an object's syntax to be refined (e.g., the
          SYNTAX clause in the MODULE-COMPLIANCE macro [2]).  However,
          not all refinements of syntax are appropriate.  In particular,
          the object's primitive or application type must not be
          changed.

          Further, the following restrictions apply:

                                Restrictions to Refinement on
      object syntax         range   enumeration     size    repertoire
      -----------------     -----   -----------     ----    ----------
                INTEGER      (1)        (2)           -         -
           OCTET STRING       -          -           (3)       (4)
      OBJECT IDENTIFIER       -          -            -         -
             BIT STRING       -         (2)           -         -
              IpAddress       -          -            -         -
              Counter32       -          -            -         -
                Gauge32      (1)         -            -         -
              TimeTicks       -          -            -         -
            NsapAddress       -          -            -         -
              Counter64       -          -            -         -

          where:

          (1)  the range of permitted values may be refined by raising
               the lower-bounds, by reducing the upper-bounds, and/or by
               reducing the alternative value/range choices;

          (2)  the enumeration of named-values may be refined by
               removing one or more named-values;

          (3)  the size in characters of the value may be refined by
               raising the lower-bounds, by reducing the upper-bounds,
               and/or by reducing the alternative size choices; or,

          (4)  the repertoire of characters in the value may be reduced
               by further sub-typing.

          Otherwise no refinements are possible.

          Note that when refining an object with a SYNTAX clause value
          of Integer32 or UInteger32, the refined SYNTAX is expressed as
          an INTEGER and the restrictions of the table above are used.





          Case, McCloghrie, Rose & Waldbusser                  [Page 40]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          10.  Extending an Information Module

          As experience is gained with a published information module,
          it may be desirable to revise that information module.

          To begin, the invocation of the MODULE-IDENTITY macro should
          be updated to include information about the revision.
          Usually, this consists of updating the LAST-UPDATED clause and
          adding a pair of REVISION and DESCRIPTION clauses.  However,
          other existing clauses in the invocation may be updated.

          Note that the module's label (e.g., "FIZBIN-MIB" from the
          example in Section 5.8), is not changed when the information
          module is revised.


          10.1.  Object Assignments

          If any non-editorial change is made to any clause of a object
          assignment, then the OBJECT IDENTIFIER value associated with
          that object assignment must also be changed, along with its
          associated descriptor.


          10.2.  Object Definitions

          An object definition may be revised in any of the following
          ways:

          (1)  A SYNTAX clause containing an enumerated INTEGER may have
               new enumerations added or existing labels changed.

          (2)  A STATUS clause value of "current" may be revised as
               "deprecated" or "obsolete".  Similarly, a STATUS clause
               value of "deprecated" may be revised as "obsolete".

          (3)  A DEFVAL clause may be added or updated.

          (4)  A REFERENCE clause may be added or updated.

          (5)  A UNITS clause may be added.

          (6)  A conceptual row may be augmented by adding new columnar
               objects at the end of the row.






          Case, McCloghrie, Rose & Waldbusser                  [Page 41]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          (7)  Entirely new objects may be defined, named with
               previously unassigned OBJECT IDENTIFIER values.

          Otherwise, if the semantics of any previously defined object
          are changed (i.e., if a non-editorial change is made to any
          clause other those specifically allowed above), then the
          OBJECT IDENTIFIER value associated with that object must also
          be changed.

          Note that changing the descriptor associated with an existing
          object is considered a semantic change, as these strings may
          be used in an IMPORTS statement.

          Finally, note that if an object has the value of its STATUS
          clause changed, then the value of its DESCRIPTION clause
          should be updated accordingly.


          10.3.  Notification Definitions

          A notification definition may be revised in any of the
          following ways:

          (1)  A REFERENCE clause may be added or updated.

          Otherwise, if the semantics of any previously defined
          notification are changed (i.e., if a non-editorial change is
          made to any clause other those specifically allowed above),
          then the OBJECT IDENTIFIER value associated with that
          notification must also be changed.

          Note that changing the descriptor associated with an existing
          notification is considered a semantic change, as these strings
          may be used in an IMPORTS statement.

          Finally, note that if an object has the value of its STATUS
          clause changed, then the value of its DESCRIPTION clause
          should be updated accordingly.












          Case, McCloghrie, Rose & Waldbusser                  [Page 42]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          11.  Appendix: de-OSIfying a MIB module

          There has been an increasing amount of work recently on taking
          MIBs defined by other organizations (e.g., the IEEE) and de-
          osifying them for use with the Internet-standard network
          management framework.  The steps to achieve this are
          straight-forward, though tedious.  Of course, it is helpful to
          already be experienced in writing MIB modules for use with the
          Internet-standard network management framework.

          The first step is to construct a skeletal MIB module, as shown
          earlier in Section 5.8.  The next step is to categorize the
          objects into groups.  Optional objects are not permitted.
          Thus, when a MIB module is created, optional objects must be
          placed in a additional groups, which, if implemented, all
          objects in the group must be implemented.  For the first pass,
          it is wisest to simply ignore any optional objects in the
          original MIB: experience shows it is better to define a core
          MIB module first, containing only essential objects; later, if
          experience demands, other objects can be added.


          11.1.  Managed Object Mapping

          Next for each managed object class, determine whether there
          can exist multiple instances of that managed object class.  If
          not, then for each of its attributes, use the OBJECT-TYPE
          macro to make an equivalent definition.

          Otherwise, if multiple instances of the managed object class
          can exist, then define a conceptual table having conceptual
          rows each containing a columnar object for each of the managed
          object class's attributes.  If the managed object class is
          contained within the containment tree of another managed
          object class, then the assignment of an object is normally
          required for each of the "distinguished attributes" of the
          containing managed object class.  If they do not already exist
          within the MIB module, then they can be added via the
          definition of additional columnar objects in the conceptual
          row corresponding to the contained managed object class.

          In defining a conceptual row, it is useful to consider the
          optimization of network management operations which will act
          upon its columnar objects.  In particular, it is wisest to
          avoid defining more columnar objects within a conceptual row,





          Case, McCloghrie, Rose & Waldbusser                  [Page 43]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          than can fit in a single PDU.  As a rule of thumb, a
          conceptual row should contain no more than approximately 20
          objects.  Similarly, or as a way to abide by the "20 object
          guideline", columnar objects should be grouped into tables
          according to the expected grouping of network management
          operations upon them.  As such, the content of conceptual rows
          should reflect typical access scenarios, e.g., they should be
          organized along functional lines such as one row for
          statistics and another row for parameters, or along usage
          lines such as commonly-needed objects versus rarely-needed
          objects.

          On the other hand, the definition of conceptual rows where the
          number of columnar objects used as indexes outnumbers the
          number used to hold information, should also be avoided.  In
          particular, the splitting of a managed object class's
          attributes into many conceptual tables should not be used as a
          way to obtain the same degree of flexibility/complexity as is
          often found in MIBs with a myriad of optionals.


          11.1.1.  Mapping to the SYNTAX clause

          When mapping to the SYNTAX clause of the OBJECT-type macro:

          (1)  An object with BOOLEAN syntax becomes a TruthValue [3].

          (2)  An object with INTEGER syntax becomes an Integer32.

          (3)  An object with ENUMERATED syntax becomes an INTEGER with
               enumerations, taking any of the values given which can be
               represented with an Integer32.

          (4)  An object with BIT STRING syntax but no enumerations
               becomes an OCTET STRING.

          (5)  An object with a character string syntax becomes either
               an OCTET STRING, or a DisplayString [3], depending on the
               repertoire of the character string.

          (6)  A non-tabular object with a complex syntax, such as REAL
               or EXTERNAL, must be decomposed, usually into an OCTET
               STRING (if sensible).  As a rule, any object with a
               complicated syntax should be avoided.






          Case, McCloghrie, Rose & Waldbusser                  [Page 44]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          (7)  Tabular objects must be decomposed into rows of columnar
               objects.


          11.1.2.  Mapping to the UNITS clause

          If the description of this managed object defines a unit-
          basis, then mapping to this clause is straight-forward.


          11.1.3.  Mapping to the MAX-ACCESS clause

          This is straight-forward.


          11.1.4.  Mapping to the STATUS clause

          This is straight-forward.


          11.1.5.  Mapping to the DESCRIPTION clause

          This is straight-forward: simply copy the text, making sure
          that any embedded double quotation marks are sanitized (i.e.,
          replaced with single-quotes or removed).


          11.1.6.  Mapping to the REFERENCE clause

          This is straight-forward: simply include a textual reference
          to the object being mapped, the document which defines the
          object, and perhaps a page number in the document.


          11.1.7.  Mapping to the INDEX clause

          If necessary, decide how instance-identifiers for columnar
          objects are to be formed and define this clause accordingly.


          11.1.8.  Mapping to the DEFVAL clause

          Decide if a meaningful default value can be assigned to the
          object being mapped, and if so, define the DEFVAL clause
          accordingly.





          Case, McCloghrie, Rose & Waldbusser                  [Page 45]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          11.2.  Action Mapping

          Actions are modeled as read-write objects, in which writing a
          particular value results in a state change.  (Usually, as a
          part of this state change, some action might take place.)


          11.2.1.  Mapping to the SYNTAX clause

          Usually the Integer32 syntax is used with a distinguished
          value provided for each action that the object provides access
          to.  In addition, there is usually one other distinguished
          value, which is the one returned when the object is read.


          11.2.2.  Mapping to the MAX-ACCESS clause

          Always use read-write or read-create.


          11.2.3.  Mapping to the STATUS clause

          This is straight-forward.


          11.2.4.  Mapping to the DESCRIPTION clause

          This is straight-forward: simply copy the text, making sure
          that any embedded double quotation marks are sanitized (i.e.,
          replaced with single-quotes or removed).


          11.2.5.  Mapping to the REFERENCE clause

          This is straight-forward: simply include a textual reference
          to the action being mapped, the document which defines the
          action, and perhaps a page number in the document.


          11.3.  Event Mapping

          Events are modeled as SNMPv2 notifications using
          NOTIFICATION-TYPE macro.  However, recall that SNMPv2
          emphasizes trap-directed polling.  As such, few, and usually
          no, notifications, need be defined for any MIB module.





          Case, McCloghrie, Rose & Waldbusser                  [Page 46]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          11.3.1.  Mapping to the STATUS clause

          This is straight-forward.


          11.3.2.  Mapping to the DESCRIPTION clause

          This is straight-forward: simply copy the text, making sure
          that any embedded double quotation marks are sanitized (i.e.,
          replaced with single-quotes or removed).


          11.3.3.  Mapping to the REFERENCE clause

          This is straight-forward: simply include a textual reference
          to the notification being mapped, the document which defines
          the notification, and perhaps a page number in the document.

































          Case, McCloghrie, Rose & Waldbusser                  [Page 47]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          12.  Acknowledgements

          The section on object definitions (and MIB de-osification) is
          based, in part, on RFCs 1155 and 1212.  The IMPLIED keyword is
          based on a conversation with David T. Perkins in December,
          1991.

          The section on trap definitions is based, in part, on RFC
          1215.

          Finally, the comments of the SNMP version 2 working group are
          gratefully acknowledged:

               Beth Adams, Network Management Forum
               Steve Alexander, INTERACTIVE Systems Corporation
               David Arneson, Cabletron Systems
               Toshiya Asaba
               Fred Baker, ACC
               Jim Barnes, Xylogics, Inc.
               Brian Bataille
               Andy Bierman, SynOptics Communications, Inc.
               Uri Blumenthal, IBM Corporation
               Fred Bohle, Interlink
               Jack Brown
               Theodore Brunner, Bellcore
               Stephen F. Bush, GE Information Services
               Jeffrey D. Case, University of Tennessee, Knoxville
               John Chang, IBM Corporation
               Szusin Chen, Sun Microsystems
               Robert Ching
               Chris Chiotasso, Ungermann-Bass
               Bobby A. Clay, NASA/Boeing
               John Cooke, Chipcom
               Tracy Cox, Bellcore
               Juan Cruz, Datability, Inc.
               David Cullerot, Cabletron Systems
               Cathy Cunningham, Microcom
               James R. (Chuck) Davin, Bellcore
               Michael Davis, Clearpoint
               Mike Davison, FiberCom
               Cynthia DellaTorre, MITRE
               Taso N. Devetzis, Bellcore
               Manual Diaz, DAVID Systems, Inc.
               Jon Dreyer, Sun Microsystems
               David Engel, Optical Data Systems





          Case, McCloghrie, Rose & Waldbusser                  [Page 48]
^L




          RFC 1442                SMI for SNMPv2              April 1993


               Mike Erlinger, Lexcel
               Roger Fajman, NIH
               Daniel Fauvarque, Sun Microsystems
               Karen Frisa, CMU
               Shari Galitzer, MITRE
               Shawn Gallagher, Digital Equipment Corporation
               Richard Graveman, Bellcore
               Maria Greene, Xyplex, Inc.
               Michel Guittet, Apple
               Robert Gutierrez, NASA
               Bill Hagerty, Cabletron Systems
               Gary W. Haney, Martin Marietta Energy Systems
               Patrick Hanil, Nokia Telecommunications
               Matt Hecht, SNMP Research, Inc.
               Edward A. Heiner, Jr., Synernetics Inc.
               Susan E. Hicks, Martin Marietta Energy Systems
               Geral Holzhauer, Apple
               John Hopprich, DAVID Systems, Inc.
               Jeff Hughes, Hewlett-Packard
               Robin Iddon, Axon Networks, Inc.
               David Itusak
               Kevin M. Jackson, Concord Communications, Inc.
               Ole J. Jacobsen, Interop Company
               Ronald Jacoby, Silicon Graphics, Inc.
               Satish Joshi, SynOptics Communications, Inc.
               Frank Kastenholz, FTP Software
               Mark Kepke, Hewlett-Packard
               Ken Key, SNMP Research, Inc.
               Zbiginew Kielczewski, Eicon
               Jongyeoi Kim
               Andrew Knutsen, The Santa Cruz Operation
               Michael L. Kornegay, VisiSoft
               Deirdre C. Kostik, Bellcore
               Cheryl Krupczak, Georgia Tech
               Mark S. Lewis, Telebit
               David Lin
               David Lindemulder, AT&T/NCR
               Ben Lisowski, Sprint
               David Liu, Bell-Northern Research
               John Lunny, The Wollongong Group
               Robert C. Lushbaugh Martin, Marietta Energy Systems
               Michael Luufer, BBN
               Carl Madison, Star-Tek, Inc.
               Keith McCloghrie, Hughes LAN Systems
               Evan McGinnis, 3Com Corporation





          Case, McCloghrie, Rose & Waldbusser                  [Page 49]
^L




          RFC 1442                SMI for SNMPv2              April 1993


               Bill McKenzie, IBM Corporation
               Donna McMaster, SynOptics Communications, Inc.
               John Medicke, IBM Corporation
               Doug Miller, Telebit
               Dave Minnich, FiberCom
               Mohammad Mirhakkak, MITRE
               Rohit Mital, Protools
               George Mouradian, AT&T Bell Labs
               Patrick Mullaney, Cabletron Systems
               Dan Myers, 3Com Corporation
               Rina Nathaniel, Rad Network Devices Ltd.
               Hien V. Nguyen, Sprint
               Mo Nikain
               Tom Nisbet
               William B. Norton, MERIT
               Steve Onishi, Wellfleet Communications, Inc.
               David T. Perkins, SynOptics Communications, Inc.
               Carl Powell, BBN
               Ilan Raab, SynOptics Communications, Inc.
               Richard Ramons, AT&T
               Venkat D. Rangan, Metric Network Systems, Inc.
               Louise Reingold, Sprint
               Sam Roberts, Farallon Computing, Inc.
               Kary Robertson, Concord Communications, Inc.
               Dan Romascanu, Lannet Data Communications Ltd.
               Marshall T. Rose, Dover Beach Consulting, Inc.
               Shawn A. Routhier, Epilogue Technology Corporation
               Chris Rozman
               Asaf Rubissa, Fibronics
               Jon Saperia, Digital Equipment Corporation
               Michael Sapich
               Mike Scanlon, Interlan
               Sam Schaen, MITRE
               John Seligson, Ultra Network Technologies
               Paul A. Serice, Corporation for Open Systems
               Chris Shaw, Banyan Systems
               Timon Sloane
               Robert Snyder, Cisco Systems
               Joo Young Song
               Roy Spitier, Sprint
               Einar Stefferud, Network Management Associates
               John Stephens, Cayman Systems, Inc.
               Robert L. Stewart, Xyplex, Inc. (chair)
               Kaj Tesink, Bellcore
               Dean Throop, Data General





          Case, McCloghrie, Rose & Waldbusser                  [Page 50]
^L




          RFC 1442                SMI for SNMPv2              April 1993


               Ahmet Tuncay, France Telecom-CNET
               Maurice Turcotte, Racal Datacom
               Warren Vik, INTERACTIVE Systems Corporation
               Yannis Viniotis
               Steven L. Waldbusser, Carnegie Mellon Universitty
               Timothy M. Walden, ACC
               Alice Wang, Sun Microsystems
               James Watt, Newbridge
               Luanne Waul, Timeplex
               Donald E. Westlake III, Digital Equipment Corporation
               Gerry White
               Bert Wijnen, IBM Corporation
               Peter Wilson, 3Com Corporation
               Steven Wong, Digital Equipment Corporation
               Randy Worzella, IBM Corporation
               Daniel Woycke, MITRE
               Honda Wu
               Jeff Yarnell, Protools
               Chris Young, Cabletron
               Kiho Yum, 3Com Corporation






























          Case, McCloghrie, Rose & Waldbusser                  [Page 51]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          13.  References

          [1]  Information processing systems - Open Systems
               Interconnection - Specification of Abstract Syntax
               Notation One (ASN.1), International Organization for
               Standardization.  International Standard 8824, (December,
               1987).

          [2]  Case, J., McCloghrie, K., Rose, M., and Waldbusser, S.,
               "Conformance Statements for version 2 of the the Simple
               Network Management Protocol (SNMPv2)", RFC 1444, SNMP
               Research, Inc., Hughes LAN Systems, Dover Beach
               Consulting, Inc., Carnegie Mellon University, April 1993.

          [3]  Case, J., McCloghrie, K., Rose, M., and Waldbusser, S.,
               "Textual Conventions for version 2 of the the Simple
               Network Management Protocol (SNMPv2)", RFC 1443, SNMP
               Research, Inc., Hughes LAN Systems, Dover Beach
               Consulting, Inc., Carnegie Mellon University, April 1993.

          [4]  Information processing systems - Open Systems
               Interconnection - Specification of Basic Encoding Rules
               for Abstract Syntax Notation One (ASN.1), International
               Organization for Standardization.  International Standard
               8825, (December, 1987).

          [5]  Case, J., McCloghrie, K., Rose, M., and Waldbusser, S.,
               "Management Information Base for version 2 of the Simple
               Network Management Protocol (SNMPv2)", RFC 1450, SNMP
               Research, Inc., Hughes LAN Systems, Dover Beach
               Consulting, Inc., Carnegie Mellon University, April 1993.

          [6]  Case, J., McCloghrie, K., Rose, M., and Waldbusser, S.,
               "Protocol Operations for version 2 of the Simple Network
               Management Protocol (SNMPv2)", RFC 1448, SNMP Research,
               Inc., Hughes LAN Systems, Dover Beach Consulting, Inc.,
               Carnegie Mellon University, April 1993.

          [7]  McCloghrie, K., and Rose, M., "Management Information
               Base for Network Management of TCP/IP-based internets:
               MIB-II", STD 17, RFC 1213, March 1991.

          [8]  McCloghrie, K., and Galvin, J., "Party MIB for version 2
               of the Simple Network Management Protocol (SNMPv2)", RFC
               1447, Hughes LAN Systems, Trusted Information Systems,





          Case, McCloghrie, Rose & Waldbusser                  [Page 52]
^L




          RFC 1442                SMI for SNMPv2              April 1993


               April 1993.

















































          Case, McCloghrie, Rose & Waldbusser                  [Page 53]
^L




          RFC 1442                SMI for SNMPv2              April 1993


          14.  Security Considerations

          Security issues are not discussed in this memo.


          15.  Authors' Addresses

               Jeffrey D. Case
               SNMP Research, Inc.
               3001 Kimberlin Heights Rd.
               Knoxville, TN  37920-9716
               US

               Phone: +1 615 573 1434
               Email: case@snmp.com


               Keith McCloghrie
               Hughes LAN Systems
               1225 Charleston Road
               Mountain View, CA  94043
               US

               Phone: +1 415 966 7934
               Email: kzm@hls.com


               Marshall T. Rose
               Dover Beach Consulting, Inc.
               420 Whisman Court
               Mountain View, CA  94043-2186
               US

               Phone: +1 415 968 1052
               Email: mrose@dbc.mtview.ca.us

               Steven Waldbusser
               Carnegie Mellon University
               4910 Forbes Ave
               Pittsburgh, PA  15213
               US

               Phone: +1 412 268 6628
               Email: waldbusser@cmu.edu






          Case, McCloghrie, Rose & Waldbusser                  [Page 54]
^L