summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc995.txt
blob: 0aad26af6ff7894cbbf31013b449abb8da6b46b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
Network Working Group                                   ANSI X3S3.3 86-118
Request for Comments: 995                              ISO TC97/SC6/N 4053
                                                                April 1986





                                 I S O
             INTERNATIONAL ORGANIZATION FOR STANDARDIZATION
              ORGANISATION INTERNATIONALE DE NORMALISATION

     ______________________________________________________________________
    |                                                                     |
    |                            ISO/TC 97/SC 6                           |
    |                TELECOMMUNICATIONS AND INFORMATION                   |
    |                     EXCHANGE BETWEEN SYSTEMS                        |
    |                       Secretariat: USA (ANSI)                       |
    |                                                                     |
    |                                                                     |
    |_____________________________________________________________________|





  Title:    End System to Intermediate System Routing Exchange Protocol
            for use in conjunction with ISO 8473

  Source:   SC6/WG2
            Project 97.6.41




  ___________________________________________________________________________
 |This document is a progression of SC6/N3862, edited to incorporate member |
 |body comments and discussion at the Florence meeting of SC6/WG2. Pursuant |
 |to Recommendation 5 of that meeting, comments from member bodies on this  |
 |revision text are requested for discussion at the Tokyo meeting of SC6    |
 |and WGs.                                                                  |
 |__________________________________________________________________________|












ISO N4053                                                       [Page 1]
^L
RFC 995                                                    December 1986


Contents

1   Introduction                                                           5

2   Scope and Field of Application                                         6

3   References                                                             7


SECTION ONE. GENERAL                                                       9

4   Definitions                                                            9
    4.1   Reference Model Definitions  . . . . . . . . . . . . . . . . .   9
    4.2   Network Layer Architecture Definitions   . . . . . . . . . . .   9
    4.3   Network Layer Addressing Definitions   . . . . . . . . . . . .   9
    4.4   Local Area Network Definitions   . . . . . . . . . . . . . . .  10
    4.5   Additional Definitions . . . . . . . . . . . . . . . . . . . .  10

5   Symbols and Abbreviations                                             10
    5.1   Data Units   . . . . . . . . . . . . . . . . . . . . . . . . .  10
    5.2   Protocol Data Units  . . . . . . . . . . . . . . . . . . . . .  10
    5.3   Protocol Data Unit Fields  . . . . . . . . . . . . . . . . . .  10
    5.4   Parameters . . . . . . . . . . . . . . . . . . . . . . . . . .  11
    5.5   Miscellaneous  . . . . . . . . . . . . . . . . . . . . . . . .  11

6   Overview of the Protocol                                              11
    6.1   Information Provided by the Protocol . . . . . . . . . . . . .  11
    6.2   Subsets of the Protocol. . . . . . . . . . . . . . . . . . . .  12
    6.3   Addressing   . . . . . . . . . . . . . . . . . . . . . . . . .  12
    6.4   Underlying Service Assumed by the Protocol   . . . . . . . . .  12
          6.4.1   Subnetwork Addresses . . . . . . . . . . . . . . . . .  12
          6.4.2   Subnetwork User Data . . . . . . . . . . . . . . . . .  13
    6.5   Service Assumed from Local Environment . . . . . . . . . . . .  13
    6.6   Subnetwork Types . . . . . . . . . . . . . . . . . . . . . . .  14
          6.6.1   Point-to-Point Subnetworks . . . . . . . . . . . . . .  15
          6.6.2   Broadcast Subnetworks  . . . . . . . . . . . . . . . .  15
          6.6.3   General Topology Subnetworks . . . . . . . . . . . . .  16


SECTION TWO. SPECIFICATION OF THE PROTOCOL                                18

7   Protocol Functions                                                    18
    7.1   Protocol Timers  . . . . . . . . . . . . . . . . . . . . . . .  18
          7.1.1   Configuration Timer  . . . . . . . . . . . . . . . . .  18
          7.1.2   Holding Timer  . . . . . . . . . . . . . . . . . . . .  18
    7.2   Report Configuration Function  . . . . . . . . . . . . . . . .  18
          7.2.1   Report Configuration by End Systems  . . . . . . . . .  19
          7.2.2   Report Configuration by Intermediate Systems . . . . .  19
    7.3   Record Configuration Function  . . . . . . . . . . . . . . . .  20
    7.4   Flush Old Configuration Function   . . . . . . . . . . . . . .  20
    7.5   Query Configuration Function . . . . . . . . . . . . . . . . .  20



ISO N4053                                                       [Page 2]
^L
RFC 995                                                    December 1986


    7.6   Configuration Response Function  . . . . . . . . . . . . . . .  21
    7.7   Request Redirect Function. . . . . . . . . . . . . . . . . . .  22
    7.8   Record Redirect Function . . . . . . . . . . . . . . . . . . .  23
    7.9   Refresh Redirect Function  . . . . . . . . . . . . . . . . . .  23
    7.10  Flush Old Redirect Function  . . . . . . . . . . . . . . . . .  24
    7.11  PDU Header Error Detection   . . . . . . . . . . . . . . . . .  24
    7.12  Classification of Functions  . . . . . . . . . . . . . . . . .  25

8   Structure and Encoding of PDUs                                        25
    8.1   Structure  . . . . . . . . . . . . . . . . . . . . . . . . . .  26
    8.2   Fixed Part . . . . . . . . . . . . . . . . . . . . . . . . . .  26
          8.2.1   General  . . . . . . . . . . . . . . . . . . . . . . .  26
          8.2.2   Network Layer Protocol Identifier  . . . . . . . . . .  27
          8.2.3   Length Indicator . . . . . . . . . . . . . . . . . . .  27
          8.2.4   Version/Protocol Identifier Extension  . . . . . . . .  27
          8.2.5   Type Code  . . . . . . . . . . . . . . . . . . . . . .  28
          8.2.6   Holding Time . . . . . . . . . . . . . . . . . . . . .  28
          8.2.7   PDU Checksum . . . . . . . . . . . . . . . . . . . . .  28
    8.3   Network Address Part . . . . . . . . . . . . . . . . . . . . .  28
          8.3.1   General  . . . . . . . . . . . . . . . . . . . . . . .  28
          8.3.2   NPAI (Network Protocol Address Information) En-
                  coding . . . . . . . . . . . . . . . . . . . . . . . .  28
          8.3.3   Source Address Parameter for ESH PDU   . . . . . . . .  29
          8.3.4   Network Entity Title Parameter for ISH PDU . . . . . .  29
          8.3.5   Destination Address Parameter for RD PDU . . . . . . .  30
    8.4   Subnetwork Address Part  . . . . . . . . . . . . . . . . . . .  30
          8.4.1   Subnetwork Address Parameter for RD PDU  . . . . . . .  31
    8.5   Options Part . . . . . . . . . . . . . . . . . . . . . . . . .  31
          8.5.1   General  . . . . . . . . . . . . . . . . . . . . . . .  31
          8.5.2   Security . . . . . . . . . . . . . . . . . . . . . . .  32
          8.5.3   Quality of Service Maintenance . . . . . . . . . . . .  33
          8.5.4   Priority . . . . . . . . . . . . . . . . . . . . . . .  33
    8.6   End System Hello (ESH) PDU . . . . . . . . . . . . . . . . . .  34
          8.6.1   Structure  . . . . . . . . . . . . . . . . . . . . . .  34
    8.7   Intermediate System Hello (ISH) PDU  . . . . . . . . . . . . .  35
          8.7.1   Structure  . . . . . . . . . . . . . . . . . . . . . .  35
    8.8   Redirect (RD) PDU. . . . . . . . . . . . . . . . . . . . . . .  36
          8.8.1   Structure  . . . . . . . . . . . . . . . . . . . . . .  36

9   Formal Description                                                    37

10  Conformance                                                           37

ANNEX A. SUPPORTING TECHNICAL MATERIAL                                    38
    A.1   Use of Timers  . . . . . . . . . . . . . . . . . . . . . . . .  38
          A.1.1   Example of Holding Time for Route Redirection  . . . .  38
          A.1.2   Example of Holding Timer for Configuration Informa-
                  tion . . . . . . . . . . . . . . . . . . . . . . . . .  39
    A.2   Refresh and timeout of Redirection information . . . . . . . .  39
    A.3   System Initialization Considerations . . . . . . . . . . . . .  40
    A.4   Optimizations for Flushing Redirects   . . . . . . . . . . . .  41



ISO N4053                                                       [Page 3]
^L
RFC 995                                                    December 1986


List of Tables

    1     Service Primitives for Underlying Service  . . . . . . . . . .  12
    2     Timer Primitives . . . . . . . . . . . . . . . . . . . . . . .  14
    3     Categories of Protocol Functions . . . . . . . . . . . . . . .  25
    4     Valid PDU Types  . . . . . . . . . . . . . . . . . . . . . . .  28


List of Figures

    1     PDU Header -- Fixed Part . . . . . . . . . . . . . . . . . . .  27
    2      Address Parameters  . . . . . . . . . . . . . . . . . . . . .  29
    3     ESH PDU - Network Address Part   . . . . . . . . . . . . . . .  29
    4     ISH PDU - Network Address Part . . . . . . . . . . . . . . . .  30
    5     RD PDU - Network Address Part  . . . . . . . . . . . . . . . .  30
    6     ESH PDU - Address Part   . . . . . . . . . . . . . . . . . . .  31
    7     All PDUs - Options Part  . . . . . . . . . . . . . . . . . . .  31
    8     Encoding of Option Parameters  . . . . . . . . . . . . . . . .  32
    9     ESH PDU Format . . . . . . . . . . . . . . . . . . . . . . . .  34
    10    ISH PDU Format . . . . . . . . . . . . . . . . . . . . . . . .  35
    11    RD PDU Format when Redirect is to an IS  . . . . . . . . . . .  36
    12    RD PDU Format when Redirect is to an ES  . . . . . . . . . . .  37
































ISO N4053                                                       [Page 4]
^L
RFC 995                                                    December 1986


1     Introduction

   This Protocol is one of a set of International Standards produced to
   facilitate the interconnection of open systems. The set of standards
   covers the services and protocols required to achieve such intercon-
   nection.

   This Protocol is positioned with respect to other related standards
   by the layers defined in the Reference Model for Open System Inter-
   connection (ISO 7498) and by the structure defined in the Internal
   Organization of the Network Layer (DIS 8648).  In particular, it is a
   protocol of the Network Layer.  This protocol permits End Systems and
   Intermediate Systems to exchange configuration and routing informa-
   tion to facilitate the operation of the routing and relaying func-
   tions of the Network Layer.

   The aspects of Network Layer routing that are concerned with communi-
   cation between end systems and intermediate systems on the same sub-
   network are to a great extent separable from the aspects that are
   concerned with communication among the intermediate systems that con-
   nect multiple subnetworks. This protocol addresses only the former
   aspects. It will be significantly enhanced by the cooperative opera-
   tion of an additional protocol that provides for the exchange of
   routing information among intermediate systems, but is useful whether
   or not such an additional protocol is available.

      This protocol provides solutions for the following practical problems:

      1.  How do end systems discover the existence and reachability of
          intermediate systems that can route NPDUs to destinations on
          subnetworks other than the one(s) to which the end system is
          directly connected?

      2.  How do end systems discover the existence and reachability of
          other end systems on the same subnetwork (when direct
          examination of the destination NSAP address does not provide
          information about the destination subnetwork)?

      3.  How do intermediate systems discover the existence and
          reachability of end systems on each of the subnetworks to
          which they are directly connected?

      4.  How do end systems decide which intermediate system to use
          to forward NPDUs to a particular destination when more than one
          intermediate system is accessible?

      The protocol assumes that:

      1.  Routing to a specified subnetwork point of attachment address
          (SNPA) on the same subnetwork is carried out satisfactorily by
          the subnetwork itself.



ISO N4053                                                       [Page 5]
^L
RFC 995                                                    December 1986


      2.  The subnetwork is not, however, capable of routing on a global
          basis using the NSAP address alone to achieve communication
          with a requested destination.

                                      Note:
          Consequently, it is not possible to use Application Layer
          communication to carry out the functions of this protocol.

      The protocol is connectionless, and is designed to:

      1.  minimize the amount of a priori state information needed by
          end systems before they can begin to communicate with other
          end systems;

      2.  minimize the amount of memory needed to store routing
          information in end systems; and

      3.  minimize the computational complexity of end system routing
          algorithms.


   The protocol is also designed to operate in close conjunction with
   the Protocol for the Provision of the Connectionless-mode Network
   Service (ISO 8473).  Since routing styles are usually closely related
   to communication styles, the information that this protocol provides
   to end systems and intermediate systems may or may not be appropriate
   information for supporting routing functions when a Network Layer
   protocol other than ISO 8473 is used.

2     Scope and Field of Application

   This International Standard specifies a protocol which is used by
   Network Layer entities operating ISO 8473 in End Systems and Inter-
   mediate Systems (referred to herein as ES and IS respectively) to
   maintain routing information.  The Protocol herein described relies
   upon the provision of a connectionless-mode underlying service.

     This Standard specifies:

     a)  procedures for the transmission of configuration and routing
         information between network entities residing in End Systems
         and network entities residing in Intermediate Systems;

     b)  the encoding of the protocol data units used for the transmission
         of the configuration and routing information;

     c)  procedures for the correct interpretation of protocol control
         information; and

     d)  the functional requirements for implementations claiming
         conformance to this Standard.



ISO N4053                                                       [Page 6]
^L
RFC 995                                                    December 1986


     The procedures are defined in terms of:

     a)  the interactions between End System and Intermediate System
         network entities through the exchange of protocol data units;
         and

     b)  the interactions between a network entity and an underlying
         service provider through the exchange of subnetwork service
         primitives.

   This protocol does not specify any protocol elements or algorithms for
   facilitating routing and relaying among Intermediate Systems. Such
   functions are intentionally beyond the scope of this protocol.

3     References


   ISO 7498        Information Processing Systems --- Open Systems Intercon-
                   nection - Basic Reference Model

   DIS 7498/DAD1   Information Processing Systems --- Open Systems Intercon-
                   nection - Addendum to ISO 7498 Covering Connectionless-
                   mode Transmission

   ISO 8348        Information Processing Systems --- Telecommunications and
                   Information Exchange between Systems - Network Service
                   Definition

   ISO 8348/AD1    Information Processing Systems --- Telecommunications and
                   Information Exchange between Systems - Addendum to the
                   Network Service Definition Covering Connectionless-mode
                   Transmission


   ISO 8348/AD2    Information Processing Systems --- Telecommunications and
                   Information Exchange between Systems - Addendum to the
                   Network Service Definition Covering Network Layer Address-
                   ing


   ISO 8473        Information Processing Systems --- Telecommunications and
                   Information Exchange between Systems - Protocol for Pro-
                   viding the Connectionless Network Service


   DIS 8648        Information Processing Systems --- Telecommunications and
                   Information Exchange between Systems - Internal Organiza-
                   tion of the Network Layer






ISO N4053                                                       [Page 7]
^L
RFC 995                                                    December 1986


   SC21/N965       OSI Management Framework --- Seventh Working Draft

   DIS 8802        Local Area Networks



















































ISO N4053                                                       [Page 8]
^L
RFC 995                                                    December 1986


                          SECTION  ONE.  GENERAL

4     Definitions

4.1     Reference Model Definitions

   This document makes use of the following concepts defined in ISO 7498:

     (a)  Network layer

     (b)  Network service access point

     (c)  Network service access point address

     (d)  Network entity

     (e)  Routing

     (f)  Network protocol

     (g)  Network relay

     (h)  Network protocol data unit

4.2     Network Layer Architecture Definitions

   This document makes use of the following concepts from DIS 8648, Internal
   Organization of the Network Layer:

     (a)  Subnetwork

     (b)  End System

     (c)  Intermediate System

     (d)  Subnetwork Service

     (e)  Subnetwork Access Protocol

     (f)  Subnetwork Independent Convergence Protocol

4.3     Network Layer Addressing Definitions

   This document makes use of the following concepts from DIS 8348/DAD2,
   Addendum to the Network Service Definition Covering Network Layer Ad-
   dressing:


    (a)  Subnetwork address

    (b)  Subnetwork point of attachment



ISO N4053                                                       [Page 9]
^L
RFC 995                                                    December 1986


4.4     Local Area Network Definitions

   This document makes use of the following concepts from DIS 8802, Local
   Area Networks:

    (a)  multicast address

    (b)  broadcast medium

4.5     Additional Definitions

   For the purposes of this document, the following definitions apply:

   Configuration:   The collection of End and Intermediate Systems
         attached to a single subnetwork, defined in terms of the
         system types, NSAP addresses present, Network Entities
         present, and the correspondence between systems and SNPA
         addresses.

   Network Entity Title:   An identifier for a network entity which
         has the same abstract syntax as an NSAP address, and which
         can be used to unambiguously identify a network entity in
         an End or Intermediate System.

5     Symbols and Abbreviations

5.1     Data Units
    PDU        Protocol Data Unit
    SNSDU      Subnetwork Service Data Unit

5.2     Protocol Data Units

    ESH PDU      End System Hello Protocol Data Unit
    ISH PDU      Intermediate System Hello Protocol Data Unit
    RD PDU       Redirect Protocol Data Unit

5.3     Protocol Data Unit Fields

     NPID        Network Layer Protocol Identifier
     LI          Length Indicator
     V/P         Version/Protocol Identifier Extension
     TP          Type
     CS          Checksum
     NETL        Network entity Title Length
     NET         Network entity Title
     DAL         Destination Address Length
     DA          Destination Address
     SAL         Source Address Length
     SA          Source Address
     BSNPAL      SN Address Length of better route to destination
     BSNPA       SN Address of better route to destination



ISO N4053                                                      [Page 10]
^L
RFC 995                                                    December 1986


     HT          Holding timer

5.4     Parameters
     CT    Configuration Timer
     RT    Redirect Timer

5.5     Miscellaneous

     ES        End System
     IS        Intermediate System
     SN        Subnetwork
     SNACP     Subnetwork Access Protocol
     SNICP     Subnetwork Independent Convergence Protocol

6     Overview of the Protocol

6.1     Information Provided by the Protocol

   This Protocol provides two types of information to Network entities
   which support its operation:

     a) Configuration Information, and

     b) Route Redirection Information

   Configuration Information permits End Systems to discover the ex-
   istence and reachability of Intermediate Systems and permits Inter-
   mediate Systems to discover the existence and reachability of End
   Systems.  This information allows ESs and ISs attached to the same
   subnetwork to dynamically discover each other's existence and availa-
   bility, thus eliminating the need for manual intervention at ESs and
   ISs to establish the identity of Network entities that can be used to
   route NPDUs.

   Configuration Information also permits End Systems to obtain informa-
   tion about each other in the absence of an available Intermediate
   System.

                                    Note:
     The term "configuration information" is not intended in the broad
     sense of configuration as used in the context of OSI system
     management.  Rather, only the functions specifically defined herein
     are intended.

   Route Redirection Information allows Intermediate Systems to inform
   End Systems of (potentially) better paths to use when forwarding
   NPDUs to a particular destination. A better path could either be
   another IS on the same subnetwork as the ES, or the destination ES
   itself, if it on the same subnetwork as the source ES. Allowing the
   ISs to inform the ESs of routes minimizes the complexity of routing
   decisions in End Systems and improves performance because the ESs may



ISO N4053                                                      [Page 11]
^L
RFC 995                                                    December 1986


   make use of the better IS or local subnetwork access for subsequent
   transmissions.

6.2     Subsets of the Protocol

   A Network Entity may choose to support either the Configuration In-
   formation, the Route Redirection Information, neither, or both. If
   the Configuration Information is supported, it is not required that
   it be employed over all subnetworks to which the Network entity is
   attached.

 6.3   Addressing

   The Source Address and Destination Address parameters referred to in
   this International Standard are OSI Network Service Access Point Ad-
   dresses. The syntax and semantics of an OSI Network Service Access
   Point Address are described in a separate document, ISO 8348/DAD2,
   Addendum to the Network Service Definition covering Network Layer Ad-
   dressing.

6.4   Underlying Service Assumed by the Protocol

   The underlying service required to support this protocol is defined
   by the primitives in Table 1.

     _________________________________________________________________
     |    SN_UNITDATA          .Request    | SN_Destination_Address, |
     |                         .Indication | SN_Source_Address,      |
     |                                     | SN_Quality_of_Service,  |
     |                                     | SN_Userdata             |
     |_____________________________________|_________________________|

            Table 1: Service Primitives for Underlying Service



                             Note:
      These service primitives are used to describe the abstract interface
      which exists between the protocol machine and an underlying real
      subnetwork or a Subnetwork Dependent Convergence Function which
      operates over a real subnetwork or real data link to provide the
      required underlying service.

6.4.1  Subnetwork Addresses

   The source and destination addresses specify the points of attachment
   to a public or private subnetwork(s) involved in the transmission
   (known as Subnetwork Points of Attachment, or SNPAs).Subnetwork ad-
   dresses are defined in the Service Definition of each individual sub-
   network.  This protocol is designed to take advantage of subnetworks
   which support broadcast, multicast, or other forms of multi-



ISO N4053                                                      [Page 12]
^L
RFC 995                                                    December 1986


   destination addressing for n-way transmission. It is assumed that the
   SN_Destination_Address parameter may take on one of the following
   multi-destination addresses in addition to a normal single destina-
   tion address:

     All End System Network entities

     All Intermediate System Network entities

   Where a real subnetwork does not inherently support broadcast or oth-
   er forms of transmission to multi-destination addresses, a conver-
   gence function may be used to provide n-way transmission to these
   multi-destination addresses.

   When the SN_Destination_Address on the SN_UNITDATA.Request is a
   multi-destination address, the SN_Destination_Address parameter in
   the corresponding SN_UNITDATA.Indication shall be the same multi-
   destination address.

   The syntax and semantics of subnetwork addresses, except for the pro-
   perties described above, are not defined in this Protocol Standard.

6.4.2  Subnetwork User Data

   The SN_Userdata is an ordered multiple of octets, and is transferred
   transparently between the specified subnetwork points of attachment.

   The underlying service is required to support a service data unit
   size of at least that required to operate the Protocol for Providing
   the Connectionless Network Service (ISO 8473).

6.5   Service Assumed from Local Environment

   A timer service must be provided to allow the protocol entity to
   schedule events.

     There are three primitives associated with the S-TIMER service:

       1.  the S--TIMER Request,
       2.  the S--TIMER Response, and
       3.  the S--TIMER Cancel.

   The S--TIMER Request primitive indicates to the local environment
   that it should initiate a timer of the specified name and subscript
   and maintain it for the duration specified by the time parameter.

   The S--TIMER Response primitive is initiated by the local environment
   to indicate that the delay requested by the corresponding S-TIMER Re-
   quest primitive has elapsed.

   The S--TIMER Cancel primitive is an indication to the local environ-



ISO N4053                                                      [Page 13]
^L
RFC 995                                                    December 1986


   ment that the specified timer(s) should be canceled.If the subscript
   parameter is not specified, then all timers with the specified name
   are canceled; otherwise, the timer of the given name and subscript is
   cancelled. If no timers correspond to the parameters specified, the
   local environment takes no action.

   The parameters of the S--TIMER service primitives are specified in
   Table 2.

          ___________________________________________
         |                          |               |
         | S--TIMER     .Request    | S-Time,       |
         |                          | S-Name,       |
         |                          | S-Subscript   |
         |                          |               |
         |              .Response   | S-Name,       |
         |                          | S-Subscript   |
         |__________________________|_______________|

                  Table 2: Timer Primitives

   The time parameter indicates the time duration of the specified ti-
   mer.  An identifiying label is associated with a timer by means of
   the name parameter.The subscript parameter specifies a value to dis-
   tinguish timers with the same name. The name and subscript taken to-
   gether constitute a unique reference to the timer.

   Timers used in association with a specific protocol funtion are de-
   fined under that protocol function.

                           Note:
     This International Standard does not define specific values for the
     timers.Any derivations described in this Standard are not mandatory.
     Timer values should be chosen so that the requested Quality of
     Service can be provided, given the known characteristics of the
     underlying service.

6.6   Subnetwork Types

   In order to evaluate the applicability of this protocol in particular
   configurations of End Systems, Intermediate Systems and subnetworks,
   three generic types of subnetwork are identified. These are:

     1.  the point-to-point subnetwork,

     2.  the broadcast subnetwork, and

     3.  the general topology subnetwork

    These subnetwork types are discussed in the following clauses.




ISO N4053                                                      [Page 14]
^L
RFC 995                                                    December 1986


6.6.1  Point-to-Point Subnetworks

   A point-to-point subnetwork supports exactly two systems. The two
   systems may be either two End Systems, or an End System and a single
   Intermediate System. A single point-to-point data link connecting two
   Network Entities is an example of a point-to-point subnetwork.


   Configuration Information on a point-to-point Subnetwork.On a point-
   to-point subnetwork the Configuration Information of this protocol
   informs the communicating Network entities of the following:

     1.  Whether the topology consists only of two End Systems, or

     2.  One of the two systems is a Intermediate System.

                           Note:
     On a point-to-point subnetwork, if both systems are Intermediate Systems,
     then this protocol is inapplicable to the situation, since a IS-to-IS
     protocol should be employed instead. However, there is no reason why
     the configuration information could not be employed in a IS-to-IS
     environment to ascertain the topology and initiate operation of a
     IS-to-IS protocol.

   The Intermediate System is informed of the NSAP address(es) supported
   by the Network entity in the End System. This permits reachability
   information and routing metrics concerning these NSAPs to be dissem-
   inated to other Intermediate Systems for the purpose of calculating
   routes to/from this End System.

   Route Redirection Information on a point-to-point Subnetwork.  Route
   Redirection Information is not employed on point-to-point subnetworks
   because there are never any alternate routes.

6.6.2  Broadcast Subnetworks

   A Broadcast subnetwork supports an arbitrary number of End Systems
   and Intermediate Systems, and additionally is capable of transmitting
   a single SNPDU to all or a subset of these systems in response to a
   single SN_UNITDATA.Request.An example of a broadcast subnetwork is a
   LAN (local area network) conforming to DIS8802/2, type 1 operation.


   Configuration Information on a broadcast Subnetwork.On a broadcast
   subnetwork the Configuration Information of this protocol is employed
   to inform the communicating Network entities of the following:

     1.  End Systems are informed of the reachability, Network entity Title,
         and SNPA address(es) of each active Intermediate System on the
         subnetwork.




ISO N4053                                                      [Page 15]
^L
RFC 995                                                    December 1986


     2.  Intermediate Systems are informed of the NSAP addresses supported
         by each End System and the Subnetwork address of the ES. Once the
         Intermediate System obtains this information, reachability
         information and routing metrics concerning these NSAPs may be
         disseminated to other ISs for the purpose of calculating routes
         to/from each ES on the subnetwork.

     3.  In the absence of an available Intermediate System, End Systems may
         query over a broadcast subnetwork to discover whether a particular
         NSAP is reachable on the subnetwork, and if so, what SNPA address
         to use to reach that NSAP.

   Route Redirection Information on broadcast Subnetworks.Route Redirec-
   tion Information may be employed on broadcast subnetworks to permit
   Intermediate Systems to inform End Systems of superior routes to a
   destination NSAP. The superior route might be another IS on the same
   subnetwork as the ES, or it might be the destination ES itself, if it
   is directly reachable on the same subnetwork as the source ES.

6.6.3  General Topology Subnetworks

   A general topology subnetwork supports an arbitrary number of End
   Systems and Intermediate Systems, but does not support a convenient
   multidestination connectionless transmission facility as does a
   broadcast subnetwork.An example of a general topology subnetwork is a
   subnetwork employing X.25 or ISO 8208.

                                 Note:
     The crucial distinguishing characteristic between the broadcast
     subnetwork and the general topology subnetwork is the "cost" of an
     n-way transmission to a potentially large subset of the systems on
     the subnetwork. On a general topology subnetwork, the cost is assumed
     to be close to the cost of sending an individual PDU to each SNPA on
     the subnetwork.  Conversely, on a broadcast subnetwork the cost is
     assumed to be close to the cost of sending a single PDU to one SNPA
     on the subnetwork.  Intermediate situations between these extremes
     are of course possible. In such cases it would be possible to treat the
     subnetwork as either in the broadcast or general topology categories.

   Configuration Information on a general topology Subnetwork.  On a
   general topology subnetwork the Configuration Information is general-
   ly not employed because this protocol can be very costly in the util-
   ization (and charging for) subnetwork resources.


   Route Redirection Information on a general topology Subnetwork.
   Route Redirection Information may be employed on general topology
   subnetworks to permit Intermediate Systems to inform End Systems of
   superior routes to a destination NSAP. The superior route might be
   another IS on the same subnetwork as the ES, or it might be the des-
   tination ES itself, if it is directly reachable on the same subnet-



ISO N4053                                                      [Page 16]
^L
RFC 995                                                    December 1986


   work as the source ES.





















































ISO N4053                                                      [Page 17]
^L
RFC 995                                                    December 1986


                SECTION  TWO. SPECIFICATION OF THE PROTOCOL

7     Protocol Functions

   This section describes the functions performed as part of the Proto-
   col.  Not all of the functions must be performed by every implementa-
   tion.  Clause 7.12 specifies which functions may be omitted and the
   correct behavior where requested functions are not implemented.

7.1     Protocol Timers

   Many of the protocol functions are timer based. This means that they
   are executed upon expiration of a timer rather than upon receipt of a
   PDU or invocation of a service primitive. The two major types of ti-
   mers employed by the protocol are the Configuration Timer (CT) and
   the Holding Timer (HT).

7.1.1    Configuration Timer

   The Configuration Timer is a local timer (i.e. maintained indepen-
   dently by each system) which performs the Report Configuration func-
   tion (see section 7.2).  The timer determines how often a system re-
   ports its availability to the other systems on the same subnetwork.
   The shorter the Configuration Timer, the more quickly other systems
   on the subnetwork will become aware when the reporting system becomes
   available or unavailable. The increased responsiveness must be traded
   off against increased use of resources in the subnetwork and in the
   recipient systems.

7.1.2    Holding Timer

   The Holding Timer applies to both Configuration Information and Route
   Redirection Information. The value of the Holding Timer is set by the
   source of the information and transmitted in the appropriate PDU. The
   recipient of the information is expected to retain the information no
   longer than the Holding Timer. Old Configuration or Route Redirection
   information must be discarded after the Holding Timer expires to en-
   sure the correct operation of the protocol.

   Further discussion of the rationale for these timers and guidelines
   for their use may be found in annex 10.

7.2   Report Configuration Function

   The Report Configuration Function is used by End Systems and Inter-
   mediate Systems to inform each other of their reachability and
   current subnetwork address. This function is invoked every time the
   local Configuration Timer (CT) expires in an ES or IS. It is also in-
   voked upon receipt of a Query Configuration PDU from another End Sys-
   tem.




ISO N4053                                                      [Page 18]
^L
RFC 995                                                    December 1986


   7.2.1  Report Configuration by End Systems

   An End System constructs and transmits one ESH PDU (ESH stands for
   "End System Hello") for each NSAP it serves, and issues one
   SN_UNITDATA.- Request with the ESH PDU as the SNSDU on each subnet-
   work to which it is attached.

                                   Note:
     The necessity to transmit a separate ESH PDU for each NSAP served by
     the Network entity arises from the lack of a formalized relationship
     between Network Entity Titles and NSAP addresses. If this relationship
     could be constrained to require that all NSAP addresses be assigned as
     leaf subdomains of a domain represented by the local Network entity's
     Network entity Title, then a single ESH PDU could be transmitted
     containing the ESs Network entity Title.The Network entity Title
     would then imply which NSAPs might be present at that End system.

   The Holding Timer (HT) field is set to approximately twice the ESs
   Configuration Timer (CT) parameter. This variable is set to a value
   large enough so that even if every other ESH PDU is discarded (due to
   lack of resources), or otherwise lost in the subnetwork, the confi-
   guration information will still be maintained. The value must be set
   small enough so that Intermediate Systems can respond in a timely
   fashion to End Systems becoming available or unavailable.

   The SN_Destination_Address parameter is set to the group address that
   indicates "All Intermediate System Network Entities". This ensures
   that a single transmission on a broadcast subnetwork will reach all
   of the active Intermediate Systems.

                                   Note:
     The actual value of the SN_Destination_Address used to mean "All
     Intermediate System Network Entities" is subnetwork dependent and will
     most likely vary from subnetwork to subnetwork. It would of course be
     desirable that on widely-used subnetwork types (such as those based
     on DIS 8802) that this value and the value of the "All End System
     Network Entities" group address, be standardized.

7.2.2  Report Configuration by Intermediate Systems

   An Intermediate System constructs a single ISH PDU (ISH stands for
   "Intermediate System Hello") containing the ISs Network Entity Title
   and issues one SN_UNITDATA.Request with the ISH PDU as the SNSDU on
   each subnetwork to which it is attached.

   The Holding Timer (HT) field is set to approximately twice the Inter-
   mediate System's Configuration Timer (CT) parameter. This variable is
   set to a value large enough so that even if every other ISH PDU is
   discarded (due to lack of resources), or otherwise lost in the sub-
   network, the configuration information will still be maintained.The
   value must be set small enough so that End Systems will quickly cease



ISO N4053                                                      [Page 19]
^L
RFC 995                                                    December 1986


   to use ISs that have failed, thus preventing "black holes" in the
   Network.

   The SN_Destination_Address parameter is set to the group address that
   indicates "All End System Network Entities".This ensures that a sin-
   gle transmission on a broadcast subnetwork will reach all of the ac-
   tive End Systems.

7.3   Record Configuration Function

   The Record Configuration function receives ESH or ISH PDUs, extracts
   the configuration information, and adds or replaces the corresponding
   configuration information in the local Network entity's Routing In-
   formation base.  If insufficient space is available to store new con-
   figuration information, the PDU is discarded. No Error Report is gen-
   erated.

                                     Note:
     The protocol is described such that End Systems receive and record
     only ISH PDUs and Intermediate Systems receive and process only
     ESH PDUs. If an ES so desires however, it may decide to process ESH
     PDUs as well (on a broadcast network this is easily done by enabling
     the appropriate group address). There is potentially some performance
     improvement to be gained by doing this, at the expense of extra memory,
     and possibly extra processing cycles in the End System.The
     ES, by recording other ESs' Configuration information, may be able
     to route NPDUs directly to ESs on the local subnetwork without first
     being redirected by a Intermediate System.

     Similarly, Intermediate Systems may choose to receive the ISH PDUs
     of other ISs, allowing this protocol to be used as the initialization and
     topology maintenance portion of a full IS-to-IS routing protocol.
     Both of these possibilities are for further study.

7.4   Flush Old Configuration Function

   The Flush Old Configuration Function is executed to remove Configura-
   tion entries in the routing information base whose Holding Timer has
   expired.  When the Holding Time for an ES or IS expires, this func-
   tion removes the corresponding entry from the routing information
   base of the local Network Entity.

7.5   Query Configuration Function

   The Query Configuration Function is performed under the following
   circumstances:

     1. The End System is attached to a broadcast subnetwork,

     2. There is no Intermediate System currently reachable on the
        subnetwork (i.e. no ISH PDUs have been received since the last



ISO N4053                                                      [Page 20]
^L
RFC 995                                                    December 1986


        information was flushed by the Flush Old Configuration Function),

     3. The Network Layer's Route PDU Function needs to obtain the SNPA
        address to which to forward a PDU destined for a certain NSAP, and

     4. The SNPA address cannot be obtained either by a local transformation
        or a local table lookup.

                                     Note:
     Despite appearances, this is actually a quite common case, since it
     is likely that there will be numerous isolated Local Area Networks
     without Intermediate Systems to rely upon for obtaining routing
     information (e.g.via the Request Redirect Function of this protocol).
     Further, if the Intermediate System(s) are temporarily unavailable,
     without this capability communication on the local subnetwork would
     suffer unless manually-entered tables were present in each End System
     or all NSAPs of the subnetwork had the subnetwork SNPA address
     embedded in them.

   The End System, when needing to route an NPDU to a destination NSAP
   whose SNPA is unknown issues an SN_UNITDATA.Request with the NPDU as
   the SN_Userdata.The SN_Destination_Address parameter is set to the
   group address that indicates "All End System Network Entities".

   Subsequently an ESH PDU may be received containing the NSAP address
   along with the corresponding SNPA address (see clause 7.6). In such a
   case the End System executes the Record Configuration function for
   the NSAP, and therefore will be able to route subsequent PDUs to that
   destination using the specified SNPA. If no ESH PDU is received, the
   End System may declare the destination NSAP is not reachable. The
   length of time to wait for a response before indicating a failure or
   the possibility of repeating the process some number of times before
   returning a failure are local matters and are not specified in this
   standard.

7.6   Configuration Response Function

   The Configuration Response function is performed when an End System
   attached to a broadcast subnetwork receives an NPDU addressed to one
   of its NSAPs, with the SN_Destination_Address from the
   SN_UNITDATA.Indication set to the group address "All End System
   Netowrk Entities". This occurs as a result of another ES having per-
   formed the Query Configuration function described in clause 7.5.

   The End System constructs an ESH PDU identical in content to the ESH
   PDU constructed by the Report Configuration function (see clause
   7.2.1) for the NSAP to which the received NPDU was addressed.It then
   transmits the ESH PDU to the source of the original NPDU by issuing
   an SN_UNITDATA.Request with the SN_Destination_Address set to the
   value of the SN_Source_Address received in the SN_UNITDATA.Indication
   with the original NPDU.



ISO N4053                                                      [Page 21]
^L
RFC 995                                                    December 1986


7.7     Request Redirect Function

   The Request Redirect Function is present only in Intermediate Systems
   and is closely coupled with the Routing and Relaying Functions of In-
   termediate Systems. The Request Redirect Function is coupled with the
   "Route PDU Function" described in clause 6.5 of ISO 8473. The Request
   Redirect Function is performed after the Route PDU function has cal-
   culated the next hop of the Data PDU's path.

   When an NPDU is to be forwarded by a Intermediate System, the Request
   Redirect Function first examines the SN_Source_Address associated
   with the SN_UNITDATA.Indication which received the SNSDU (containing
   this NPDU). If the SN_Source_Address is not from an End System on the
   local subnetwork (determined by examining the Configuration informa-
   tion obtained through the Record Configuration Function), then this
   function does no further processing of the NPDU.

   If the NPDU was received directly from an ES the output of the ISs
   Routing and Relaying function for this NPDU is examined. This output
   will contain, among other things, the following pieces of informa-
   tion:

     1. a local identifier for the subnetwork over which to forward the NPDU,
        plus either

     2. the Network entity title and subnetwork address of the IS to which to
        forward the NPDU, or

     3. the subnetwork address of the destination End System.

   The Request Redirect function must now determine if the source ES
   could have sent the NPDU directly to the Network entity the Inter-
   mediate System is about to forward the PDU to. If any of the follow-
   ing conditions hold, the source ESshould be informed of the "better"
   path (by sending an RD PDU to the originating ES):

     1. The next hop is to the destination system, and the destination is
        directly reachable (at subnetwork address BSNPA) on the source ESs
        subnetwork, or

     2. The next hop is to a Intermediate System which is connected to the
        same subnetwork as the ES.

   If the better path exists, the IS first completes normal processing
   of the received NPDU and forwards it.It then constructs a Redirect
   PDU (RD PDU) containing the Destination Address of the original NPDU,
   the subnetwork address of the better next hop (BSNPA), the Network
   Entity Title of the IS to which the ES is being redirected (unless
   the redirect is to the destination ES), a Holding Time (HT), QoS
   Maintenance, Priority, and Security options that were present in the
   Data NPDU (these are simply copied from the Data PDU). The HT is set



ISO N4053                                                      [Page 22]
^L
RFC 995                                                    December 1986


   to the value of the local Redirect Timer (RT). See Annex A for a dis-
   cussion of how to choose the value of RT.  If there are insufficient
   resources to both forward the original NPDU and to generate and send
   an RD PDU, the original NPDU must be given preference.  The Inter-
   mediate System (assuming it has sufficient resources) then sends the
   RD PDU to the source End System using the SN_Source_Address of the
   received NPDU as the SN_Destination_Address for the SN_UNITDATA.-
   Reqeust.

7.8   Record Redirect Function

   The Record Redirect Function is present only in End Systems. This
   function is invoked whenever an RD PDU is received. It extracts the
   redirect information and adds or replaces the corresponding redirec-
   tion information in the local Network entity's Routing Information
   base. The essential information is the redirection mapping from a
   Destination Address to a subnetwork address, along with the Priority,
   Security, and QoS Maintenance options and the Holding Time for which
   this mapping is to be considered valid. If the Redirect was to anoth-
   er Intermediate System, the Network Entity Title of the IS is record-
   ed as well.

                                    Note:
     If insufficient memory is available to store new redirection information,
     the RD PDU may be safely discarded since the original Intermediate
     System will continue to forward PDUs on behalf of this Network entity
     anyway.

7.9   Refresh Redirect Function

   The Refresh Redirect Function is present only in End Systems. This
   function is invoked whenever an NPDU is received by a destination ES.
   It is closely coupled with the function that processes received NPDUs
   at a destination Network Entity.This is the "PDU Decomposition" func-
   tion in ISO 8473.  The purpose of this function is to increase the
   longevity of a redirection without allowing an incorrect route to
   persist indefinitely.  The Source Address (SA), Priority, Security,
   and QoS options are extracted and compared to any Destination Address
   and QoS parameters being maintained in the Routing Information base
   (such information would have been stored by the Record Redirect Func-
   tion). If a corresponding entry is found, the previous hop of the PDU
   is obtained from the SN_Source_Address parameter of the
   SN_Unitdata.Indication primitive by which it was received.  If this
   address matches the next hop address stored with the redirection in-
   formation, the remaining holding time for the redirection is reset to
   the original holding timer that was obtained from the RD PDU.

                                       Note:
     The purpose of this function is to avoid timing out redirection entries
     when the Network entity is receiving return traffic from the destination
     via the same path over which it is currently sending traffic.This is



ISO N4053                                                      [Page 23]
^L
RFC 995                                                    December 1986


     particularly useful when the destination system is on the same subnetwork
     as the source, since after one redirect no IS need be involved in
     the ES-to-ES traffic.

     This function must operate in a very conservative fashion however,
     to prevent the formation of black holes. The remaining holding time
     should be refreshed only under the exact conditions specified above.
     For a discussion of the issues surrounding the refresh of redirection
     information, see Annex 10.

7.10   Flush Old Redirect Function

   The Flush Old Redirect Function is executed to remove Configuration
   entries in the routing information base whose Holding Timer has ex-
   pired.  When the Holding Time for an ES or IS expires, this function
   removes the corresponding entry from the routing information base of
   the local Network Entity.

7.11   PDU Header Error Detection

   The PDU Header Error Detection function protects against failure of
   Intermediate or End System Network entities due to the processing of
   erroneous information in the PDU header.The function is realized by a
   checksum computed on the entire PDU header. The checksum is verified
   at each point at which the PDU is processed. If the checksum calcula-
   tion fails, the PDU must be discarded.

   The use of the Header Error Detection function is optional and is
   selected by the originating Network Entity. If the function is not
   used, the checksum field of the PDU header is set to zero.

   If the function is selected by the originating Network Entity, the
   value of the checksum field causes the following formulf to be satis-
   fied:

        (The Sum from i=1 to L of a(i)) (mod   255) = 0

        (The Sum from i=1 to L of  (L - i + 1) * a(i))  (mod   255) = 0


   where L = the number of octets in the PDU header, and a(i) = the value of
   the octet at position i. The first octet in the PDU header is considered to
   occupy position i = 0.

   When the function is in use, neither octet of the checksum field may be
   set to zero.








ISO N4053                                                      [Page 24]
^L
RFC 995                                                    December 1986


7.12   Classification of Functions

   Implementations do not have to support all of the functions described
   in clause 7. Functions are divided into four categories:

   Type A:   These functions must be supported in all cases.

   Type B:   These functions must be supported by Systems which implement
             the Configuration Information.

   Type C:   These functions must be supported by Systems which implement
             the Redirect Information.

   Type D:   These functions are optional.

   If a PDU is received which invokes an optional function that is not
   implemented, that PDU is discarded.

   Table 3 shows how the functions are divided into these four
   categories, and to which type of system (ES, IS, or both) they apply.

    ______________________________________________________________
    | Function                      |   Category |   System Type |
    |_______________________________|____________|_______________|
    | Report Configuration          |      B     |      ES,IS    |
    | Record Configuration          |      B     |      ES,IS    |
    | Configuration Response        |      A     |       ES      |
    | Flush Old Configuration       |      B     |      ES,IS    |
    | Request Redirect              |      C     |       IS      |
    | Query Configuration           |      B     |       ES      |
    | Record Redirect               |      C     |       ES      |
    | Refresh Redirect              |      D     |       ES      |
    | Flush Old Redirect            |      C     |       ES      |
    | PDU Header Error Detection    |      A     |      ES,IS    |
    |_______________________________|____________|_______________|

            Table 3: Categories of Protocol Functions

8   Structure and Encoding of PDUs

                              Note:
     The encoding of the PDUs for this protocol is compatible with that
     used in ISO 8473.

                       Temporary Note:
     The method employed for describing the encoding of PDUs is provisional.
     Member bodies are requested to comment on whether another
     method (such as ASN.1 with an appropriate concrete syntax) would
     be preferable.





ISO N4053                                                      [Page 25]
^L
RFC 995                                                    December 1986


8.1   Structure

   All Protocol Data Units shall contain an integral number of
   octets.The octets in a PDU are numbered starting from one (1) and in-
   creasing in the order in which they are put into an SNSDU. The bits
   in an octet are numbered from one (1) to eight (8), where bit one (1)
   is the low-order bit.  When consecutive octets are used to represent
   a binary number, the lower octet number has the most significant
   value.

   Any subnetwork supporting this protocol is required to state in its
   specification the way octets are transferred, using the terms "most
   significant bit" and "least significant bit". The PDUs of this proto-
   col are defined using the terms "most significant bit" and "least
   significant bit".

                             Note:
     When the encoding of a PDU is represented using a diagram in this
     section, the following representation is used:

     a) octets are shown with the lowest numbered octet to the left,
        higher number octets being further to the right;
     b) within an octet, bits are shown with bit eight (8) to the left and
        bit one (1) to the right.

    PDUs shall contain, in the following order:

     1.  the fixed part;

     2.  the Network address part;

     3.  the Subnetwork address part, if present; and

     4.  the Options part, if present.

8.2   Fixed Part

8.2.1  General

   The fixed part contains frequently occurring parameters including the
   type code (ESH, ISH, or RD) of the protocol data unit.The length and
   the structure of the fixed part are defined by the PDU code.












ISO N4053                                                      [Page 26]
^L
RFC 995                                                    December 1986


   The fixed part has the following format:

                                               Octet
      ________________________________________
      |    Network Layer Protocol Identifier |    1
      |______________________________________|
      |           Length Indicator           |    2
      |______________________________________|
      |      Version/Protocol Id Extension   |    3
      |______________________________________|
      |        reserved (must be zero)       |    4
      |______________________________________|
      | 0 |0 |0 |           Type             |    5
      |___|__|__|____________________________|
      |           Holding Time               |   6,7
      |______________________________________|
      |             Checksum                 |   8,9
      |______________________________________|

         Figure 1: PDU Header -- Fixed Part


8.2.2  Network Layer Protocol Identifier

   The value of this field shall be 1000 0010.

                     Temporary Note:
     The value 1000 0010 is provisional, pending resolution of the NLPID
     issue in SC6.

   This field identifies this Network Layer Protocol as ISO SC6/N4053,
   End System to Intermediate System Routing Exchange Protocol for use in
   conjunction with ISO 8473.

8.2.3  Length Indicator

   The length is indicated by a binary number, with a maximum value of
   254 (1111 1110).The length indicated is the length of the entire PDU
   (which consists entirely of header, since this protocol does not car-
   ry user data) in octets, as described in clause 8.1. The value 255
   (1111 1111) is reserved for possible future extensions.

8.2.4  Version/Protocol Identifier Extension

   The value of this field is binary 0000 0001. This identifies a stan-
   dard version of ISO xxxx, End System to Intermediate System Routing
   Exchange Protocol for use in conjunction with ISO 8473.







ISO N4053                                                      [Page 27]
^L
RFC 995                                                    December 1986


8.2.5  Type Code

   The Type code field identifies the type of the protocol data unit.
   Allowed values are given in table 4.

   _____________________________________________________
   |            | Bits               5   4   3   2   1 |
   |____________|______________________________________|
   |____________|______________________________________|
   |ESH PDU     |                    0   0   0   1   0 |
   |____________|______________________________________|
   |ISH PDU     |                    0   0   1   0   0 |
   |____________|______________________________________|
   |RD PDU      |                    0   0   1   1   0 |
   |____________|______________________________________|

                   Table 4: Valid PDU Types

   All other PDU type values are reserved.

8.2.6  Holding Time

   The Holding Time field specifies for how long the receiving Network
   entity should retain the configuration/routing information contained
   in this PDU.  The receiving Network entity should discard any infor-
   mation obtained from this PDU from its internal state when the hold-
   ing time expires.  The Holding time field is encoded as an integral
   number of micro-fortnights.

8.2.7  PDU Checksum

   The checksum is computed on the entire PDU header. A checksum value
   of zero is reserved to indicate that the checksum is to be ignored.
   The operation of the PDU Header Error Detection function (Clause
   7.11) ensures that the value zero does not represent a valid check-
   sum. A non-zero value indicates that the checksum must be processed.
   If the checksum calculation fails, the PDU must be discarded.

8.3   Network Address Part

8.3.1  General

   Address parameters are distinguished by their location. The different
   PDU types carry different address parameters however.The ESH PDU car-
   ries a Source NSAP address (SA); the ISH PDU carries a Intermediate
   System Network entity Title (NET); and the RD PDU carries a Destina-
   tion NSAP address (DA), and possibly a Network Entity Title (NET).

8.3.2  NPAI (Network Protocol Address Information) Encoding

   The Destination and Source Addresses are Network Service Access Point



ISO N4053                                                      [Page 28]
^L
RFC 995                                                    December 1986


   addresses as defined in ISO 8348/AD2, Addendum to the Network Service
   Definition Covering Network Layer addressing.The Network Entity Title
   address parameter is defined in clause 4.5. The Destination Address,
   Source Address, and Network Entity Title are encoded as NPAI using
   the binary syntax defined in clause 8.3.1 of ISO 8348/AD2.

   The address information is of variable length. Each address parameter
   is encoded as follows:

         _______________________________________________
         | Octet  | Address parameter Length Indicator |
         |   n    |                (e.g., 'm')         |
         |________|____________________________________|
         | Octets |                                    |
         | n + 1  |       Address Parameter Value      |
         |  thru  |                                    |
         | n + m  |                                    |
         |________|____________________________________|

                       Figure 2:  Address Parameters
8.3.3  Source Address Parameter for ESH PDU

   The Source Address is the NSAP address of an NSAP served by the Net-
   work entity sending the ESH PDU. It is encoded in the ESH PDU as fol-
   lows:


                                                   Octet
         ________________________________________
         |Source Address Length Indicator (SAL) |   10
         |______________________________________|
         |                                      |   11
         :           Source Address (SA)        :
         |                                      |  m - 1
         |______________________________________|

          Figure 3: ESH PDU - Network Address Part

8.3.4  Network Entity Title Parameter for ISH PDU

   The Network entity Title parameter is the Network Entity Title of the
   Intermediate System sending the ISH PDU. It is encoded in the ISH PDU
   as follows:











ISO N4053                                                      [Page 29]
^L
RFC 995                                                    December 1986


                                                   Octet
   _______________________________________________
   |Network Entity Title Length Indicator (NETL) |  10
   |_____________________________________________|
   |                                             |  11
   :           Network Entity Title (NET)        :
   |                                             | m - 1
   |_____________________________________________|

      Figure 4: ISH PDU - Network Address Part

8.3.5  Destination Address Parameter for RD PDU

   The Destination Address is the NSAP address of a destination associ-
   ated with some NPDU being forwarded by the Intermediate System send-
   ing the RD PDU. It is encoded in the RD PDU as follows:

                                                  Octet
    _____________________________________________
    |Destination Address Length Indicator (DAL) |  10
    |___________________________________________|
    |                                           |  11
    :           Destination Address (DA)        :
    |                                           | m - 1
    |___________________________________________|

       Figure 5: RD PDU - Network Address Part


8.4   Subnetwork Address Part

   The Subnetwork Address Part is present only in RD PDUs.It is used to
   indicate the subnetwork address of another Network entity on the same
   subnetwork as the End System (and Intermediate System) which may be a
   better path to the destination specified in the Network Address Part.
   The Subnetwork Address parameter is encoded in the same manner as the
   Network Address parameters.

















ISO N4053                                                      [Page 30]
^L
RFC 995                                                    December 1986


8.4.1    Subnetwork Address Parameter for RD PDU

    The Subnetwork Address Parameter is encoded in the RD PDU as fol-
   lows:

                                                   Octet
    _______________________________________________
    |Subnetwork Address Length Indicator (BSNPAL) |   m
    |_____________________________________________|
    |                                             | m + 1
    :         Subnetwork Address (BSNPA)          :
    |                                             | n - 1
    |_____________________________________________|

           Figure 6: ESH PDU - Address Part

 8.5     Options Part

 8.5.1    General

    The options part is used to convey optional parameters. The options
   part
    of the PDU header is illustrated below:

                                                        Octet
    ___________________________________________________
    |                                                  |   p
    :                    Options                       :
    |                                                  |   q
    |__________________________________________________|

               Figure 7: All PDUs - Options Part

   If the options part is present, it may contain one or more parame-
   ters.  The number of parameters that may be contained in the options
   part is constrained by the length of the options part, which is
   determined by the following formula:

      PDU Header Length - (length of fixed part + length of address
      part + length of segmentation part),

   and by the length of the individual optional parameters.

   Parameters defined in the options part may appear in any order.  Du-
   plication of options is not permitted.Receipt of a PDU with an option
   duplicated must be treated as a protocol error.








ISO N4053                                                      [Page 31]
^L
RFC 995                                                    December 1986


   The encoding of parameters contained within the options part of the
   PDU header is illustrated below in figure 8.

          Octets
          _________________________________
          |     n      |  Parameter Code  |
          |____________|__________________|
          |   n + 1    | Parameter Length |
          |____________|__________________|
          |   n + 2    |                  |
          |     to     | Parameter Value  |
          | n + m + 1  |                  |
          |____________|__________________|

      Figure 8:  Encoding of Option Parameters

   The parameter code field is coded in binary and, without extensions,
   provides a maximum of 255 different parameters. No parameter codes
   use bits 8 and 7 with the value 00, so the actual maximum number of
   parameters is lower. A parameter code of 255 (binary 1111 1111) is
   reserved for possible future extensions.

   The parameter length field indicates the length, in octets, of the
   parameter value field.The length is indicated by a positive binary
   number, m, with a theoretical maximum value of 254. the practical
   maximum value of m is lower. For example, in the case of a single
   parameter contained within the options part, two octets are required
   for the parameter code and the parameter length indicators. Thus, the
   value of m is limited to:

       m = 252-(length of fixed part +length of address part
       +length of segmentation part   )

   For each succeeding parameter the maximum value of m decreases.  The
   parameter value field contains the value of the parameter identified
   in the parameter code field.

   The following parameters are permitted in the options part.

8.5.2    Security

   The Security parameter conveys information about the security re-
   quested in the Data PDU that caused the containing RD PDU to be gen-
   erated.  This parameter has the same encoding and semantics as the
   Security parameter in ISO 8473.

       Parameter Code:        1100 0101

       Parameter Length:        variable

       Parameter Value:        See Section 7.5.3 of ISO 8473



ISO N4053                                                      [Page 32]
^L
RFC 995                                                    December 1986


8.5.3    Quality of Service Maintenance

   The Quality of Service parameter conveys information about the quali-
   ty of service requested in the Data PDU that caused the containing RD
   PDU to be generated.

   This parameter has the same encoding and semantics as the QoS Mainte-
   nance parameter in ISO 8473.

      Parameter Code:        1100 0011

      Parameter Length:        variable

      Parameter Value:        See Section 7.5.6 of ISO 8473

8.5.4    Priority

   The Priority parameter conveys information about the priority re-
   quested in the Data PDU that caused the containing RD PDU to be gen-
   erated.

   This parameter has the same encoding and semantics as the Priority
   parameter in ISO 8473.

      Parameter Code:        1100 1101

      Parameter Length:        one octet

      Parameter Value:        See Section 7.5.7 of ISO 8473

























ISO N4053                                                      [Page 33]
^L
RFC 995                                                    December 1986


8.6   End System Hello (ESH) PDU

8.6.1  Structure

   The ESH PDU has the following format:

                                                    Octet
       ____________________________________________
       |    Network Layer Protocol Identifier     |   1
       |__________________________________________|
       |             Length Indicator             |   2
       |__________________________________________|
       |       Version/Protocol Id Extension      |   3
       |__________________________________________|
       |         reserved (must be zero)          |   4
       |__________________________________________|
       |0 |0 |0 |              Type               |   5
       |__|__|__|_________________________________|
       |               Holding Time               |  6,7
       |__________________________________________|
       |                 Checksum                 |  8,9
       |__________________________________________|
       |    Source Address Length Indicator (SAL) |  10
       |__________________________________________|
       |                                          |  11
       :           Source Address (SA)            :
       |                                          | m - 1
       |__________________________________________|
       |                                          |   m
       :                  Options                 :
       |                                          | p - 1
       |__________________________________________|

                 Figure 9: ESH PDU Format




















ISO N4053                                                      [Page 34]
^L
RFC 995                                                    December 1986


8.7   Intermediate System Hello (ISH) PDU

8.7.1  Structure

   The ISH PDU has the following format:


                                                   Octet
   _______________________________________________
   |        Network Layer Protocol Identifier    |   1
   |_____________________________________________|
   |                 Length Indicator            |   2
   |_____________________________________________|
   |          Version/Protocol Id Extension      |   3
   |_____________________________________________|
   |             reserved (must be zero)         |   4
   |_____________________________________________|
   |0 |0 |0 |                  Type              |   5
   |__|__|__|____________________________________|
   |                   Holding Time              |  6,7
   |_____________________________________________|
   |                     Checksum                |  8,9
   |_____________________________________________|
   |Network Entity Title Length Indicator (NETL) |  10
   |_____________________________________________|
   |                                             |  11
   :           Network Entity Title (NET)        :
   |                                             | m - 1
   |_____________________________________________|
   |                                             |  m
   :                      Options                :
   |                                             | p - 1
   |_____________________________________________|

              Figure 10: ISH PDU Format



















ISO N4053                                                      [Page 35]
^L
RFC 995                                                    December 1986


8.8   Redirect (RD) PDU

8.8.1  Structure

   The RD PDU has the following format:

                                                    Octet
   ______________________________________________
   |         Network Layer Protocol Identifier   |    1
   |_____________________________________________|
   |                  Length Indicator           |    2
   |_____________________________________________|
   |           Version/Protocol Id Extension     |    3
   |_____________________________________________|
   |               reserved (must be zero)       |    4
   |_____________________________________________|
   |0 |0 |0 |                   Type             |    5
   |__|__|__|____________________________________|
   |                    Holding Time             |   6,7
   |_____________________________________________|
   |                      Checksum               |   8,9
   |_____________________________________________|
   |   Destination Address Length Indicator (DAL)|   10
   |_____________________________________________|
   |                                             |   11
   :              Destination Address (DA)       :
   |                                             | m - 1
   |_____________________________________________|
   |Subnetwork Address Length Indicator (BSNPAL) |   m
   |_____________________________________________|
   |                                             | m + 1
   :          Subnetwork Address (DBSNPA)        :
   |                                             | n - 1
   |_____________________________________________|
   |Network Entity Title Length Indicator (NETL) |   n
   |_____________________________________________|
   |                                             | n + 1
   :            Network Entity Title (NET)       :
   |                                             | p - 1
   |_____________________________________________|
   |                                             |   p
   :                        Options              :
   |                                             | q - 1
   |_____________________________________________|

   Figure 11: RD PDU Format when Redirect is to an IS








ISO N4053                                                      [Page 36]
^L
RFC 995                                                    December 1986


                                                    Octet
   ______________________________________________
   |         Network Layer Protocol Identifier   |    1
   |_____________________________________________|
   |                  Length Indicator           |    2
   |_____________________________________________|
   |           Version/Protocol Id Extension     |    3
   |_____________________________________________|
   |               reserved (must be zero)       |    4
   |_____________________________________________|
   |0 |0 |0 |                   Type             |    5
   |__|__|__|____________________________________|
   |                    Holding Time             |   6,7
   |_____________________________________________|
   |                      Checksum               |   8,9
   |_____________________________________________|
   |   Destination Address Length Indicator (DAL)|   10
   |_____________________________________________|
   |                                             |   11
   :              Destination Address (DA)       :
   |                                             | m - 1
   |_____________________________________________|
   |Subnetwork Address Length Indicator (BSNPAL) |   m
   |_____________________________________________|
   |                                             | m + 1
   :          Subnetwork Address (DBSNPA)        :
   |                                             | n - 1
   |_____________________________________________|
   |                   NETL = 0                  |   n
   |_____________________________________________|
   |                                             | n + 1
   :                   Options                   :
   |                                             | p - 1
   |_____________________________________________|
   |              Quality of Service             | n + 1
   |_____________________________________________|

   Figure 12: RD PDU Format when Redirect is to an ES


9   Formal Description

   {Maybe next pass...}

10    Conformance

   See Clause 6.2.







ISO N4053                                                      [Page 37]
^L
RFC 995                                                    December 1986


                  ANNEX A.  SUPPORTING TECHNICAL MATERIAL


A.1   Use of Timers

   This protocol makes extensive use of timers to ensure the timeliness
   and accuracy of information disseminated using the Configuration and
   Route Redirection functions.This section discusses the rationale for
   using these timers and provides some background for how they operate.

   Systems using this protocol learn about other systems exclusively by
   receiving PDUs sent by those systems. In a connectionless environ-
   ment, a system must periodically receive updated information to en-
   sure that the information it previously received is still correct.
   For example, if a system on a subnetwork becomes unavailable (either
   it has ceased operating, or its SNPA becomes inoperative) the only
   way another system can detect this fact is by the absence of
   transmissions from that system. If information were retained in the
   absence of new PDUs being received, configuration and/or routing in-
   formation would inevitably become incorrect. The Holding Timers
   specified by this protocol guarantee that old information will not be
   retained indefinitely.

   A useful way of thinking of the configuration and route redirection
   information is as a cache maintained by each system. The cache is
   periodically flushed to ensure that only up-to-date information is
   stored.Unlike most caches, however, the time to retain information is
   not a purely local matter.  Rather, information is held for a period
   of time specified by the source of the information. Some examples
   will help clarify this operation.

A.1.1   Example of Holding Time for Route Redirection

   Route Redirection Information is obtained by an End System through
   the Request Redirect function (see clause 7.7).It is quite possible
   that a Intermediate System might redirect an End System to another IS
   which has recently become unavailable (this might happen if the IS-
   to-IS routing algorithm is still converging following a configuration
   change). If the Holding Timer were not present, or was set very long
   by the sending IS, an End System would have been redirected into a
   Black Hole from which none of its Data PDUs would ever emerge. The
   length of the Holding Timer on Redirects specifies, in essence, the
   length of time black holes are permitted to exist.

   On the other hand, setting the Holding Timer on Route Redirects very
   short to minimize the effect of black holes has other undesirable
   consequences.First, for each PDU that causes a redirect, an addition-
   al PDU beside the original Data PDU must be composed and transmitted;
   this increases overhead. Second, each time a "working" redirect's
   Holding Timer expires, the redirected End System will revert to a
   poorer route for at least one PDU.



ISO N4053                                                      [Page 38]
^L
RFC 995                                                    December 1986


A.1.2   Example of Holding Timer for Configuration Information

   A similar type of problem can occur with respect to Configuration in-
   formation. If the Holding Time of a ISH PDU (see clause 7.2.2) is set
   very long, and the only Intermediate System (which has been sending
   this Configuration Information) on the subnetwork becomes unavail-
   able, a subnetwork-wide black hole can form. During this time, End
   Systems on the subnetwork may not be able to communicate with each
   other because they presume that a Intermediate System is operating
   which will forward their Data PDUs to destination ESs on the local
   subnetwork and return RD PDUs.Once the Holding Time expires, the ESs
   will realize that no IS is available and will take their only
   recourse, which is to send their traffic directly on the local sub-
   network.

   Given the types of problems that can occur, it is important that
   responsibility for incorrect information can be unambiguously as-
   signed to the source of the information. For this reason all Holding
   Timers are calculated by the source of the Configuration or Route
   Redirection information and communicated explicitly to each recipient
   in the appropriate PDU.

A.2   Refresh and timeout of Redirection information

   The protocol allows End Systems to refresh redirection information
   without first allowing the holding time to expire and being redirect-
   ed by a Intermediate System for a second (or subsequent) time. Such
   schemes are prevalent in connectionless subnetworks and are often
   called "reverse path information", "previous hop cache" or something
   similar.

   Refreshing the redirection information has obvious performance bene-
   fits, but can be dangerous if not handled in a very conservative
   fashion. In order for a redirection to be safely refreshed, all of
   the following conditions must hold:

     1. The source address of the received PDU must be exactly the same
        as the destination address specified in a prior RD PDU (this
        defines a "match" on the redirection information). Making
        assumptions about the equivalence of abbreviated addresses,
        group addresses, or similar "special" addresses is dangerous
        since routing for these addresses cannot be assumed to be
        the same.

     2. The Quality of Service parameters of the received PDU must be
        exactly the same as the QoS parameters specified in the matching
        (by destination address) redirection entry.Again, there is no
        guarantee that PDUs with different QoS parameters will be routed
        the same way. It is quite possible that the redirected path is
        even a black hole for certain values of the QoS parameters (the
        security field is a good example).



ISO N4053                                                      [Page 39]
^L
RFC 995                                                    December 1986


     3. The "previous hop" of the received Data PDU must match the "next
        hop" stored in the redirection information. Specifically, the
        SN_Source_Address of the SN_UNITDATA.Indication which received the
        PDU must match exactly the SN_Destination_Address specified in the
        redirect to be used for sending traffic via the SN_UNITDATA.Request
        primitive. This comparison ensures that redirects are refreshed only
        when the reverse traffic is being received from the same IS (or
        destination ES) as the forward traffic is being sent through (or
        to). This check make certain that redirects are not refreshed for
        just on the basis of traffic being received from the destination.
        It is quite possible that the traffic is simply indicating that the
        forward path in use is not working!

   Note that these conditions still allow refresh in the most useful and
   common cases where either the destination is another ES on the same
   subnetwork as the source ES, or the redirection is to a IS which is
   passing traffic to/from the destination in both directions (i.e. the
   path is symmetric).

A.3   System Initialization Considerations

   This protocol is designed to make the exchange of information as free
   as possible from dependencies between the two types of systems.
   therefore, it is not possible for an End System to request all Inter-
   mediate Systems on a subnetwork to report their configuration, nor is
   it possible for an Intermediate System to request all End Systems on
   a subnetwork to report their configuration.

   In certain operating environments a constraint may be imposed than an
   ES, upon becoming operational, must discover the existence of an IS
   as soon as possible.The converse relationship also holds if it is
   necessary for an IS to discover the existence of End Systems as soon
   as possible. In both cases the availability of this information is
   normally determined by the Configuration Timer of the system for
   which the knowledge is desired. there is therefore a tradeoff between
   the overhead associated with performing the Report and Record Confi-
   guration functions and the timely availability of the configuration
   information. Decreasing the Configuration Timer increases the availa-
   bility at the expense of an increase in overhead.

   The following solution is recommended for addressing the constraint
   described above. When the Record Configuration function is invoked in
   either an End System or an Intermediate System, the function will
   determine if the received configuration information was previously
   unknown.If this is the case, then the Report Configuration function
   may be invoked before the expiration of the system's Configuration
   Timer. The Hello PDU generated by the Report Configuration function
   is then sent only to the Network Entity whose configuration was pre-
   viously unknown. Thus when an ES or IS first becomes operational it
   immediately reports its configuration. As soon as systems of the oth-
   er type discover the new network entity, they will make their own



ISO N4053                                                      [Page 40]
^L
RFC 995                                                    December 1986


   configuration known to this entity.

   The additional overhead incurred by this solution is minimal. Also,
   since the discovery of new configurations is made timely by this ap-
   proach the Configuration Timer period can be increased in order to
   decrease the overhead of the configuration functions, provided that
   other factors not discussed here are accounted for by the longer time
   period.One caveat is that the first Hello PDU generated by a system
   may be lost during transmission. To solve this problem one or more
   additional PDUs may be transmitted at short time intervals during
   this initialization period.

   Note that this solution may be implemented in ISs only, in ESs only,
   or in both Intermediate and End Systems.This decision is purely a lo-
   cal matter and may be alterable through System Management.

A.4     Optimizations for Flushing Redirects

   An ES will attempt to forward NPDUs through an IS to which it has
   been redirected until the Holding Timer specified in the RD PDU has
   expired, even if that IS is no longer reachable.  Under certain cir-
   cumstances, it is possible to do better and recognize the existence
   of a black hole sooner. In particular, if the ES expects to hear ISH
   PDUs from the IS to which it has been redirected, and the Holding Ti-
   mer for that IS expires, all knowledge of the IS may be forgotten by
   the ES. This includes any redirects, which may be flushed (see the
   Flush Old Redirect function) even though their timeouts have not ex-
   pired.


























ISO N4053                                                      [Page 41]
^L