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
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
|
Network Working Group C.Partridge
Request For Comment: 1024 BBN/NNSC
G. Trewitt
Stanford
October 1987
HEMS VARIABLE DEFINITIONS
STATUS OF THIS MEMO
This memo assigns instruction codes, defines object formats and
object semantics for use with the High-Level Monitoring and Control
Language, defined in RFC-1023.
This memo is provisional and the definitions are subject to change.
Readers should confirm that they have the most recent version of the
memo.
The authors assume a working knowledge of the ISO data encoding
standard, ASN.1, and a general understanding of the IP protocol
suite.
Distribution of this memo is unlimited.
INTRODUCTION
In other memos [RFC-1021, RFC-1022] the authors have described a
general system for monitoring and controlling network entities; this
system is called the High-Level Entity Management System (HEMS).
This system permits applications to read and write values in remote
entities which support a simple query processor.
In this memo we standardize the language instruction codes, the
objects which can be read or written, and the meanings of any
constants stored in the objects. There are three parts to this
standardization: (1) the assignment of an ASN.1 tag to each value,
(2) the definition of the external representation of the value (e.g.,
INTEGER, OCTETSTRING, etc.), and (3) the definition of the meaning,
or semantics of a value (e.g., what types of packets a particular
packet counter actually tracks).
This definition is provisional, and the authors hope that it will be
expanded and improved as the community becomes more experienced with
HEMS. Readers with suggestions for additional object definitions, or
improved definitions are encouraged to contact the authors.
Partridge & Trewitt [Page 1]
^L
RFC 1024 HEMS Definitions October 1987
MESSAGE FORMATS
All HEMS values are conveyed between applications and entities using
the High-Level Entity Management Protocol (HEMP) specified in RFC-
1022. All values specified in this memo are passed in the data
sections of HEMP messages. For all message types, the data section
is a SEQUENCE of objects. For requests, these objects are operations
and their operands. Replies contain a sequence of objects retrieved
by a request. Events contain an initial event object followed by an
optional number of objects related to the event.
Messages conforming to this memo should set the link field in the
HEMP CommonHeader to 1, to indicate version 1 of HEMS. The
resourceId field should be set to NULL.
CONTROL LANGUAGE INSTRUCTIONS
The HEMS Monitoring and Control Language defines a suite of
operations which the query processor must be able to perform. These
operations and their operands are ASN.1 objects which are passed to
the query processor over a network connection. The operations and
operands are sent in postfix form (the operation follows the
operands). Operands are pushed onto a stack and are processed when
the operation is encountered.
To ensure that operations are easily recognized in the input stream,
they are all encoded in a single application-specific type. This
type is shown below.
Operation ::= [APPLICATION 1] IMPLICIT INTEGER {
reserved(0), get(1) begin(2), end(3),
get-match(4), get-attributes(5),
get-attributes-match(6), get-range(7),
set(8), set-match(9)
}
When the query processor encounters an Operation object it consults
the value to determine which operation is to be done (e.g., GET).
GENERAL COMMENTS ON OBJECTS STORED IN ENTITIES
The High-Level Monitoring and Control Language requires the object
space to have a tree-shaped type space. Locating a particular object
requires identifying that section of the tree in which the object
resides. (A more detailed explanation of the scheme is given in
RFC-1023).
Partridge & Trewitt [Page 2]
^L
RFC 1024 HEMS Definitions October 1987
This memo defines a universal type space. A subset of this type
space is expected to be an appropriate type space for any entity
(e.g., a gateway or a multi-user host). The type space is divided
into required and optional portions. Implementors should implement
the required portion of the type space plus that part of the optional
type space which is appropriate for their particular entity.
One problem with defining a universal type space is that certain
interesting objects are not universal, but are instead very machine
specific (for example, status registers on specialized hardware). To
allow implementors to retrieve such implementation-specific objects
using the HEMS system, a special APPLICATION type is reserved for
non-standard values.
Putting objects in ASN.1 form implies an ability to map to and from
ASN.1 format. One of the design goals of this system has been to
minimize the amount of ASN.1 compilation required by the query
processor to reduce the expense of processing queries at entities.
(This implies a certain willingness to force the applications
querying entities to be more powerful). We expect that most of the
complex mapping will be done when objects are read; most writable
objects have a simple format (e.g., an INTEGER, or OCTETSTRING). As
a result, we have made a heavy use of the ASN.1 SET type, which
allows values to be presented in any order. Applications which
require particular fields in an object may use the template structure
to specify particular fields to be retrieved, but this still permits
the query processor to return the fields in whatever order is
convenient.
In addition to ease the problems of ASN.1 compilation, query
processors are not required to reduce an INTEGER to the minimum
number of octets as specified in ASN.1. Applications should be
prepared to receive INTEGERs which have leading octets with all zeros
or ones.
More generally, a design goal of HEMS was to try to limit the data
processing done at the entity, and to place the burden of data
reduction on the querying application. As a result, the objects
presented here are typically counters, or values which the entity has
to compute already. Object definitions which require the entity to
do data reduction are not supported, although consideration might be
given to making them optionally available.
Finally, HEMS is required to support access by multiple network
management centers or applications. This constraint has some
important consequences. First, the SET operation cannot be applied
to any Counter, since changing the value of a Counter may impair data
acquisition by other centers. More generally, there are questions
Partridge & Trewitt [Page 3]
^L
RFC 1024 HEMS Definitions October 1987
about competing or clashing SET requests from management centers.
Currently HEMS does not provide any facilities for protecting against
such requests. If such facilities become necessary, the authors
envision the enhancement of the object definitions to incorporate the
idea of "owned" objects.
READING THE OBJECT DEFINITIONS
Most of the rest of this memo is devoted to ennumerating the objects
managed by the query processor. Many of these objects are
dictionaries, objects which reference other objects. Defining
dictionaries requires that we specify the class of objects they
reference.
Most significant objects, such as packet counts, reside at the leaves
of the object data tree. They need to be carefully defined to ensure
that their meaning is consistent across all HEMS implementations.
These values are defined using the following format:
OBJECT: This is the name of the object.
Type: This is the ASN.1 type of the object.
Definition: The meaning of the data the object contains.
Implementations should ensure that their instance of
the object fulfills this definition since an important
feature of HEMS is that objects have consistent meaning
across all machines. It is better not to implement
an object than to abuse its definition.
Notes: An optional section of the definition which is used
to discuss issues not covered in other sections of
this specification.
Object Status: An optional section of the definition which
is used to indicate whether the object is required of all
HEMS implementations, encouraged of HEMS implementations
or simply considered useful. Currently, there are four
levels of status:
Required: The object is felt to provide critical
information and must be included in a fully
conforming HEMS implementation.
Required On Condition: The object is felt to
provide critical information about an optional
Partridge & Trewitt [Page 4]
^L
RFC 1024 HEMS Definitions October 1987
feature of an IP entity (for example, support of
the Transmission Control Protocol). The object
is required if the feature is implemented in the
entity.
Encouraged: The object is felt to provide very
useful management information and implementors
are encouraged to implement it.
Defined: The object may be useful and has been
defined so that all implementations of the object
are consistent.
If the object status is not specified, the object should
be considered required. If the parent dictionary is optional,
then the object should be considered required if the parent
dictionary is supported.
Operations on Object: The definition of how each monitoring
and control operation acts on the object. Many operations
have the same effect on almost all values, so some
default definitions are presented here. In the absence
of an operation specification, implementors should use
the default operations defined here.
BEGIN: The default is for BEGIN to be defined for
dictionaries, and an error if performed on leaf
objects in the tree.
CREATE: The default is that CREATE is undefined.
DELETE: The default is that DELETE is undefined.
END: END is a stack operation and is defined for all objects.
Note that END may fail if there is no object on the
stack.
GET-ATTRIBUTES: The default is that GET-ATTRIBUTES is
defined on the contents of all dictionaries specified
in this memo. The text description attributes
are optional for values defined in this memo, but
are required for implementation-specific objects.
Any descriptions of object listed in this memo should
cite this memo. GET-ATTRIBUTES must be supported on
all entity-specific values. GET-ATTRIBUTES
returns a Attributes object, which is defined in
the well-known types section below.
Partridge & Trewitt [Page 5]
^L
RFC 1024 HEMS Definitions October 1987
GET-ATTRIBUTES-MATCH: The default is that
GET-ATTRIBUTES-MATCH is optionally defined on any
object which supports GET-MATCH, and is an error
otherwise. The rules for attributes returned by
GET-ATTRIBUTES-MATCH are the same as those for
GET-ATTRIBUTES.
GET: The default definition of GET is to emit the operand
specified is a leaf object, and if the operand is a
dictionary, to recursively GET the entire dictionary and
its subdictionaries.
GET-MATCH: Unless otherwise specified, GET-MATCH is not
supported on an object.
GET-RANGE: Unless otherwise specified, GET-RANGE is not
supported on an object.
SET: Unless otherwise specified, SET is not supported on an
object.
SET-MATCH: Unless otherwise specified, SET-MATCH is not
supported on an object.
ATTRIBUTES
HEMS requires that remote applications be able to discover the
meaning of an object by querying the entity in which the object is
stored. This is done through use of the GET-ATTRIBUTES operator,
which causes an Attributes object to be returned to the application.
The Attributes object is described below.
Attributes ::= [APPLICATION 2] IMPLICIT SEQUENCE {
tagASN1 [0] IMPLICIT INTEGER,
valueFormat [1] IMPLICIT INTEGER,
longDesc [2] IMPLICIT IA5String OPTIONAL,
shortDesc [3] IMPLICIT IA5String OPTIONAL,
unitsDesc [4] IMPLICIT IA5String OPTIONAL,
precision [5] IMPLICIT INTEGER OPTIONAL,
properties [6] IMPLICIT BITSTRING OPTIONAL,
}
The meanings of the various attributes are given below.
tagASN1: The ASN.1 tag for this object.
This attribute is required.
Partridge & Trewitt [Page 6]
^L
RFC 1024 HEMS Definitions October 1987
valueFormat: The underlying ASN.1 type of the object
(e.g., SEQUENCE, or OCTETSTRING). This attribute
is required.
longDesc: A potentially lengthy text description which
fully defines the object. This attribute is optional
for objects defined in this memo and required for
entity-specific objects.
shortDesc: A short mnemonic string of less than 15 octets
which is suitable for labelling the value on a display.
This attribute is optional.
unitsDesc: A short string used for integer values to
indicate the units in which the value is measured
(e.g. "ms", "sec", "packets", etc). This attribute
is optional.
precision: For Counter objects, the value at which the
Counter will roll-over. Required for all Counter
objects.
properties: A bitstring of boolean properties of the
object. If the bit is on, it has the given property.
This attribute is optional. The bits currently
defined are:
0 -- If true, the difference between two values
of this object is significant. For example,
the changes in a packet count is always
significant, it always conveys information.
In this case, the 0 bit would be set. On the
other hand, the difference between two readings
of a queue length may be meaningless.
IMPLEMENTATION SPECIFIC TYPES
Each vendor or implementation specific value must be contained within
an VendorSpecific object. The format of the VendorSpecific object is
shown below.
Type: VendorSpecific
VendorSpecific ::= [APPLICATION 3] IMPLICIT SET of ANY
Partridge & Trewitt [Page 7]
^L
RFC 1024 HEMS Definitions October 1987
For a detailed discussion of the need for this type, see RFC 1023.
WELL-KNOWN TYPES
There are some generally useful types which are defined across the
system and are considered well-known. These types support abstract
notions that are frequently used in other definitions.
TYPE: Error
Error ::= [APPLICATION 0] IMPLICIT SEQUENCE {
errorCode INTEGER,
errorOffset INTEGER
errorDescription IA5String,
}
The Error type is returned within reply messages when an error is
countered. The errorCode is a number specifying a general class of
error. The errorOffset is the octet in the query where the error was
discovered. Note that the query starts at the first octet (octet 0)
of the HEMP data section. The errorDescription is a text message
explaining the error. Note that the definition of this section is
the same (except for the start of the offset) as that of the HEMP
protocol error structure and the error codes have been selected to
keep the code spaces distinct. This is intended to ease the
processing of error messages. The defined errorCodes are:
100 -- Any error not listed below.
101 -- System error. The query processor has failed
in some way.
102 -- Format error. An error has been detected in
the input stream.
103 -- Stack error. A stack overflow or underflow has
occurred.
104 -- Instruction error. The instruction is either
unknown, or not supported on the object to which
it has been applied.
105 -- Operand error. The wrong number of operands or
inappropriate operands have been given to an
instruction.
Partridge & Trewitt [Page 8]
^L
RFC 1024 HEMS Definitions October 1987
TYPE: Counter
Counter ::= [APPLICATION 4] IMPLICIT INTEGER
The Counter type is an unsigned integer which is defined to roll-over
to 0 when incremented past a certain value. (The roll-over point may
be found by examining the attributes for the particular counter.)
Counter sizes should be chosen such that the counters will not roll
over more than once every 24 hours.
TYPE: InstructionGroup
InstructionGroup ::= [APPLICATION 5] IMPLICIT SEQUENCE
of ANY
An InstructionGroup is an encapsulated sequence of operands and
operations. It allows applications to encode queries as objects.
TYPE: Histogram
Histogram ::= SET of HistEntry
HistEntry ::= SEQUENCE {
histValue INTEGER,
histCount Counter
}
A Histogram associates a count, histCount, with a numeric value,
histValue. No meaning is placed on the count or value by this
definition. Each HistEntry may represent a simple map (e.g.,
histCount instances of histValue), or a more complex relationship
(e.g., a count of all values between this histValue and the next
lowest histValue in the Histogram). The meaning of the particular
Histogram is given in the object definition.
TYPE: TrafficMatrix
TrafficMatrix ::= SET of TrafficEntry
TrafficEntry ::= SEQUENCE {
src IpAddress,
dst IpAddress,
count Counter
}
A TrafficMatrix measures traffic observed between two IP addresses.
Typically it is used to count packets flowing through a gateway.
Partridge & Trewitt [Page 9]
^L
RFC 1024 HEMS Definitions October 1987
TYPE: IpAddress
IpAddress ::= OCTETSTRING
The 4 octet IP address. If the length of the string is less than 4
then the missing octets are wildcarded. A zero length string is a
default address (e.g., for indicating default routes).
TYPE: Fraction
Fraction ::= INTEGER
A Fraction is an integer representation of a fractional value. It
contains the numerator of a value as expressed over 256. (For
example dividing the Fraction by 256 gives the fractional value.)
TYPE: BootClock
BootClock ::= INTEGER
The time in milliseconds since the machine was last booted or reset.
This value is always defined.
TYPE: localClock
LocalClock ::= INTEGER
The local system clock, measured in milliseconds since 00:00 1
January 1900 UTC. Assumed to be only a local estimate of the time.
The value 0 is reserved for an uninitialized clock (For example, an
uninitialized time-of-day chip.)
TYPE: NetClock
NetClock ::= INTEGER
A network synchronized clock, which is assumed to be synchronized
across some part of a network. The clock value is measured in
milliseconds since 00:00 1 January 1900 UTC. Specific information
about the synchronization protocol is found in the system variable
dictionary. The value 0 is used to indicate an uninitialized clock.
TYPE: TimeStamp
TimeStamp ::= CHOICE {
[0] BootClock
Partridge & Trewitt [Page 10]
^L
RFC 1024 HEMS Definitions October 1987
[1] localClock
[2] NetClock
}
A TimeStamp, which was taken from the boot clock, system clock or the
synchronized clock. In general, a time of day is preferred to the
time since boot, and a synchronized clock is preferred to an
unsynchronized clock. It is more useful to know that an event
occurred at a particular time, than that it happened so many
milliseconds after the machine booted.
OBJECT DEFINITIONS
The Root Dictionary
In HEMS, all data is stored in dictionaries, where a dictionary is
thought to represent a conceptual grouping of values. The top-level
dictionary is the root dictionary. The form of the root dictionary
for is shown below.
RootDictionary ::= [APPLICATION 32] IMPLICIT SET {
SystemVariables,
EventControls OPTIONAL,
Interfaces,
IpNetworkLayer,
IpRoutingTable,
IpTransportLayer,
IpApplications OPTIONAL
}
The root dictionary is split into seven general dictionaries:
- SystemVariables, which stores general system values such
as the system clock, machine memory and system up/down
status.
- EventControls, which stores all objects necessary to
observe and control the event generating mechanism in
entities which support events.
- interfaces, which contains all information on all
the network interfaces and IP to physical address
maps (ARP tables, X.25 Standard mappings, etc).
- IpNetworkLayer, which contains information about the
workings of the IP layer. This includes information such
as routing tables, general packet counts, and host-traffic
Partridge & Trewitt [Page 11]
^L
RFC 1024 HEMS Definitions October 1987
matrices.
- IpRoutingTable, which contains information on how the
machine routes packets. It proved more useful to segregate
routing information than to keep it stored with the network
layer data.
- IpTransportLayer, which stores information on the transport
protocols that the entity supports.
- IpApplications, which may store information about various
internet applications such as the domain system. This
section is not required of HEMS entities.
The next several sections define the values stored in the five
dictionaries.
The SystemVariables Dictionary
The SystemVariables dictionary stores objects which are not strictly
protocol, network, or application specific. Such objects include
values such as the machine load, clocks and the processor status.
The form of the dictionary is shown below.
SystemVariables ::= [APPLICATION 33] IMPLICIT SET {
referenceClock [0] IMPLICIT TimeStamp,
netClockInfo [1] IMPLICIT SET OPTIONAL,
processorLoad [2] IMPLICIT INTEGER,
entityState [3] IMPLICIT INTEGER,
kernelMemory [4] IMPLICIT OCTETSTRING OPTIONAL,
pktBuffers [5] IMPLICIT INTEGER OPTIONAL,
pktOctets [6] IMPLICIT INTEGER OPTIONAL,
pktBuffersFree [7] IMPLICIT INTEGER OPTIONAL,
pktOctetsFree [8] IMPLICIT INTEGER OPTIONAL
systemID [9] IMPLICIT IA5STRING,
}
OBJECT: SystemVariables
Type: SET
Definition: see above
The objects in the dictionary are defined below.
OBJECT: referenceClock
Partridge & Trewitt [Page 12]
^L
RFC 1024 HEMS Definitions October 1987
Type: TimeStamp
Definition: The system clock used for placing timestamps on
information. Use of a NetClock is encouraged.
Operations on Object: Defaults.
Notes: Cross-network clock adjustment is best handled by a proper
time synchronization protocol, not through the use of SET.
OBJECT: netClockInfo
Type: SET
Definition: Detailed information on the referenceClock if the
referenceClock is a NetClock. The format of this
information is shown below.
netClockInfo ::= [1] IMPLICIT SET {
estError INTEGER,
refClockType INTEGER {
unspecified(0), primary-reference(1),
ntp-secondary-reference(2), secondary-reference(3),
wristwatch(4)
}
}
The estError is the estimated error in milliseconds. The
refClockType is a value indicating the type of reference
clock consulted for network time (the values are taken
directly from the Network Time Protocol specification,
RFC-958).
Object Status: Required if the referenceClock is a NetClock.
OBJECT: processorLoad
Type: Fraction
Definition: A value, expressed as a Fraction, which indicates
the current processing load on the entity. A value of
256 (= 1.0) is defined to be running at capacity. It
is recognized that this is an imprecise definition since
capacity can be measured in several ways. For example,
a multiprocessor may still have plenty of capacity
even if one processor is running at capacity,
Partridge & Trewitt [Page 13]
^L
RFC 1024 HEMS Definitions October 1987
or it may be at capacity because that processor is the
master processor and handles all context switching.
The idea is for remote applications to be able to get some
sense of the current workload on the entity. Also note
that the time scale of the measurement should be small.
A load measure that averages over the past 10 seconds
is acceptable but a load measure that averages over the
past 10 minutes is not. Implementors should chose some
mapping between system load and this scale such that 256
represents a machine under severe strain. (Note that this
suggests that values greater than 256 may be returned in
rare cases.)
OBJECT: entityState
Type: INTEGER
Definition: An object which indicates the system state. There are
several defined object values. Some values are read-only and
can only be read from the object. Over values are write-only
and will never be read from the object. Over values are
write-only and will never be read from the object.The values
are:
The read-only values are:
(0) -- reserved.
(1) -- running. The entity is up and running.
(2) -- testing. The entity is running some sort of
diagnostics which may affect its network
operation.
The write-only values are:
(0) -- reserved.
(1) -- reset the entity.
(2) -- reboot the entity. This value is assumed to
cause a more aggressive recycling of the system
than reset, though this need not be the case.
(3) -- halt the entity. This value stops the
entity. It assumed to prevent the entity from
operating until it is manually restarted. (I.e.
the halt takes the machine off the network).
Partridge & Trewitt [Page 14]
^L
RFC 1024 HEMS Definitions October 1987
Note: The ability to change an entity's state requires very strong
access controls.
Operations on Object: The defaults except as noted below.
SET: Optionally writes the value into the object.
The message requesting the SET must be authenticated.
SET-MATCH: Optionally writes the value into the object
if the current value is matched.
OBJECT: kernelMemory
Type: OCTETSTRING
Definition: A sequence of octets which represents the image of the
kernel software running on the entity. This facility is
provided to allow remote network debugging.
By kernel software, we mean that software which controls the
operations and access to the hardware. In particular, the kernel
is expected to contain all network software up through the IP
layer.
Implementations which use lightweight processes or segmented
images should consider providing some way to map their internal
representation into a single contiguous stream of octets.
Note: Access control is required to read this object.
Object Status: Useful.
Operations on Object: The defaults except as noted below.
GET-RANGE: Emits the section of memory specified.
GET: Emits all of memory, but note that a GET on the system
dictionary should *not* emit this object.
OBJECT: pktBuffers
Type: INTEGER
Definition: The total number of packet buffers in the entity.
Object Status: Required if the entity has a maximum number of
buffers. Note that most entities do have a limit (even if it
Partridge & Trewitt [Page 15]
^L
RFC 1024 HEMS Definitions October 1987
is for practical purposes, near infinite) and should return
that limit.
OBJECT: pktOctets
Type: INTEGER
Definition: The maximum number of octets that can be buffered in the
entity at any one time.
Object Status: Required if the entity has a maximum number of octets
it can buffer. Note that most entities do have a limit and
should return that limit.
OBJECT: pktBuffersFree
Type: INTEGER
Definition: The number of packet buffers currently available.
Subtracting pktBuffersFree from pktBuffers should give the
number of buffers in use.
Object Status: Required if there is a limit on the number of
buffers.
OBJECT: pktOctetsFree
Type: INTEGER
Definition: The number of octets currently available including those
not used in allocated buffers. Subtracting this value from
pktOctets should give the number of octets in use.
This object can be used to track how well the entity buffers its
data.
Object Status: Required if there is a limit on the number of
octets that can be buffered.
OBJECT: systemID
Type: IA5STRING
Definition: The text identification of the entity. This value
should include the full name of the vendor, the type of system,
Partridge & Trewitt [Page 16]
^L
RFC 1024 HEMS Definitions October 1987
and the version number of the hardware and software running on
the entity.
The EventControls Dictionary
The EventControls dictionary contains objects to control and
monitor the delivery of event messages to operations centers.
The format of this dictionary is shown below.
EventControls ::= [APPLICATION 34] IMPLICIT SET OPTIONAL {
lastEvent [0] IMPLICIT OCTETSTRING OPTIONAL,
eventMessageID [1] IMPLICIT Counter,
eventCenters [2] IMPLICIT SET of IpAddress,
eventList [3] IMPLICIT SET of eventEntry,
}
OBJECT: eventControls
Type: SET
Definition: See above.
Object Status: This object will be required in entities which
support events, after the event definitions have been
properly specified. See discussion of the event formats
at the end of this memo.
A description of the fields in this dictionary are given below.
OBJECT: lastEvent
Type: OCTETSTRING
Definition: The last event message sent.
Object Status: Implementation of this object is encouraged if the
transport protocol used for events is unreliable (e.g., UDP).
OBJECT: eventMessageID
Type: Counter
Partridge & Trewitt [Page 17]
^L
RFC 1024 HEMS Definitions October 1987
Definition: The HEMP MessageId to be used in the next event
message. Equals the number of events sent.
OBJECT: eventCenters
Type: SET of IpAddress
Definition: The list of IP addresses to which events are sent.
This list receives all events. For more selective event
monitoring, centers should list themselves under the
particular events of interest.
Note: If the SET operator is defined then use of some form of
access control is recommended.
Operations on Object: The defaults except as listed below.
CREATE: Adds an address to the list. The new address may
not be a broadcast address (it may be a multicast
address).
DELETE: Deletes an address from the list.
SET-MATCH: Defined on the IP address. Replaces the
address with a new value.
EMIT-MATCH: Defined on the IP address.
OBJECT: eventList
Type: SET of eventEntry
Definition: An array of entries which contain objects which allow
management centers to control how and when events are sent.
(The contents of the eventEntry structure are explained below.)
The eventControls Dictionary: eventList/eventEntry
The eventEntry provides the necessary control objects to manage how
a particular event is sent. The format of the eventEntry is shown
below.
eventEntry ::= [0] IMPLICIT SET {
eventID [0] IMPLICIT INTEGER,
eventMode [1] IMPLICIT INTEGER,
eventCount [2] IMPLICIT Counter,
threshold [3] IMPLICIT Counter,
Partridge & Trewitt [Page 18]
^L
RFC 1024 HEMS Definitions October 1987
thresholdIncr [4] IMPLICIT INTEGER,
eventExecution [5] IMPLICIT InstructionGroup OPTIONAL,
eventCenters [6] IMPLICIT SET of IpAddress
}
OBJECT: eventEntry
Type: SET
Definition: See Above.
OBJECT: eventID
Type: INTEGER
Definition: The particular event ID.
OBJECT: eventMode
Type: INTEGER
Definition: A control object which determines how and whether this
event is sent. The three modes are:
0 -- unused.
1 -- off. The event is not sent.
2 -- on. The event is sent every time it occurs.
3 -- threshold. The event is sent every time the
event count reaches the threshold.
OBJECT: eventCount
Type: Counter
Definition: The number of times this event has occurred.
OBJECT: threshold
Type: Counter
Partridge & Trewitt [Page 19]
^L
RFC 1024 HEMS Definitions October 1987
Definition: The event threshold. If the eventMode is "threshold"
then a event is sent every time the eventCount equals this
value.
Operations on Object: The defaults except as noted below.
SET: Changes the threshold.
OBJECT: thresholdIncr
Type: INTEGER
Definition: The threshold increment. Every time a event threshold
is reached, the threshold value is incremented by this value
(modulo the precision of the Counter) to find the new
threshold.
Operations on Object: The defaults except as noted below.
SET: Changes the increment.
OBJECT: eventExecution
Type: InstructionGroup
Definition: A query to be executed whenever the event is actually
sent. Any data retrieved by this query is appended to the
event message.
Object Status: Encouraged.
Operations on Object: The defaults except as noted below.
SET: Changes the buffer.
OBJECT: eventCenters
Type: SET
Definition: The IP addresses of the monitoring centers which wish
to listen to this particular event. Note that events should be
sent to both these centers and the global list of event centers.
Operations on Object: The defaults except as noted below.
CREATE: Adds an address to the list of centers.
Partridge & Trewitt [Page 20]
^L
RFC 1024 HEMS Definitions October 1987
DELETE: Deletes an address from the list.
SET-MATCH: Defined on the IP address. Replaces the
entry with a new value.
EMIT-MATCH: Defined on the IP address.
The Interfaces Dictionary
The Interfaces dictionary a list of per-interface objects. Since
one of the fundamental goals of HEMS is to use generic interfaces
across differing hardwares, all hardware interfaces are described by
the same data structure, the InterfaceData.
Interfaces ::= [APPLICATION 35] IMPLICIT SET OF InterfaceData
OBJECT: Interfaces
Type: SET
Definition: see above.
The Interfaces Dictionary: The InterfaceData structure.
The InterfaceData structure contains all information on a particular
interface. The form of the structure is shown below.
InterfaceData ::= [0] IMPLICIT SET {
addresses [0] IMPLICIT SET of IpAddress,
mtu [1] IMPLICIT INTEGER,
netMask [2] IMPLICIT IpAddress,
pktsIn [3] IMPLICIT Counter,
pktsOut [4] IMPLICIT Counter,
inputPktsDropped [5] IMPLICIT Counter,
outputPktsDropped [6] IMPLICIT Counter,
bcastPktsIn [7] IMPLICIT Counter OPTIONAL,
bcastPktsOut [8] IMPLICIT Counter OPTIONAL,
mcastPktsIn [9] IMPLICIT Counter OPTIONAL,
mcastPktsOut [10] IMPLICIT Counter OPTIONAL,
inputErrors [11] IMPLICIT Counter,
outputErrors [12] IMPLICIT Counter,
outputQLen [13] IMPLICIT INTEGER,
name [14] IMPLICIT IA5String,
status [15] IMPLICIT INTEGER,
ifType [16] IMPLICIT INTEGER,
mediaErrors [17] IMPLICIT Counter OPTIONAL,
Partridge & Trewitt [Page 21]
^L
RFC 1024 HEMS Definitions October 1987
upTime [18] IMPLICIT TimeStamp,
broadcast [19] IMPLICIT BITSTRING
multicast [20] IMPLICIT SET of BITSTRING,
addressList [21] IMPLICIT SET OPTIONAL,
}
OBJECT: InterfaceData
Type: SET
Definition: see above.
Operations on Object: The defaults except as noted below.
SET-MATCH: This operation is optionally defined on the
address field of the structure. Only certain fields
in this structure may be changed. The fields which
may be SET are indicated in the descriptions below.
GET-MATCH: Defined to emit information on the interface
which matches the address given.
The fields in the structure are defined below.
OBJECT: addresses
Type: SET of IpAddress
Definition: The IP addresses that the interface accepts. Note that
additional information on multicast addresses may be found in
the IgmpValues dictionary.
OBJECT: mtu
Type: INTEGER
Definition: The maximum transmission unit of the device.
OBJECT: netMask
Type: IpAddress
Definition: The subnet mask, which is an address with all the
network bits set to 1 and all the hosts bits set to 0. Used to
identify subnets.
Partridge & Trewitt [Page 22]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: pktsIn
Type: Counter
Definition: The total number of packets received on this interface
including those in error.
OBJECT: pktsOut
Type: Counter
Definition: The total number of packets that higher levels have
attempted to send, including those that were not sent.
OBJECT: inputPktsDropped
Type: Counter
Definition: The number of good inbound packets dropped (presumably
to free up buffer space).
OBJECT: outputPktsDropped
Type: Counter
Definition: The number of good outbound packets dropped (presumably
to free up buffer space).
OBJECT: bcastPktsIn
Type: Counter
Definition: The number of broadcast packets received including
those in error.
Object Status: Encouraged on interfaces that support broadcast.
OBJECT: bcastPktsOut
Type: Counter
Definition: The number of broadcast packets that higher levels
attempted to send, including those that were not sent.
Object Status: Encouraged on interfaces that support broadcast.
Partridge & Trewitt [Page 23]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: mcastPktsIn
Type: Counter
Definition: The number of multicast packets received including
those in error.
Object Status: Encouraged on interfaces that support multicast.
OBJECT: mcastPktsOut
Type: Counter
Definition: The number of multicast packets sent, including those
that were not sent.
Object Status: Encouraged on interfaces that support multicast.
OBJECT: inputErrors
Type: Counter
Definition: The number of inbound packets that could not be
delivered. The number of inbound packets delivered
should equal inputPkts less this value and inputPktsDropped.
OBJECT: outputErrors
Type: Counter
Definition: The number of outbound packets that could not be
transmitted because of errors. The number of outbound
packets placed on the network should equal outputPkts
less this value and outputPktsDropped.
OBJECT: outputQLen
Type: INTEGER
Definition: The length of the output packet queue (in packets).
OBJECT: name
Type: IA5String
Partridge & Trewitt [Page 24]
^L
RFC 1024 HEMS Definitions October 1987
Definition: A text string completely identifying the interface.
This string should include the name of the manufacturer, the
product name and the version of the hardware.
OBJECT: status
Type: INTEGER
Definition: The status of the object. The status values are:
0 -- reserved
1 -- testing (the interface is in some test mode)
2 -- down (the interface is down)
3 -- up (the interface is up ready to pass packets)
Note: If set operations are defined, access control is required.
Operations on Object: The defaults except as noted below.
SET: Optionally defined to change the state of the interface.
OBJECT: ifType
Type: INTEGER
Definition: A flag which indicates the type of interface in use. The
currently defined types are:
0 -- reserved
1 -- 1822 HDH
2 -- 1822
3 -- FDDI
4 -- DDN X.25
5 -- RFC-877 X.25
6 -- StarLan
7 -- Proteon 10Mbit
8 -- Proteon 80Mbit
9 -- Ethernet
10 -- 802.3 Ethernet
11 -- 802.4 Token Bus
12 -- 802.5 Token Ring
13 -- Point-to-Point Serial
OBJECT: mediaErrors
Type: Counter
Partridge & Trewitt [Page 25]
^L
RFC 1024 HEMS Definitions October 1987
Definition: A counter of media errors, such as collisions on
Ethernets, token regeneration on token passing rings, or lost
RFNMs on PSNs.
Object Status: Encouraged for interfaces to media which have such
errors.
OBJECT: upTime
Type: TimeStamp
Definition: When the interface was put in its current state.
OBJECT: broadcast
Type: BITSTRING
Definition: Whether this interface has a physical broadcast
address.
Object Status: Required if the interface has a broadcast adddress.
OBJECT: multicast
Type: SET of BITSTRING
Definition: The set of hardware multicast addresses currently
enabled on the device.
Object Status: Encouraged in interfaces which support multicast.
OBJECT: addressList
Definition: SET of addressMap
addressMap ::= [0] IMPLICIT SET {
ipAddr [0] IMPLICIT IpAddress
physAddr [1] IMPLICIT BITSTRING
}
Definition: Most interfaces maintain tables mapping physical
network address to IP address. An example is an ARP table.
This table stores that map as a series of entries which map
Partridge & Trewitt [Page 26]
^L
RFC 1024 HEMS Definitions October 1987
IP addresses to the physical address.
Object Status: Required if the interface has to map IP addresses to
physical addresses.
The IpNetworkLayer Dictionary
The IpNetworkLayer dictionary contains all information about the IP
Layer. The format of the dictionary is shown below.
IpNetworkLayer ::= [APPLICATION 36] IMPLICIT SET {
gateway [0] IMPLICIT BOOLEAN,
inputPkts [1] IMPLICIT Counter,
inputErrors [2] IMPLICIT Counter,
inputPktsDropped [3] IMPLICIT Counter,
inputQLen [4] IMPLICIT INTEGER OPTIONAL,
outputPkts [5] IMPLICIT Counter,
outputErrors [6] IMPLICIT Counter,
outputPktsDropped [7] IMPLICIT Counter,
outputQLen [8] IMPLICIT INTEGER OPTIONAL,
ipID [9] IMPLICIT Counter,
fragCreated [10] IMPLICIT Counter OPTIONAL,
fragRcvd [11] IMPLICIT Counter OPTIONAL,
fragDropped [12] IMPLICIT Counter OPTIONAL,
pktsReassembled [13] IMPLICIT Counter OPTIONAL,
pktsFragmented [14] IMPLICIT Counter OPTIONAL,
htm [15] IMPLICIT TrafficMatrix OPTIONAL,
itm [16] IMPLICIT TrafficMatrix OPTIONAL
}
OBJECT: IpNetworkLayer
Type: SET
Definition: See above.
The fields of the dictionary are defined below.
OBJECT: gateway
Type: BOOLEAN
Definition: A boolean value which is true if the entity gateways
packets.
Partridge & Trewitt [Page 27]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: inputPkts
Type: Counter
Definition: The total number of input packets received including
those in error.
OBJECT: inputErrors
Type: Counter
Definition: The number of input packets discarded due to errors
(unknown protocols, format errors, etc).
OBJECT: inputPktsDropped
Type: Counter
Definition: The number of input packets dropped for lack of buffer
space.
OBJECT: inputQLen
Type: INTEGER
Definition: The number of inbound packets currently waiting to be
processed by the IP layer.
Object Status: Encouraged.
OBJECT: outputPkts
Type: Counter
Definition: The total number of outbound packets including both
those packets presented to the IP layer by higher layers and
packets which are gatewayed.
OBJECT: outputErrors
Type: Counter
Definition: The number of output packets discarded because of
Partridge & Trewitt [Page 28]
^L
RFC 1024 HEMS Definitions October 1987
errors (unable to route, format errors, etc).
OBJECT: outputPktsDropped
Type: Counter
Definition: The number of output packets dropped for lack of
buffer space.
OBJECT: outputQLen
Type: INTEGER
Definition: The number of outbound packets waiting to be processed
by the IP layer.
Object Status: Encouraged.
OBJECT: ipID
Type: Counter
Definition: The next IP packet ID identifier to be used. Note
that in some implementations the transport layer may set the
IP identifier, in which case this value is used if the IP
identifier has not been set by the transport layer.
OBJECT: fragCreated
Type: Counter
Definition: The number of IP fragments created at this entity.
(e.g., if an IP is split into three fragments at this entity,
then this counter is incremented by three).
Object Status: Encouraged.
OBJECT: fragRcvd
Type: Counter
Definition: The number of IP fragments received at this entity.
Object Status: Encouraged.
Partridge & Trewitt [Page 29]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: fragDropped
Type: Counter
Definition: The number of IP fragments discarded at this entity
for whatever reason (timed out, errors, etc).
Object Status: Encouraged.
OBJECT: pktsReassembled
Type: Counter
Definition: The number of IP datagrams that have been reassembled
at this entity.
Object Status: Encouraged
OBJECT: pktsFragmented
Type: Counter
Definition: The number of IP datagrams that have been fragmented
at this entity.
Object Status: Encouraged.
OBJECT: htm
Type: TrafficMatrix
Definition: A host traffic matrix, mapping all traffic switched any
pair of sources and destinations. The count in each trafficEntry
routeDst is expressed in packets. Source routed IP packets
should be logged as being between their source and the
destination (i.e., they should not be treated as destined for
this entity).
Notes: This information may be considered sensitive.
Object Status: Encouraged in gateways.
OBJECT: itm
Partridge & Trewitt [Page 30]
^L
RFC 1024 HEMS Definitions October 1987
Type: TrafficMatrix
Definition: An interface traffic matrix showing traffic switched
between interfaces in an entity. The source and destinations
fields are the IP addresses of the interfaces between which
the packet was switched. The count in each trafficEntry is
expressed in packets.
Object Status: Useful.
The IpRoutingTable Dictionary
The IpRoutingTable dictionary contains all routing information.
Note that information about any routing protocols used to maintain
the routing table is found under the entry for the routing protocol.
The format of the routing dictionary is shown below.
IpRoutingTable ::= [APPLICATION 37] IMPLICIT SET {
routingProtocols [0] IMPLICIT OCTETSTRING,
coreRouter [1] IMPLICIT BOOLEAN,
autoSys [2] IMPLICIT INTEGER,
metricUsed [3] IMPLICIT OCTET,
[4] RoutingEntries,
}
OBJECT: IpRoutingTable
Type: SET
Definition: See above.
The objects contained in the dictionary are described below.
OBJECT: routingProtocols
Type: OCTETSTRING
Definition: A sparse list of the routing protocols used to update
the routing table (e.g., EGP and ICMP). Each octet contains one
of the following values:
0 -- anything not specified below.
1 -- local (non-protocol) information. (E.g.
routing tables can be changed by hand).
Partridge & Trewitt [Page 31]
^L
RFC 1024 HEMS Definitions October 1987
2 -- HEMS (was changed/set by a HEMS operation)
3 -- Internet Control Message Protocols, (i.e.
ICMP redirects).
4 -- Exterior Gateway Protocol (EGP).
5 -- Gateway-to-Gateway Protocol (GGP).
6 -- Dissimilar Gateway Protocol (DGP).
7 -- HELO
8 -- RIP
9 -- Proprietary IGP
OBJECT: coreRouter
Type: BOOLEAN
Definition: This value is set to true if this entity is a reference
router for any other router (i.e., if it distributes any of its
routes to other machines).
OBJECT: autoSys
Type: INTEGER
Definition: The autonomous system number of the autonomous system in
which this entity resides.
OBJECT: metricUsed
Type: OCTET
Definition: Classifies the routing metric used in the routing table
entries. The value should be chosen from the list of values for
routingProtocols above, and indicates the metric definition used
(e.g., this entity uses an EGP metric internally).
OBJECT: RoutingEntries
Type: SET of RoutingEntry
Partridge & Trewitt [Page 32]
^L
RFC 1024 HEMS Definitions October 1987
Definition: The set of all routing entries. The RoutingEntry is
defined below.
The IpRoutingTable Dictionary: The RoutingEntry
The RoutingEntry contains all information on a particular route.
The format of the structure is shown below.
RoutingEntry ::= [0] IMPLICIT SET {
routeMetric [0] IMPLICIT INTEGER,
routeDst [1] IMPLICIT IpAddress,
nextHop [2] IMPLICIT IpAddress,
routeAuthor [3] IMPLICIT IpAddress OPTIONAL,
routeproto [4] IMPLICIT Octet OPTIONAL,
routeTime [5] TimeStamp,
routeTOS [6] IMPLICIT INTEGER OPTIONAL,
valid [7] IMPLICIT BOOLEAN
}
OBJECT: RoutingEntry
Type: SET
Definition: See above.
Operations on Object: Defaults except as specified below.
CREATE: Adds a new routing entry. It should be confirmed
that the entry is new.
DELETE: Deletes a routing entry.
GET-MATCH: The match operator is defined on the routeDst
field. A match on an IpAddress is defined to be a
search to find the route or routes which would be
used to reach the IpAddress. More than one route
may be applicable, in which case all possible routes
should be returned.
SET-MATCH: Is optionally defined on the object. A SET
on an entire RoutingEntry replaces the entire entry
with a new value. Certain fields (indicated below)
can also be changed using a SET-MATCH.
The match operator is defined on the routeDst and
routeTOS fields. To SET a value, the match must be
exact on the IP address (this is different from the
Partridge & Trewitt [Page 33]
^L
RFC 1024 HEMS Definitions October 1987
search definition for GET-MATCH).
Note that support of the operator on an entity
which uses a dynamic routing protocol such as
GGP or EGP will require close coordination with
the routing protocol to ensure consistent data.
(Arguably, this facility should not be supported
on such machines).
The definitions of the fields in the RoutingEntry are given below.
OBJECT: routeMetric
Type: INTEGER
Definition: The routing metric on this route. Note that the type of
metric is defined in the metricUsed field of the IpRoutingTable
dictionary.
OBJECT: routeDst
Type: IpAddress
Definition: The final destination that can be reached via this
route.
OBJECT: nextHop
Type: IpAddress
Definition: The next hop to the final destination.
OBJECT: routeAuthor
Type: IpAddress
Definition: The IP address of the entity from which this route was
*first* received. That is, the first entity which stated that
was reached via nextHop. The default IpAddress should be used
to indicate routes which originated on the entity.
Object Status: Encouraged.
OBJECT: routeProto
Partridge & Trewitt [Page 34]
^L
RFC 1024 HEMS Definitions October 1987
Type: Octet
Definition: The routing protocol from which this route was learned.
The value is taken from the list of values for routingProtocols
above.
Object Status: Encouraged.
OBJECT: routeTime
Type: TimeStamp
Definition: When this route was first received.
Object Status: Encouraged.
OBJECT: routeTOS
Type: INTEGER
Definition: The IP Type of Service which this routing entry serves.
Object Status: Required if type of service routing is supported.
OBJECT: valid
Type: BOOLEAN
Definition: Whether the route is active. (Some machines retain
routes which are no longer valid for various reasons.)
The IpTransportLayer Dictionary
The IpTransportLayer Dictionary contains any information which
pertains to transport protocols which use the IP protocol as the
network protocol. For ease of reference, the ASN.1 tag of each
transport protocol's dictionary is the same as the assigned IP
Protocol number. The definition of the IpTransportLayer
dictionary is shown below. Note that dictionaries for many
protocols are not yet defined.
IpTransportLayer ::= [APPLICATION 38] IMPLICIT SET {
[0] IMPLICIT ProtocolsSupported,
[1] IMPLICIT IcmpValues,
[2] IMPLICIT IgmpValues OPTIONAL,
Partridge & Trewitt [Page 35]
^L
RFC 1024 HEMS Definitions October 1987
[3] IMPLICIT GgpValues OPTIONAL,
[7] IMPLICIT TcpValues OPTIONAL,
[8] IMPLICIT EgpValues OPTIONAL,
[17] IMPLICIT UdpValues OPTIONAL,
[20] IMPLICIT HmpValues OPTIONAL,
[27] IMPLICIT RdpValues OPTIONAL,
[30] IMPLICIT NetbltValues OPTIONAL,
}
OBJECT: IpTransportLayer
Type: SET
Definition: see above.
The objects in the dictionary are defined below.
The IpTransportLayer Dictionary: ProtocolsSupported
OBJECT: protocolsSupported
Type: OCTETSTRING
Definition: Sparse list of transport protocols supported. Each
octet in the OCTETSTRING contains the IP protocol number of a
supported protocol. For the purposes of this definition, an
entity supports a protocol if it both contains software to
makes it possible for the protocol to be used in
communications with the entity, AND the entity keeps the
required values (if any) defined in this memo for that protocol.
The IpTransportLayer Dictionary: IcmpValues
The IcmpValues dictionary is a subdictionary of the IpTransportLayer
dictionary which tracks the workings of the Internet Control Message
Protocol, defined in RFC-792. The form of the dictionary is shown
below.
IcmpValues ::= SET {
inputPktCount [0] IMPLICIT Counter,
inputPktErrors [1] IMPLICIT Counter,
inputPktDeliver [2] IMPLICIT Counter,
inputPktTypes [3] IMPLICIT Histogram OPTIONAL,
outputPktCount [4] IMPLICIT Counter,
outputPktErrors [5] IMPLICIT Counter,
outputPktTypes [6] IMPLICIT Histogram OPTIONAL,
icmpTraffic [7] IMPLICIT TrafficMatrix OPTIONAL,
ipID [8] IMPLICIT Counter OPTIONAL
Partridge & Trewitt [Page 36]
^L
RFC 1024 HEMS Definitions October 1987
}
OBJECT: IcmpValues
Type: SET
Definition: see above.
The objects in the dictionary are defined below.
OBJECT: inputPktCount
Type: Counter
Definition: The total number of ICMP packets received (including
those in error).
OBJECT: inputPktErrors
Type: Counter
Definition: The number of ICMP packets received which proved to
have errors (bad checksums, bad length etc). Subtracting this
value from the inputPktCount field should give the number of
valid ICMP packets received.
OBJECT: inputPktDeliver
Type: Counter
Definition: The number of valid ICMP packets which were
successfully processed (e.g., delivered to the higher
protocol).
OBJECT: inputPktTypes
Type: Histogram
Definition: A histogram of ICMP messages types and codes received,
not including those messages that proved to contain errors.
The histogram histValue field contains a 16-bit value which is
the the (ICMP type * 256) + ICMP code, and the histCount field
contains the number of valid messages containing this
Partridge & Trewitt [Page 37]
^L
RFC 1024 HEMS Definitions October 1987
type/code pair which have been received.
The message type and code values are those defined in RFC-792
(e.g., the Time Exceeded Message with a code of "fragment
reassembly time exceeded" is (11 * 256) + 1 = 2817).
Object Status: Useful.
Operations on Object: The defaults except as listed below:
GET-MATCH: Match is defined on the value of the histValue
field.
OBJECT: outputPktCount
Type: Counter
Definition: The total number of ICMP packets that the entity
attempted to send (including those that failed due to lack of
buffers, a missing route or other transient transmission
problems).
OBJECT: outputPktErrors
Type: Counter
Definition: The number of ICMP packets which the entity could not
send due to transmission problems such as the lack of buffers, a
missing route or other transient transmission problems. This
value is not required to include errors which the ICMP layer
could not reasonably be expected to detect such as damage to the
packet in transit. Subtracting this value from the PktCount
field should give the number of ICMP packets the entity believes
it successfully sent.
OBJECT: outputPktTypes
Type: Histogram
Definition: A histogram of ICMP messages types and codes sent,
including those messages that later failed to be transmitted.
The histogram histValue field contains a 16-bit value which is
the the (ICMP type * 256) + ICMP code, and the histCount field
contains the number of valid messages containing this type/code
pair which have been sent.
Partridge & Trewitt [Page 38]
^L
RFC 1024 HEMS Definitions October 1987
The message type and code values are those defined in RFC-792
(e.g., the Time Exceeded Message with a code of "fragment
reassembly time exceeded" is (11 * 256) + 1 = 2817).
Object Status: Useful.
Operations on Object: The defaults except as listed below:
GET-MATCH: Match is defined on the value of the histValue
field.
OBJECT: icmpTraffic
Type: TrafficMatrix
Definition: All ICMP traffic which has originated on this machine.
The source address in the traffic matrix should be the interface
from which the packet was sent. The destination is the address
to which the packet is to finally be delivered (not an
intermediate hop).
Object Status: Useful.
OBJECT: ipID
Type: Counter
Definition: The next IP packet ID identifier to be used by the ICMP
code.
Object Status: Required if the ICMP code generates its own IP
identifiers.
The IpTransportLayer Dictionary: IgmpValues
IgmpValues ::= SET {
conformance [0] IMPLICIT INTEGER,
inputPktCount [1] IMPLICIT Counter,
inputPktErrors [2] IMPLICIT Counter,
inputPktTypes [3] IMPLICIT Histogram OPTIONAL,
outputPktCount [4] IMPLICIT Counter,
outputPktErrors [5] IMPLICIT Counter,
outputPktTypes [6] IMPLICIT Histogram OPTIONAL,
igmpTraffic [7] IMPLICIT TrafficMatrix OPTIONAL
Partridge & Trewitt [Page 39]
^L
RFC 1024 HEMS Definitions October 1987
igmpGroups [8] IMPLICIT SET of IgmpGroupEntry,
ipID [9] IMPLICIT Counter OPTIONAL,
}
OBJECT: IgmpValues
Type: SET
Definition: The dictionary of information on the Internet Group
Management Protocol (RFC-988).
Object Status: Required in hosts which support IGMP.
The objects stored in this dictionary are defined below.
OBJECT: conformance
Type: INTEGER
Definition: The level of conformance with RFC-988. The conformance
levels are:
0 -- Level 0. No support for IP multicasting
1 -- Level 1. Support for sending but not receiving
multicast datagrams.
2 -- Level 2. Full support for IP multicasting.
These values are taken directly from RFC-988.
OBJECT: inputPktCount
Type: Counter
Definition: The number of IGMP packets received including those
that proved to be in error.
OBJECT: inputPktErrors
Type: Counter
Definition: The number of IGMP packets received which proved to
be in error. This value subtracted from inputPktCount should
give the number of valid IGMP packets received.
Partridge & Trewitt [Page 40]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: inputPktTypes
Type: Histogram
Definition: A histogram of IGMP messages types and codes sent,
including those messages that later failed to be transmitted.
The histogram histValue field contains a 16-bit value which
is the the (IGMP type * 256) + IGMP code, and the histCount
field contains the number of valid messages containing this
type/code pair which have been sent.
The type and code values are taken from RFC-988.
OBJECT: outputPktCount
Type: Counter
Definition: The total number of IGMP packets that the entity
attempted to send (including those that failed due to lack
of buffers, a missing route or other transient transmission
problems).
OBJECT: outputPktErrors
Type: Counter
Definition: The number of IGMP packets which the entity could not
send due to transmission problems such as the lack of buffers,
a missing route or other transient transmission problems.
This value is not required to include errors which the IGMP
layer could not reasonably be expected to detect such as damage
to the packet in transit. Subtracting this value from the
outputPktCount field should give the number of IGMP packets
the entity believes it successfully sent.
OBJECT: outputPktTypes
Type: Histogram
Definition: A histogram of IGMP messages types and codes sent,
including those messages that later failed to be transmitted.
The histogram histValue field contains a 16-bit value which is
the the (IGMP type * 256) + IGMP code, and the histCount field
contains the number of valid messages containing this type/code
pair which have been sent.
The type and code values are taken from RFC-988.
Partridge & Trewitt [Page 41]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: igmpTraffic
Type: TrafficMatrix
Definition: All IGMP traffic which has originated on this machine.
The source address in the traffic matrix should be the interface
from which the packet was sent. The destination is the address
to which the packet is to finally be delivered (not an
intermediate hop).
Object Status: Useful.
OBJECT: igmpGroups
Type: SET
Definition: The various igmpGroups of which this host is aware.
This is stored as a set of IgmpGroupEntry. The format of an
IgmpGroupEntry is shown below.
IgmpGroupEntry ::= [0] SET {
groupAddress [0] IMPLICIT IpAddress,
groupAccessKey [1] IMPLICIT OCTETSTRING,
groupAgent [2] IMPLICIT BOOLEAN,
}
The groupAddress is the multicast IP address. The
groupAccessKey is the 8 octet key -- this key may be
confidential and should only be available to authorized querying
entities. The groupAgent field is true if this entity is an
agent for the multicast group.
OBJECT: ipID
Type: Counter
Definition: The next IP packet ID identifier to be used by the IGMP
code.
Object Status: Required if the IGMP code generates its own IP
identifiers.
Partridge & Trewitt [Page 42]
^L
RFC 1024 HEMS Definitions October 1987
The IpTransportLayer Dictionary: GgpValues
The definition of the GgpValues dictionary is left for further
study.
The IpTransportLayer Dictionary: TcpValues
The TcpValues dictionary is a subdictionary of the IpTransportLayer
dictionary which tracks the workings of the Transmission Control
Protocol, defined in RFC-793. The definitions of several objects in
this dictionary refer to definitions in RFC-793. The form of the
dictionary is shown below.
TcpValues ::= SET {
[0] IMPLICIT TcpParam
[1] IMPLICIT TcpStats OPTIONAL,
tcpConnData [2] IMPLICIT SET of TcpConn,
}
OBJECT: TcpValues
Type: IMPLICIT SET
Definition: see above.
Object Status: Required if the entity supports TCP.
The objects in the dictionary are defined in the next few sections.
The IpTransportLayer Dictionary: TcpValues/TcpParam
The TcpParam dictionary contains information about certain
parameters such as round-trip timer estimation constants which are
managed on a per-machine basis. The form of the dictionary is shown
below.
TcpParam ::= SET {
tcpRtoA [0] IMPLICIT IA5String,
tcpRtoParam [1] IMPLICIT SET of RtoParam,
ipID [2] IMPLICIT Counter,
tcpRtoMin [3] IMPLICIT INTEGER OPTIONAL,
tcpRtoMax [4] IMPLICIT INTEGER OPTIONAL,
tcpMaxSegSiz [5] IMPLICIT INTEGER,
tcpMaxConn [6] IMPLICIT INTEGER OPTIONAL,
tcpMaxWindow [7] IMPLICIT INTEGER OPTIONAL,
}
Partridge & Trewitt [Page 43]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: tcpParam
Type: SET
Definition: see above.
The definition of the objects in the tcpParam dictionary are given
below.
OBJECT: tcpRtoA
Type: IA5String
Definition: The TCP retransmission timeout algorithm used. The
algorithm is expressed as one or more equations to generate
a target value, "RTO[N]", which is the retransmission timeout
for packet "N". Expressions should use well understood
symbols such as * for multiplication and / for division, and
parentheses to indicate precedence. Variables should begin
with an upper case character. Multiple equations should be
separated by semi-colons. Comments should be in braces (i.e.,
{}). Constants should begin with a lower case character. In
addition to "RTO[N]" the symbol "S[N]" is defined to mean the
round-trip sample for packet N. Using this syntax, the
algorithm in RFC-793 would be expressed as:
RTO[N] = SRTT[N] * beta ;
SRTT[N] = ( S[N-1] * alpha) + (SRTT[N-1] * (1 - alpha))
Note: The syntax probably needs to be refined so that it can be
parsed and interpreted by a program. This is left for future
study.
OBJECT: tcpRtoParam
Type: SET of RtoParam
Definition: The list of the values of the constants used by the
retransmission timeout algorithm. The format of the RtoParam
structure is shown below.
RtoParam ::= SEQUENCE {
name IA5String,
value Fraction
}
Partridge & Trewitt [Page 44]
^L
RFC 1024 HEMS Definitions October 1987
The name is the name of the constant as expressed in the
tcpRtoA (e.g., "beta").
OBJECT: ipID
Type: Counter
Definition: The next IP packet ID identifier to be used by the TCP
code.
Object Status: Required if the TCP code generates its own IP
identifiers.
OBJECT: tcpRtoMin
Type: INTEGER
Definition: The minimum value the TCP implementation permits for
the retransmission timeout (RTO), measured in milliseconds.
Note: If the SET operation is optionally defined, access control
must be exercised.
Object Status: Required if the implementation uses the suggested
algorithm in RFC-793 or if the implementation sets any limits
on the minimum RTO.
Operations on Object: The defaults except as listed below:
SET: Optionally defined to change the value. Implementations
should confirm that the new value is less than tcpRtoMax.
OBJECT: tcpRtoMax
Type: INTEGER
Definition: The maximum value the TCP implementation permits for
the retransmission timeout (RTO), measured in milliseconds.
Note: If the SET operation is optionally defined, access control
must be exercised.
Object Status: Required if the implementation uses the suggested
algorithm in RFC-793 or if the implementation sets any limits
on the maximum RTO.
Operations on Object: The defaults except as listed below:
Partridge & Trewitt [Page 45]
^L
RFC 1024 HEMS Definitions October 1987
SET: Optionally defined to change the value. Implementations
should confirm that the new value is greater than tcpRtoMax,
and that the value is large (i.e., several seconds).
OBJECT: tcpMaxSegSiz
Type: INTEGER
Definition: The maximum segment size used by this implementation.
Object Status: Required if the entity sets an upper limit on the
MTU. (Some implementations have no constraints, but chose an
MTU from external constraints such as the maximum MTU of the
network interface in use.)
OBJECT: tcpMaxConn
Type: INTEGER
Definition: An optional value, which must be present if the entity
has a limit on the total number of TCP connections it can support.
Object Status: Required if the entity sets limits.
Note: If the SET operation is defined, access control must be
exercised.
Operations on Object: The defaults except as listed below:
SET: Optionally defined to change the value. If the
new value is less than the number of currently
open connections, implementations are *not* required
to close existing connections, but may not open
any additional ones.
OBJECT: tcpMaxWindow
Type: INTEGER
Definition: An optional value, which must be present if the entity
places a fixed upper limit on the size of any connection's TCP
window (i.e., if the maximum window size is not per connection
configurable).
Object Status: Required if the entity sets limits.
Partridge & Trewitt [Page 46]
^L
RFC 1024 HEMS Definitions October 1987
Note: If the SET operation is defined, access control must be
exercised.
Operations on Object: The defaults except as listed below:
SET: Optionally defined to change the value. The new
value must be at least the size of one maximum
TCP segment.
The IpTransportLayer Dictionary: TcpValues/TcpStats
The TcpStats dictionary stores general information about the
workings of the TCP layer. The form of the dictionary is shown
below.
TcpStats ::= SET {
connAttempts [0] IMPLICIT Counter OPTIONAL,
connOpened [1] IMPLICIT Counter OPTIONAL,
connAccepted [2] IMPLICIT Counter OPTIONAL,
connClosed [3] IMPLICIT Counter OPTIONAL,
connAborted [4] IMPLICIT Counter OPTIONAL,
connAbortedInfo [5] IMPLICIT Histogram OPTIONAL,
octetsIn [6] IMPLICIT Counter OPTIONAL,
octetsOut [7] IMPLICIT Counter OPTIONAL,
octetsInDup [8] IMPLICIT Counter OPTIONAL,
octetsRetrans [9] IMPLICIT Counter OPTIONAL,
inputPkts [10] IMPLICIT Counter OPTIONAL,
retransPkts [11] IMPLICIT Counter OPTIONAL,
outputPkts [12] IMPLICIT Counter OPTIONAL,
dupPkts [13] IMPLICIT Counter OPTIONAL,
}
OBJECT: TcpStats
Type: SET
Definition: See above.
Object Status: Encouraged.
The definition of the fields in the dictionary are given below.
OBJECT: connAttempts
Type: Counter
Partridge & Trewitt [Page 47]
^L
RFC 1024 HEMS Definitions October 1987
Definition: The number of connection attempts that have been made
from this host. This includes pending attempts.
Object Status: Encouraged.
OBJECT: connOpened
Type: Counter
Definition: The number of connection attempts from this host which
successfully generated an open connection. This includes
currently open connections.
Object Status: Encouraged.
OBJECT: connAccepted
Type: Counter
Definition: The number of connections accepted by listening peers
on this entity. This includes currently open connections.
Object Status: Encouraged.
OBJECT: connClosed
Type: Counter
Definition: The number of connections which were properly closed.
Object Status: Encouraged.
OBJECT: connAborted
Type: Counter
Definition: The number of connections which were aborted. Note
that if implementations trace how the connection was aborted,
they are encouraged to use the connAbortedInfo histogram.
Object Status: Encouraged.
OBJECT: connAbortedInfo
Partridge & Trewitt [Page 48]
^L
RFC 1024 HEMS Definitions October 1987
Type: Histogram
Definition: The number of connections which were aborted by type of
abort. The histValue is one of the codes listed below. The
histCount is the number of connections aborted for this reason.
The histValues codes are:
0 -- an abort condition not specified below
1 -- remote abort
2 -- local application abort
3 -- local protocol level abort
Object Status: Useful
OBJECT: octetsIn
Type: Counter
Definition: The total number of TCP octets (not including
duplicates) received at this entity.
Object Status: Required if TcpStats is implemented.
OBJECT: octetsOut
Type: Counter
Definition: The total number of TCP octets (not including
retransmissions) sent from this entity.
Object Status: Required if TcpStats is implemented.
OBJECT: octetsInDup
Type: Counter
Definition: The total number of TCP octets received which were
duplicates.
Object Status: Required if TcpStats is implemented.
OBJECT: octetsReTrans
Type: Counter
Partridge & Trewitt [Page 49]
^L
RFC 1024 HEMS Definitions October 1987
Definition: The total number of TCP octets which have been
retransmitted.
Object Status: Required if TcpStats is implemented.
OBJECT: inputPkts
Type: Counter
Definition: The total number of valid packets received, including
those on current connections.
Object Status: Useful.
OBJECT: retransPkts
Type: Counter
Definition: The total number of packets retransmitted.
Object Status: Useful.
OBJECT: outputPkts
Type: Counter
Definition: The total number of packets sent.
Object Status: Useful.
OBJECT: dupPkts
Type: Counter
Definition: The number of packets received which contained only
data already received.
Object Status: Useful.
Partridge & Trewitt [Page 50]
^L
RFC 1024 HEMS Definitions October 1987
The IpTransportLayer Dictionary: TcpValues/TcpConn
The tcpConnData field in the TcpValues dictionary is a set of
TcpConn, where each TcpConn contains information on a particular TCP
connection. The definition of TcpConn is shown below.
TcpConn ::= SET {
localPort [0] IMPLICIT INTEGER,
localAddress [1] IMPLICIT IpAddress,
foreignPort [2] IMPLICIT INTEGER,
foreignAddress [3] IMPLICIT IpAddress,
state [4] IMPLICIT INTEGER,
snduna [5] IMPLICIT INTEGER,
sndnxt [6] IMPLICIT INTEGER,
sndwnd [7] IMPLICIT INTEGER,
congwnd [8] IMPLICIT INTEGER,
rcvnxt [9] IMPLICIT INTEGER,
rcvwnd [10] IMPLICIT INTEGER,
srtt [11] IMPLICIT INTEGER OPTIONAL,
lastrtt [12] IMPLICIT INTEGER OPTIONAL,
maxSegSize [13] IMPLICIT INTEGER,
octetsSent [14] IMPLICIT Counter OPTIONAL,
octetsRXmit [15] IMPLICIT Counter OPTIONAL,
octetsRcvd [16] IMPLICIT Counter OPTIONAL,
octetDups [17] IMPLICIT Counter OPTIONAL,
octetPastWin [18] IMPLICIT Counter OPTIONAL,
segSizes [19] IMPLICIT Histogram OPTIONAL,
}
The set of TCP connections can be searched in a number of ways based
on the local and foreign addresses (including the port number).
Individual values of a connection cannot be retrieved without a
search.
OBJECT: TcpConn
Type: SET
Definition: The per TCP connection data.
Operations on Object: The defaults except as listed below:
GET-MATCH: Defined on any combination of values of
localAddress, localPort, foreignAddress and
foreignPort. Returns all connections which match
the template. (For example, GET-MATCH on a
particular foreignAddress returns all connections
to that address.)
Partridge & Trewitt [Page 51]
^L
RFC 1024 HEMS Definitions October 1987
The definitions of the fields of the tcpConn structure are given
below.
OBJECT: localPort
Type: INTEGER
Definition: The local port number of this connection.
Operations on Object: Defaults. Note that MATCH operators may be
applied to this object to locate information on a particular TCP
connection.
OBJECT: localAddress
Type: IpAddress
Definition: The local IP address of this connection. May be the
default IP address defined above. This value may not be valid
in certain states.
Operations on Object: Defaults. Note that MATCH operators may be
applied to this object to locate information on a particular
TCP connection.
OBJECT: foreignPort
Type: INTEGER
Definition: The foreign port number of this connection. This value
may be meaningless if the local peer is in certain states (e.g.,
LISTEN).
Operations on Object: Defaults. Note that MATCH operators may be
applied to this object to locate information on a particular TCP
connection.
OBJECT: foreignAddress
Type: IpAddress
Definition: The foreign IP address of this connection. This value
may be meaningless if the local peer is in certain states (e.g.,
LISTEN).
Operations on Object: Defaults. Note that MATCH operators may be
Partridge & Trewitt [Page 52]
^L
RFC 1024 HEMS Definitions October 1987
applied to this object to locate information on a particular
TCP connection.
OBJECT: state
Type: INTEGER
Definition: The current state of the local peer. The values
corresponding to the different states are: close(0), listen(1),
syn-sent(2), syn-received(3), established(4), close-wait(5),
fin-wait-1(6), closing(7), last-ack(8), fin-wait-2(9),
time-wait(10). Implementations must map internal
representations of the state into these values.
OBJECT: snduna
Type: INTEGER
Definition: The SND.UNA value as defined in RFC-793.
OBJECT: sndnxt
Type: INTEGER
Definition: The SND.NXT value as defined in RFC-793.
OBJECT: sndwnd
Type: INTEGER
Definition: The SND.WND value as defined in RFC-793.
OBJECT: congwnd
Type: INTEGER
Definition: The congestion window. This value is less than or
equal to sndwnd. If less than sndwnd, then congestion
control is in effect and congwnd is the reduced send window
size in use.
OBJECT: rcvnxt
Type: INTEGER
Partridge & Trewitt [Page 53]
^L
RFC 1024 HEMS Definitions October 1987
Definition: The RCV.NXT value as defined in RFC-793.
OBJECT: rcvwnd
Type: INTEGER
Definition: The RCV.WND value as defined in RFC-793.
OBJECT: srtt
Type: INTEGER
Definition: The smoothed round-trip time in milliseconds.
Object Status: Required if the implementation maintains a smoothed
round-trip time.
OBJECT: lastrtt
Type: INTEGER
Definition: The last round-trip time sample taken in milliseconds.
Object Status: Encouraged.
OBJECT: maxSegSize
Type: INTEGER
Definition: The maximum segment size that can be used on this
connection.
OBJECT: octetsSent
Type: Counter
Definition: The total number of octets transmitted since the
connection was opened, not including retransmissions. Can
alternatively be thought of as the current length of the
stream.
Object Status: Encouraged.
Partridge & Trewitt [Page 54]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: octetsRXmit
Type: Counter
Definition: The total number of octets retransmitted since the
connection was opened. This plus octetsSent should give the
total number of octets sent.
Object Status: Encouraged.
OBJECT: octetsRcvd
Type: Counter
Definition: The number of octets received since the connection was
opened, not including duplicates received. The receiver's
version of octetsSent.
Object Status: Encouraged.
OBJECT: octetDups
Type: Counter
Definition: The total number of octets received since the
connection was opened which were redundant (i.e., they had been
previously received).
Object Status: Encouraged.
OBJECT: octetPastWin
Type: Counter
Definition: The number of segments which contained data beyond
the upper edge of the receive window.
Object Status: Encouraged
OBJECT: segSizes
Type: Histogram
Definition: A histogram of the sizes of the packets sent on the
Partridge & Trewitt [Page 55]
^L
RFC 1024 HEMS Definitions October 1987
connection (useful for catching cases of silly-window syndrome).
This histogram is an range histogram, measuring the number of
segments whose size fell into a give range. The histogram
histValue field contains a segment size, and the histCount
field contains the number of segments between this size and
the next largest size.
Object Status: Useful.
The IpTransportLayer Dictionary: EgpValues
The EgpValues dictionary stores information about the workings of
the Exterior Gateway Protocol, defined in RFC-904. The format of
the dictionary is shown below.
EgpValues ::= SET {
egpState [0] IMPLICIT INTEGER,
[1] IMPLICIT EgpParam,
[2] IMPLICIT EgpStats OPTIONAL,
egpPeerData [3] IMPLICIT SET of EgpPeer
}
OBJECT: EgpValues
Type: SET
Definition: See above.
Object Status: Required in entities which support EGP.
The definitions of the subdictionaries of this dictionary are given
below.
OBJECT: egpState
Type: INTEGER
Definition: The state of the EGP system. The state values are:
0 -- Idle
1 -- Acquisition
2 -- Down
3 -- Up
4 -- Cease
These values are taken directly from RFC-904.
Partridge & Trewitt [Page 56]
^L
RFC 1024 HEMS Definitions October 1987
The IpTransportLayer Dictionary: EgpValues/EgpParam
The EgpParam dictionary stores the various EGP parameters. The
format of the dictionary is shown below.
EgpParam ::= SET {
p1 [0] IMPLICIT INTEGER,
p2 [1] IMPLICIT INTEGER,
p3 [2] IMPLICIT INTEGER,
p4 [3] IMPLICIT INTEGER,
p5 [4] IMPLICIT INTEGER,
ipID [5] IMPLICIT Counter OPTIONAL
}
OBJECT: EgpParam
Type: SET
Definition: See above.
The definition of the fields of the dictionary are given below. All
the definitions are taken from RFC-904.
OBJECT: p1
Type: INTEGER
Definition: Minimum interval acceptable between successive Hello
commands received.
Operations on Object: The defaults except as noted below.
SET: The set command is optionally defined on this object.
OBJECT: p2
Type: INTEGER
Definition: Minimum interval acceptable between successive Poll
commands received.
Operations on Object: The defaults except as noted below.
SET: The set command is optionally defined on this object.
OBJECT: p3
Partridge & Trewitt [Page 57]
^L
RFC 1024 HEMS Definitions October 1987
Type: INTEGER
Definition: Interval between Request or Cease command
retransmissions.
Operations on Object: The defaults except as noted below.
SET: The set command is optionally defined on this object.
OBJECT: p4
Type: INTEGER
Definition: Interval during which state variables are maintained in
the absence of commands or response in the Down and Up states.
Operations on Object: The defaults except as noted below.
SET: The set command is optionally defined on this object.
OBJECT: p5
Type: INTEGER
Definition: Interval during which state variables are maintained in
the absence of commands or response in the Acquisition and Cease
states.
Operations on Object: The defaults except as noted below.
SET: The set command is optionally defined on this object.
OBJECT: ipID
Type: Counter
Definition: The next IP packet ID identifier to be used by the EGP
code.
Object Status: Required if the EGP code generates its own IP
identifiers.
The IpTransportLayer Dictionary: EgpValues/EgpStats
Partridge & Trewitt [Page 58]
^L
RFC 1024 HEMS Definitions October 1987
The EgpStats dictionary keeps statistics about the use of EGP on
this entity. The form of the dictionary is shown below.
EgpStats ::= SET {
inputPktCount [1] IMPLICIT Counter,
inputPktErrors [2] IMPLICIT Counter,
inputPktTypes [3] IMPLICIT Histogram OPTIONAL,
outputPktCount [4] IMPLICIT Counter,
outputPktErrors [5] IMPLICIT Counter,
outputPktTypes [6] IMPLICIT Histogram OPTIONAL,
egpTraffic [7] IMPLICIT TrafficMatrix OPTIONAL
}
OBJECT: EgpStats
Type: SET
Definition: See above.
The definitions of the objects in this dictionary are given below.
OBJECT: inputPktCount
Type: Counter
Definition: The number of EGP packets received including those that
proved to be in error.
OBJECT: inputPktErrors
Type: Counter
Definition: The number of EGP packets received which proved to be
in error. This value subtracted from inputPktCount should give
the number of valid EGP packets received.
OBJECT: inputPktTypes
Type: Histogram
Definition: A histogram of types of valid EGP messages received.
The histogram histValue field contains the message type number,
and the histCount field contains the number of messages of
Partridge & Trewitt [Page 59]
^L
RFC 1024 HEMS Definitions October 1987
this type which have been received.
Object Status: Useful.
OBJECT: outputPktCount
Type: Counter
Definition: The total number of EGP packets that the entity
attempted to send (including those that failed due to lack of
buffers, a missing route or other transient transmission
problems).
OBJECT: outputPktErrors
Type: Counter
Definition: The number of EGP packets which the entity could not
send due to transmission problems such as the lack of buffers,
a missing route or other transient transmission problems.
This value is not required to include errors which the EGP
layer could not reasonably be expected to detect such as
damage to the packet in transit. Subtracting this value from
the outputPktCount field should give the number of EGP packets
the entity believes it successfully sent.
OBJECT: outputPktTypes
Type: Histogram
Definition: A histogram of EGP messages types sent, including those
that later failed to be transmitted. The histogram histValue
field contains the message type number, and the histCount field
contains the number of messages of this type which have been sent.
Object Status: Useful.
OBJECT: egpTraffic
Type: TrafficMatrix
Definition: All EGP traffic which has originated on this machine.
The source address in the traffic matrix should be the interface
from which the packet was sent. The destination is the address
Partridge & Trewitt [Page 60]
^L
RFC 1024 HEMS Definitions October 1987
to which the packet is to finally be delivered (not an
intermediate hop).
Object Status: Useful.
The IpTransportLayer Dictionary: EgpValues/EgpPeer
The egpPeerData field of the EgpValues dictionary is a set of
EgpPeer structures which contain the state variables for a
particular EGP neighbor. The form of the EgpPeer structure is shown
below.
EgpPeer ::= SET {
r [0] IMPLICIT Counter,
s [1] IMPLICIT Counter,
t1 [2] IMPLICIT INTEGER,
t2 [3] IMPLICIT INTEGER,
t3 [4] IMPLICIT INTEGER,
m [5] IMPLICIT BOOLEAN,
timer1 [6] IMPLICIT INTEGER,
timer2 [7] IMPLICIT INTEGER,
timer3 [8] IMPLICIT INTEGER,
addr [9] IMPLICIT IpAddress
}
OBJECT: EgpPeer
Type: SET
Definition: The state information for a given EGP neighbor.
The definition of each field is given below.
OBJECT: r
Type: Counter
Definition: The receive sequence number as defined in RFC-904.
OBJECT: s
Type: Counter
Definition: The send sequence number as defined in RFC-904.
Partridge & Trewitt [Page 61]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: t1
Type: INTEGER
Definition: The interval between Hello command retransmissions as
defined in RFC-904.
OBJECT: t2
Type: INTEGER
Definition: The interval between Poll command retransmissions as
defined in RFC-904.
OBJECT: t3
Type: INTEGER
Definition: The interval during which neighbor-reachability
indications are counted, as defined in RFC-904.
OBJECT: m
Type: BOOLEAN
Definition: The Hello Polling mode. True if in active mode, false
if in passive mode.
Operations on Object: The defaults except as noted below.
SET: Optionally defined to change the Hello Polling mode.
OBJECT: timer1
Type: INTEGER
Definition: The value of timer 1 as defined in RFC-904.
OBJECT: timer2
Type: INTEGER
Definition: The value of timer 2 as defined in RFC-904.
OBJECT: timer3
Partridge & Trewitt [Page 62]
^L
RFC 1024 HEMS Definitions October 1987
Type: INTEGER
Definition: The value of timer 3 as defined in RFC-904.
OBJECT: addr
Type: IpAddress
Definition: The IP address of the neighbor.
The IpTransportLayer Dictionary: UdpValues
The UdpValues dictionary stores all information on the User Datagram
Protocol, defined in RFC-768. The format of the dictionary is shown
below.
UdpValues ::= [17] IMPLICIT SET OPTIONAL {
ipID [0] IMPLICIT Counter OPTIONAL,
[1] IMPLICIT UdpStats,
udpPortData [2] IMPLICIT SET of udpPort
}
OBJECT: UdpValues
Type: SET
Definition: See above.
Object Status: Implementation of this dictionary is required if
the entity supports UDP.
The fields of this dictionary are given below.
OBJECT: ipID
Type: Counter
Definition: The next IP packet ID identifier to be used by the UDP
code.
Object Status: Required if the UDP code generates its own IP
identifiers.
The IpTransportLayer Dictionary: UdpValues/UdpStats
The UdpStats dictionary stores general information about the
Partridge & Trewitt [Page 63]
^L
RFC 1024 HEMS Definitions October 1987
behavior of the UDP protocol on the entity. The format of the
dictionary is shown below.
UdpStats ::= SET {
inputPkts [0] IMPLICIT Counter,
inputPktErrors [1] IMPLICIT Counter,
outputPkts [2] IMPLICIT Counter,
}
OBJECT: UdpStats
Type: SET
Definition: See above.
Object Status: Encouraged.
The fields in this dictionary are defined below.
OBJECT: inputPkts
Type: Counter
Definition: The total number of UDP packets received at this entity
including any errors.
Object Status: Required if the UdpStats dictionary is implemented.
OBJECT: inputPktsErrors
Type: Counter
Definition: The number of UDP packets which could not be delivered
because of format errors, data corruption or because there was no
application at the destination port.
Object Status: Required if the UdpStats dictionary is implemented.
OBJECT: outputPkts
Type: Counter
Definition: The total number of UDP segments sent from this entity.
Object Status: Required if the UdpStats dictionary is implemented.
Partridge & Trewitt [Page 64]
^L
RFC 1024 HEMS Definitions October 1987
The IpTransportLayer Dictionary: UdpValues/udpPortData
The udpPortData structure stores information about individual UDP
applications. The udpPortData is represented as a set of records,
udpPorts, which track the behavior of individual ports. The format
of both structures are shown below.
udpPortData [1] IMPLICIT SET of UdpPort
UdpPort ::= [0] IMPLICIT SET {
localAddress [0] IMPLICIT IpAddress,
localPort [1] IMPLICIT INTEGER,
foreignAddress [2] IMPLICIT IpAddress OPTIONAL,
foreignPort [3] IMPLICIT INTEGER OPTIONAL,
maxPktSize [4] IMPLICIT INTEGER,
pktsRcvd [5] IMPLICIT Counter,
octetRcvd [6] IMPLICIT Counter OPTIONAL,
pktsSent [7] IMPLICIT Counter,
octetSent [8] IMPLICIT Counter OPTIONAL,
}
OBJECT: udpPortData
Type: SET of udpPort
Definition: See above.
OBJECT: UdpPort
Type: SET
Definition: See above.
Operations on Object: The defaults except as noted below.
GET-MATCH. Defined on any combination of the values of
localAddress, localPort, foreignAddress and foreignPort.
Returns all ports which match the template.
The meaning of the individual fields of the udpPort record are given
below.
OBJECT: localAddress
Type: IpAddress
Partridge & Trewitt [Page 65]
^L
RFC 1024 HEMS Definitions October 1987
Definition: The local IP address of the port. May be the default
IP address if records are accepted from any interface.
OBJECT: localPort
Type: INTEGER
Definition: The local port number.
OBJECT: foreignAddress
Type: IpAddress
Definition: Some UDP implementations permit applications to specify
the remote address from which packets will be accepted. In such
implementations, this field may be used to return the remote IP
address. If this value is set to the default IP address, then
packets from any host are accepted. The default IP address
indicates that the application has not specified the remote
address (but could if it chose).
Object Status: Required in entities which permit applications to
specify the remote address.
OBJECT: foreignPort
Type: INTEGER
Definition: Some UDP implementations permit applications to specify
the remote address from which packets will be accepted. In such
implementations, this field may be used to return the remote
port. If this value is set to 0, packets from any remote port
are accepted.
Object Status: Required in entities which permit applications to
specify the remote port.
OBJECT: maxPktSize
Type: INTEGER
Definition: The maximum UDP packet size, if any, supported by this
host.
Object Status: Required if there is a limit on the UDP packet size.
Partridge & Trewitt [Page 66]
^L
RFC 1024 HEMS Definitions October 1987
OBJECT: pktsRcvd
Type: Counter
Definition: The total number of packets received on this port during
the lifetime of this application (i.e., application which opened
this port).
OBJECT: octetsRcvd
Type: Counter
Definition: The total number of octets received at this port.
OBJECT: pktsSent
Type: Counter
Definition: The total number of packets sent on this port during the
lifetime of this application (i.e., the application which opened
this port).
OBJECT: octetsSent
Type: Counter
Definition: The total number of octets sent on this port during the
lifetime of this application (i.e., the application which opened
this port).
The IpTransportLayer Dictionary: HmpValues
The HmpValues dictionary stores all information on the Host
Monitoring Protocol, defined in RFC-869. Since HEMS is designed to
replace HMP, the definition of this dictionary has been deferred
until a clear need for it is demonstrated.
The IpTransportLayer Dictionary: RdpValues
The RdpValues dictionary stores all information on the Reliable
Data Protocol (RDP). Since RDP is currently being tested and
revised, the definition of this dictionary is left for further
study.
Partridge & Trewitt [Page 67]
^L
RFC 1024 HEMS Definitions October 1987
The IpTransportLayer Dictionary: NetbltValues
The NetbltValues dictionary stores all information on the Network
Block Transfer protocol. Since Netblt is currently being tested
and revised, the definition of this dictionary is left for further
study.
The IpApplications Dictionary
The IpApplications dictionary stores information about networking
applications whose operations may affect the proper operation of
the network. Examples of such applications might be domain
nameservers or distributed routing agents (such as gated or
routed). The definition of this dictionary is left for further
study.
NOTES ON RETRIEVAL OF OBJECTS
It is assumed in this system that the query processor is only one
of many concurrently running processes on an entity, and that the
operations of the other processes may affect the values of the
objects managed by the query processor. To permit this
concurrency, the query processor is not required to keep the values
frozen during the execution of a query. As a result, related
values may change during the course of the query's execution.
Applications should be prepared for this possibility.
In several places, specific mathematical relations between objects
have been specified, for example, that object X minus object Y
should yield some well-defined value. Note that in many cases,
objects X and Y are roll-over counters, in which case these
relations are only valid modulo the precision of the counter. This
is acceptable. The relationships are only intended to clarify the
association between objects.
EVENTS
In the remainder of this memo we present the format and definition
of event messages which are unsolicited updates sent from entities
to management centers.
This section needs much further work. The authors provide this
section to illustrate how the trap mechanism works. However, much
more research must be done into the questions of what events need
to be reported, and what information they must carry with them
Partridge & Trewitt [Page 68]
^L
RFC 1024 HEMS Definitions October 1987
before this section can be completed. The authors welcome any
advice from the community on this subject.
Format of Event Messages
Event messages have the same format as replies; they are a sequence
of objects. The only difference between a event message and a
regular reply to a query is that the event message is labelled as a
event in the HEMP message header and the first object in the event
message is a special event leader describing the event. All
objects after the event message are standard objects stored by the
entity which might be useful to a monitoring center in
understanding the machine state which caused the event. Each event
has a certain number of objects that it must return. Additional
objects may be returned by loading instructions into the
eventExecution buffer of the relevant eventEntry.
The format of the event leader is shown below:
EventLeader ::= [APPLICATION 1024] IMPLICIT SEQUENCE {
eventCode INTEGER,
eventIndex INTEGER,
eventThreshold INTEGER,
eventTime TimeStamp,
eventDescr IA5STRING
}
The eventCode is a number which indicates the type of event. The
eventCodes are defined below.
The eventIndex is an implementation specific value. It is
considered good practice to make sure that a particular event is
only generated in one place. It may be the case that certain HEMS
generic events (for example, "no buffer space") may be generated by
more than one place in an entity's code. To allow implementors and
network managers to determine where the event is actually being
generated, implementors should make sure that a distinct eventIndex
is assigned to each location in the code that generates a
particular event.
The eventThreshold is the value of the event threshold when the
event was sent.
The eventTime indicates when the trap was generated.
The eventDescr is a text string which describes the event. This
Partridge & Trewitt [Page 69]
^L
RFC 1024 HEMS Definitions October 1987
description should explain the general problem (e.g., "no buffer
space") and may also, optionally, include additional information
about why this particular event was generated (e.g., "could not
send ICMP redirect").
Event Definitions
The remainder of this memo presents a few generic events, which are
presented for illustration only. Implementors interested in
supporting events should contact the authors to help work out a
more comprehensive set of definitions.
The format of the event definitions is:
EVENT CODE: The event code number.
Definition: Defines the event.
Related Objects: The list of related objects which *must* be
returned following the event header. All objects should be
returned as fully qualified objects (with ASN.1 codes tracing
a complete path from the root object dictionary). If no
objects are specified, then no related objects are required.
Event Status: Events are either required of all conforming
implementations, required if the entity supports a
particular feature (e.g., TCP events) or optional.
Notes: Any additional notes about the event.
List of Events
The next few event codes are for system (as opposed to more
network oriented) events.
EVENT CODE: 0
Definition: Unused
EVENT CODE: 1
Definition: The entity has rebooted.
Related Objects: An INTEGER which is the highest HEMP
Partridge & Trewitt [Page 70]
^L
RFC 1024 HEMS Definitions October 1987
messageID reached by the trap system before the system
crashed.
EVENT CODE: 2
Definition: The entity is about to go into test mode.
EVENT CODE: 3
Definition: The entity is about to reset.
EVENT CODE: 4
Definition: The entity is about to reboot.
EVENT CODE: 5
Definition: The entity is about to halt.
EVENT CODE: 6
Definition: The system is close to depleting its packet buffer
space.
Event Status: optional
EVENT CODE: 7
Definition: The system has depleted its packet buffer space.
EVENT CODE: 8
Definition: The system has depleted a non-packet buffer space.
Note: The two trap codes above do not deal neatly with
systems which have multiple buffer pools, each of which
may be depleted separately, with very different effects
on the entity.
The next set of event codes apply to events related to network
interfaces.
Partridge & Trewitt [Page 71]
^L
RFC 1024 HEMS Definitions October 1987
EVENT CODE: 1024
Definition: The given interface has just come up.
Related Objects: The InterfaceData structure for the
interface.
EVENT CODE: 1025
Definition: The given interface has just been taken down.
Related Objects: The InterfaceData structure for the
interface.
EVENT CODE: 1026
Definition: The given interface has just gone into test mode.
Related Objects: The InterfaceData structure for the
interface.
The next set of event codes are used to report IP-level errors.
EVENT CODE: 2048
Definition: Unable to route IP packet.
EVENT CODE: 2049
Definition: Bad IP checksum.
EVENT CODE: 2050
Definition: An IP packet with a bad header was received (for
example, with a broadcast or multicast IP address as the
source, or the wrong IP version number, or a header length
which is too short).
Related Objects: Should return the IP header of the packet.
Note that an IP header type has not yet been defined.
EVENT CODE: 2051
Definition: Packet for unsupported IP transport protocol.
Partridge & Trewitt [Page 72]
^L
RFC 1024 HEMS Definitions October 1987
Related Objects: Should return the IP header of the packet.
Note that an IP header type has not yet been defined.
EVENT CODE: 2052
Definition: A stunted IP packet was received (smaller than
the IP length says it should be).
Related Objects: Should return the IP header of the packet.
Note that an IP header type has not yet been defined.
EVENT CODE: 2053
Definition: An oversize IP packet was received (larger than
the IP length says it should be).
Related Objects: Should return the IP header of the packet.
Note that an IP header type has not yet been defined.
EVENT CODE: 2054
Definition: A good IP packet was discarded (usually to free
up buffer space).
Related Objects: Should return the IP header of the packet.
Note that an IP header type has not yet been defined.
EVENT CODE: 2055
Definition: An IP packet's time-to-live as expired.
Related Objects: Should return the IP header of the packet.
Note that an IP header type has not yet been defined.
EVENT CODE: 2056
Definition: This IP fragment has timed out.
Related Objects: Should return the header of the fragment.
Note that an IP header type has not yet been defined.
Partridge & Trewitt [Page 73]
^L
RFC 1024 HEMS Definitions October 1987
AREAS FOR FURTHER STUDY
There are several parts of this document that could use additional
study. Comments from readers are welcome.
The whole event system needs thorough examination. It is not clear
that the event control mechanism strikes the proper balance between
sufficient flexibility to allow monitoring centers to customize
their event stream, and keeping the basic mechanism simple.
Further, the problem of defining generic events for all entities is
an immense task. Finally, the system of appending required values
after traps, followed by optional values read from the data tree
feels a bit cumbersome. It would be nice if all values were in the
same data space.
Several readers have suggested it might make more sense to keep TCP
connection parameters on a per-connection basis rather than
globally.
The method for specifying the TCP round-trip time algorithm needs
to be refined. The expression syntax should be sufficiently
general that all round-trip-time-related algorithms (e.g., those
for time or routing protocols) can be expressed in it.
Much more research could be done into what information needs to be
gathered to effectively monitor a network.
Partridge & Trewitt [Page 74]
^L
|