File: rfc9314.html

package info (click to toggle)
doc-rfc 20230121-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 1,609,944 kB
file content (4856 lines) | stat: -rw-r--r-- 201,949 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
<!DOCTYPE html>
<html lang="en" class="RFC">
<head>
<meta charset="utf-8">
<meta content="Common,Latin" name="scripts">
<meta content="initial-scale=1.0" name="viewport">
<title>RFC 9314: YANG Data Model for Bidirectional Forwarding Detection (BFD)</title>
<meta content="Mahesh Jethanandani" name="author">
<meta content="Reshad Rahman" name="author">
<meta content="Lianshu Zheng" name="author">
<meta content="Santosh Pallagatti" name="author">
<meta content="Greg Mirsky" name="author">
<meta content='
       This document defines a YANG data model that can be used to configure
      and manage Bidirectional Forwarding Detection (BFD). 
       The YANG modules in this document conform to the Network Management
      Datastore Architecture (NMDA) (RFC 8342). This document updates "YANG Data Model for Bidirectional Forwarding Detection (BFD)" (RFC 9127). 
    ' name="description">
<meta content="xml2rfc 3.14.2" name="generator">
<meta content="Liveliness check" name="keyword">
<meta content="BGP" name="keyword">
<meta content="OSPF" name="keyword">
<meta content="IS-IS" name="keyword">
<meta content="TCP-AO" name="keyword">
<meta content="MD5" name="keyword">
<meta content="9314" name="rfc.number">
<!-- Generator version information:
  xml2rfc 3.14.2
    Python 3.9.13
    appdirs 1.4.4
    ConfigArgParse 1.5.3
    google-i18n-address 2.5.1
    html5lib 1.1
    intervaltree 3.1.0
    Jinja2 3.1.2
    kitchen 1.2.6
    lxml 4.9.0
    MarkupSafe 2.1.1
    pycountry 22.3.5
    PyYAML 6.0
    requests 2.28.0
    setuptools 44.1.1
    six 1.16.0
    weasyprint 56.1
-->
<link href="rfc9314.xml" rel="alternate" type="application/rfc+xml">
<link href="#copyright" rel="license">
<style type="text/css">/*

  NOTE: Changes at the bottom of this file overrides some earlier settings.

  Once the style has stabilized and has been adopted as an official RFC style,
  this can be consolidated so that style settings occur only in one place, but
  for now the contents of this file consists first of the initial CSS work as
  provided to the RFC Formatter (xml2rfc) work, followed by itemized and
  commented changes found necssary during the development of the v3
  formatters.

*/

/* fonts */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans'); /* Sans-serif */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif'); /* Serif (print) */
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); /* Monospace */

@viewport {
  zoom: 1.0;
  width: extend-to-zoom;
}
@-ms-viewport {
  width: extend-to-zoom;
  zoom: 1.0;
}
/* general and mobile first */
html {
}
body {
  max-width: 90%;
  margin: 1.5em auto;
  color: #222;
  background-color: #fff;
  font-size: 14px;
  font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}
.ears {
  display: none;
}

/* headings */
#title, h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 0.5em;
  font-weight: bold;
  line-height: 1.3;
}
#title {
  clear: both;
  border-bottom: 1px solid #ddd;
  margin: 0 0 0.5em 0;
  padding: 1em 0 0.5em;
}
.author {
  padding-bottom: 4px;
}
h1 {
  font-size: 26px;
  margin: 1em 0;
}
h2 {
  font-size: 22px;
  margin-top: -20px;  /* provide offset for in-page anchors */
  padding-top: 33px;
}
h3 {
  font-size: 18px;
  margin-top: -36px;  /* provide offset for in-page anchors */
  padding-top: 42px;
}
h4 {
  font-size: 16px;
  margin-top: -36px;  /* provide offset for in-page anchors */
  padding-top: 42px;
}
h5, h6 {
  font-size: 14px;
}
#n-copyright-notice {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1em;
  margin-bottom: 1em;
}
/* general structure */
p {
  padding: 0;
  margin: 0 0 1em 0;
  text-align: left;
}
div, span {
  position: relative;
}
div {
  margin: 0;
}
.alignRight.art-text {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 1em 1em 0;
  margin-bottom: 1.5em;
}
.alignRight.art-text pre {
  padding: 0;
}
.alignRight {
  margin: 1em 0;
}
.alignRight > *:first-child {
  border: none;
  margin: 0;
  float: right;
  clear: both;
}
.alignRight > *:nth-child(2) {
  clear: both;
  display: block;
  border: none;
}
svg {
  display: block;
}
.alignCenter.art-text {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 1em 1em 0;
  margin-bottom: 1.5em;
}
.alignCenter.art-text pre {
  padding: 0;
}
.alignCenter {
  margin: 1em 0;
}
.alignCenter > *:first-child {
  display: table;
  border: none;
  margin: 0 auto;
}

/* lists */
ol, ul {
  padding: 0;
  margin: 0 0 1em 2em;
}
ol ol, ul ul, ol ul, ul ol {
  margin-left: 1em;
}
li {
  margin: 0 0 0.25em 0;
}
.ulCompact li {
  margin: 0;
}
ul.empty, .ulEmpty {
  list-style-type: none;
}
ul.empty li, .ulEmpty li {
  margin-top: 0.5em;
}
ul.ulBare, li.ulBare {
  margin-left: 0em !important;
}
ul.compact, .ulCompact,
ol.compact, .olCompact {
  line-height: 100%;
  margin: 0 0 0 2em;
}

/* definition lists */
dl {
}
dl > dt {
  float: left;
  margin-right: 1em;
}
/* 
dl.nohang > dt {
  float: none;
}
*/
dl > dd {
  margin-bottom: .8em;
  min-height: 1.3em;
}
dl.compact > dd, .dlCompact > dd {
  margin-bottom: 0em;
}
dl > dd > dl {
  margin-top: 0.5em;
  margin-bottom: 0em;
}

/* links */
a {
  text-decoration: none;
}
a[href] {
  color: #22e; /* Arlen: WCAG 2019 */
}
a[href]:hover {
  background-color: #f2f2f2;
}
figcaption a[href],
a[href].selfRef {
  color: #222;
}
/* XXX probably not this:
a.selfRef:hover {
  background-color: transparent;
  cursor: default;
} */

/* Figures */
tt, code, pre, code {
  background-color: #f9f9f9;
  font-family: 'Roboto Mono', monospace;
}
pre {
  border: 1px solid #eee;
  margin: 0;
  padding: 1em;
}
img {
  max-width: 100%;
}
figure {
  margin: 0;
}
figure blockquote {
  margin: 0.8em 0.4em 0.4em;
}
figcaption {
  font-style: italic;
  margin: 0 0 1em 0;
}
@media screen {
  pre {
    overflow-x: auto;
    max-width: 100%;
    max-width: calc(100% - 22px);
  }
}

/* aside, blockquote */
aside, blockquote {
  margin-left: 0;
  padding: 1.2em 2em;
}
blockquote {
  background-color: #f9f9f9;
  color: #111; /* Arlen: WCAG 2019 */
  border: 1px solid #ddd;
  border-radius: 3px;
  margin: 1em 0;
}
cite {
  display: block;
  text-align: right;
  font-style: italic;
}

/* tables */
table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  border: 1px solid #eee;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5em 0.75em;
}
th {
  text-align: left;
  background-color: #e9e9e9;
}
tr:nth-child(2n+1) > td {
  background-color: #f5f5f5;
}
table caption {
  font-style: italic;
  margin: 0;
  padding: 0;
  text-align: left;
}
table p {
  /* XXX to avoid bottom margin on table row signifiers. If paragraphs should
     be allowed within tables more generally, it would be far better to select on a class. */
  margin: 0;
}

/* pilcrow */
a.pilcrow {
  color: #666; /* Arlen: AHDJ 2019 */
  text-decoration: none;
  visibility: hidden;
  user-select: none;
  -ms-user-select: none;
  -o-user-select:none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
@media screen {
  aside:hover > a.pilcrow,
  p:hover > a.pilcrow,
  blockquote:hover > a.pilcrow,
  div:hover > a.pilcrow,
  li:hover > a.pilcrow,
  pre:hover > a.pilcrow {
    visibility: visible;
  }
  a.pilcrow:hover {
    background-color: transparent;
  }
}

/* misc */
hr {
  border: 0;
  border-top: 1px solid #eee;
}
.bcp14 {
  font-variant: small-caps;
}

.role {
  font-variant: all-small-caps;
}

/* info block */
#identifiers {
  margin: 0;
  font-size: 0.9em;
}
#identifiers dt {
  width: 3em;
  clear: left;
}
#identifiers dd {
  float: left;
  margin-bottom: 0;
}
/* Fix PDF info block run off issue */
@media print {
  #identifiers dd {
    float: none;
  }
}
#identifiers .authors .author {
  display: inline-block;
  margin-right: 1.5em;
}
#identifiers .authors .org {
  font-style: italic;
}

/* The prepared/rendered info at the very bottom of the page */
.docInfo {
  color: #666; /* Arlen: WCAG 2019 */
  font-size: 0.9em;
  font-style: italic;
  margin-top: 2em;
}
.docInfo .prepared {
  float: left;
}
.docInfo .prepared {
  float: right;
}

/* table of contents */
#toc  {
  padding: 0.75em 0 2em 0;
  margin-bottom: 1em;
}
nav.toc ul {
  margin: 0 0.5em 0 0;
  padding: 0;
  list-style: none;
}
nav.toc li {
  line-height: 1.3em;
  margin: 0.75em 0;
  padding-left: 1.2em;
  text-indent: -1.2em;
}
/* references */
.references dt {
  text-align: right;
  font-weight: bold;
  min-width: 7em;
}
.references dd {
  margin-left: 8em;
  overflow: auto;
}

.refInstance {
  margin-bottom: 1.25em;
}

.references .ascii {
  margin-bottom: 0.25em;
}

/* index */
.index ul {
  margin: 0 0 0 1em;
  padding: 0;
  list-style: none;
}
.index ul ul {
  margin: 0;
}
.index li {
  margin: 0;
  text-indent: -2em;
  padding-left: 2em;
  padding-bottom: 5px;
}
.indexIndex {
  margin: 0.5em 0 1em;
}
.index a {
  font-weight: 700;
}
/* make the index two-column on all but the smallest screens */
@media (min-width: 600px) {
  .index ul {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
  }
  .index ul ul {
    -moz-column-count: 1;
    -moz-column-gap: 0;
  }
}

/* authors */
address.vcard {
  font-style: normal;
  margin: 1em 0;
}

address.vcard .nameRole {
  font-weight: 700;
  margin-left: 0;
}
address.vcard .label {
  font-family: "Noto Sans",Arial,Helvetica,sans-serif;
  margin: 0.5em 0;
}
address.vcard .type {
  display: none;
}
.alternative-contact {
  margin: 1.5em 0 1em;
}
hr.addr {
  border-top: 1px dashed;
  margin: 0;
  color: #ddd;
  max-width: calc(100% - 16px);
}

/* temporary notes */
.rfcEditorRemove::before {
  position: absolute;
  top: 0.2em;
  right: 0.2em;
  padding: 0.2em;
  content: "The RFC Editor will remove this note";
  color: #9e2a00; /* Arlen: WCAG 2019 */
  background-color: #ffd; /* Arlen: WCAG 2019 */
}
.rfcEditorRemove {
  position: relative;
  padding-top: 1.8em;
  background-color: #ffd; /* Arlen: WCAG 2019 */
  border-radius: 3px;
}
.cref {
  background-color: #ffd; /* Arlen: WCAG 2019 */
  padding: 2px 4px;
}
.crefSource {
  font-style: italic;
}
/* alternative layout for smaller screens */
@media screen and (max-width: 1023px) {
  body {
    padding-top: 2em;
  }
  #title {
    padding: 1em 0;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 20px;
    margin-top: -18px;  /* provide offset for in-page anchors */
    padding-top: 38px;
  }
  #identifiers dd {
    max-width: 60%;
  }
  #toc {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    padding: 0;
    margin: 0;
    background-color: inherit;
    border-bottom: 1px solid #ccc;
  }
  #toc h2 {
    margin: -1px 0 0 0;
    padding: 4px 0 4px 6px;
    padding-right: 1em;
    min-width: 190px;
    font-size: 1.1em;
    text-align: right;
    background-color: #444;
    color: white;
    cursor: pointer;
  }
  #toc h2::before { /* css hamburger */
    float: right;
    position: relative;
    width: 1em;
    height: 1px;
    left: -164px;
    margin: 6px 0 0 0;
    background: white none repeat scroll 0 0;
    box-shadow: 0 4px 0 0 white, 0 8px 0 0 white;
    content: "";
  }
  #toc nav {
    display: none;
    padding: 0.5em 1em 1em;
    overflow: auto;
    height: calc(100vh - 48px);
    border-left: 1px solid #ddd;
  }
}

/* alternative layout for wide screens */
@media screen and (min-width: 1024px) {
  body {
    max-width: 724px;
    margin: 42px auto;
    padding-left: 1.5em;
    padding-right: 29em;
  }
  #toc {
    position: fixed;
    top: 42px;
    right: 42px;
    width: 25%;
    margin: 0;
    padding: 0 1em;
    z-index: 1;
  }
  #toc h2 {
    border-top: none;
    border-bottom: 1px solid #ddd;
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    padding: 0.25em 1em 1em 0;
  }
  #toc nav {
    display: block;
    height: calc(90vh - 84px);
    bottom: 0;
    padding: 0.5em 0 0;
    overflow: auto;
  }
  img { /* future proofing */
    max-width: 100%;
    height: auto;
  }
}

/* pagination */
@media print {
  body {

    width: 100%;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  #n-copyright-notice {
    border-bottom: none;
  }
  #toc, #n-introduction {
    page-break-before: always;
  }
  #toc {
    border-top: none;
    padding-top: 0;
  }
  figure, pre {
    page-break-inside: avoid;
  }
  figure {
    overflow: scroll;
  }
  pre.breakable {
    break-inside: auto;
  }
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  h2+*, h3+*, h4+*, h5+*, h6+* {
    page-break-before: avoid;
  }
  pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 10pt;
  }
  table {
    border: 1px solid #ddd;
  }
  td {
    border-top: 1px solid #ddd;
  }
}

/* This is commented out here, as the string-set: doesn't
   pass W3C validation currently */
/*
.ears thead .left {
  string-set: ears-top-left content();
}

.ears thead .center {
  string-set: ears-top-center content();
}

.ears thead .right {
  string-set: ears-top-right content();
}

.ears tfoot .left {
  string-set: ears-bottom-left content();
}

.ears tfoot .center {
  string-set: ears-bottom-center content();
}

.ears tfoot .right {
  string-set: ears-bottom-right content();
}
*/

@page :first {
  padding-top: 0;
  @top-left {
    content: normal;
    border: none;
  }
  @top-center {
    content: normal;
    border: none;
  }
  @top-right {
    content: normal;
    border: none;
  }
}

@page {
  size: A4;
  margin-bottom: 45mm;
  padding-top: 20px;
  /* The follwing is commented out here, but set appropriately by in code, as
     the content depends on the document */
  /*
  @top-left {
    content: 'Internet-Draft';
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-left {
    content: string(ears-top-left);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-center {
    content: string(ears-top-center);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @top-right {
    content: string(ears-top-right);
    vertical-align: bottom;
    border-bottom: solid 1px #ccc;
  }
  @bottom-left {
    content: string(ears-bottom-left);
    vertical-align: top;
    border-top: solid 1px #ccc;
  }
  @bottom-center {
    content: string(ears-bottom-center);
    vertical-align: top;
    border-top: solid 1px #ccc;
  }
  @bottom-right {
      content: '[Page ' counter(page) ']';
      vertical-align: top;
      border-top: solid 1px #ccc;
  }
  */

}

/* Changes introduced to fix issues found during implementation */
/* Make sure links are clickable even if overlapped by following H* */
a {
  z-index: 2;
}
/* Separate body from document info even without intervening H1 */
section {
  clear: both;
}


/* Top align author divs, to avoid names without organization dropping level with org names */
.author {
  vertical-align: top;
}

/* Leave room in document info to show Internet-Draft on one line */
#identifiers dt {
  width: 8em;
}

/* Don't waste quite as much whitespace between label and value in doc info */
#identifiers dd {
  margin-left: 1em;
}

/* Give floating toc a background color (needed when it's a div inside section */
#toc {
  background-color: white;
}

/* Make the collapsed ToC header render white on gray also when it's a link */
@media screen and (max-width: 1023px) {
  #toc h2 a,
  #toc h2 a:link,
  #toc h2 a:focus,
  #toc h2 a:hover,
  #toc a.toplink,
  #toc a.toplink:hover {
    color: white;
    background-color: #444;
    text-decoration: none;
  }
}

/* Give the bottom of the ToC some whitespace */
@media screen and (min-width: 1024px) {
  #toc {
    padding: 0 0 1em 1em;
  }
}

/* Style section numbers with more space between number and title */
.section-number {
  padding-right: 0.5em;
}

/* prevent monospace from becoming overly large */
tt, code, pre, code {
  font-size: 95%;
}

/* Fix the height/width aspect for ascii art*/
pre.sourcecode,
.art-text pre {
  line-height: 1.12;
}


/* Add styling for a link in the ToC that points to the top of the document */
a.toplink {
  float: right;
  margin-right: 0.5em;
}

/* Fix the dl styling to match the RFC 7992 attributes */
dl > dt,
dl.dlParallel > dt {
  float: left;
  margin-right: 1em;
}
dl.dlNewline > dt {
  float: none;
}

/* Provide styling for table cell text alignment */
table td.text-left,
table th.text-left {
  text-align: left;
}
table td.text-center,
table th.text-center {
  text-align: center;
}
table td.text-right,
table th.text-right {
  text-align: right;
}

/* Make the alternative author contact informatio look less like just another
   author, and group it closer with the primary author contact information */
.alternative-contact {
  margin: 0.5em 0 0.25em 0;
}
address .non-ascii {
  margin: 0 0 0 2em;
}

/* With it being possible to set tables with alignment
  left, center, and right, { width: 100%; } does not make sense */
table {
  width: auto;
}

/* Avoid reference text that sits in a block with very wide left margin,
   because of a long floating dt label.*/
.references dd {
  overflow: visible;
}

/* Control caption placement */
caption {
  caption-side: bottom;
}

/* Limit the width of the author address vcard, so names in right-to-left
   script don't end up on the other side of the page. */

address.vcard {
  max-width: 30em;
  margin-right: auto;
}

/* For address alignment dependent on LTR or RTL scripts */
address div.left {
  text-align: left;
}
address div.right {
  text-align: right;
}

/* Provide table alignment support.  We can't use the alignX classes above
   since they do unwanted things with caption and other styling. */
table.right {
 margin-left: auto;
 margin-right: 0;
}
table.center {
 margin-left: auto;
 margin-right: auto;
}
table.left {
 margin-left: 0;
 margin-right: auto;
}

/* Give the table caption label the same styling as the figcaption */
caption a[href] {
  color: #222;
}

@media print {
  .toplink {
    display: none;
  }

  /* avoid overwriting the top border line with the ToC header */
  #toc {
    padding-top: 1px;
  }

  /* Avoid page breaks inside dl and author address entries */
  .vcard {
    page-break-inside: avoid;
  }

}
/* Tweak the bcp14 keyword presentation */
.bcp14 {
  font-variant: small-caps;
  font-weight: bold;
  font-size: 0.9em;
}
/* Tweak the invisible space above H* in order not to overlay links in text above */
 h2 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 31px;
 }
 h3 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 24px;
 }
 h4 {
  margin-top: -18px;  /* provide offset for in-page anchors */
  padding-top: 24px;
 }
/* Float artwork pilcrow to the right */
@media screen {
  .artwork a.pilcrow {
    display: block;
    line-height: 0.7;
    margin-top: 0.15em;
  }
}
/* Make pilcrows on dd visible */
@media screen {
  dd:hover > a.pilcrow {
    visibility: visible;
  }
}
/* Make the placement of figcaption match that of a table's caption
   by removing the figure's added bottom margin */
.alignLeft.art-text,
.alignCenter.art-text,
.alignRight.art-text {
   margin-bottom: 0;
}
.alignLeft,
.alignCenter,
.alignRight {
  margin: 1em 0 0 0;
}
/* In print, the pilcrow won't show on hover, so prevent it from taking up space,
   possibly even requiring a new line */
@media print {
  a.pilcrow {
    display: none;
  }
}
/* Styling for the external metadata */
div#external-metadata {
  background-color: #eee;
  padding: 0.5em;
  margin-bottom: 0.5em;
  display: none;
}
div#internal-metadata {
  padding: 0.5em;                       /* to match the external-metadata padding */
}
/* Styling for title RFC Number */
h1#rfcnum {
  clear: both;
  margin: 0 0 -1em;
  padding: 1em 0 0 0;
}
/* Make .olPercent look the same as <ol><li> */
dl.olPercent > dd {
  margin-bottom: 0.25em;
  min-height: initial;
}
/* Give aside some styling to set it apart */
aside {
  border-left: 1px solid #ddd;
  margin: 1em 0 1em 2em;
  padding: 0.2em 2em;
}
aside > dl,
aside > ol,
aside > ul,
aside > table,
aside > p {
  margin-bottom: 0.5em;
}
/* Additional page break settings */
@media print {
  figcaption, table caption {
    page-break-before: avoid;
  }
}
/* Font size adjustments for print */
@media print {
  body  { font-size: 10pt;      line-height: normal; max-width: 96%; }
  h1    { font-size: 1.72em;    padding-top: 1.5em; } /* 1*1.2*1.2*1.2 */
  h2    { font-size: 1.44em;    padding-top: 1.5em; } /* 1*1.2*1.2 */
  h3    { font-size: 1.2em;     padding-top: 1.5em; } /* 1*1.2 */
  h4    { font-size: 1em;       padding-top: 1.5em; }
  h5, h6 { font-size: 1em;      margin: initial; padding: 0.5em 0 0.3em; }
}
/* Sourcecode margin in print, when there's no pilcrow */
@media print {
  .artwork,
  .sourcecode {
    margin-bottom: 1em;
  }
}
/* Avoid narrow tables forcing too narrow table captions, which may render badly */
table {
  min-width: 20em;
}
/* ol type a */
ol.type-a { list-style-type: lower-alpha; }
ol.type-A { list-style-type: upper-alpha; }
ol.type-i { list-style-type: lower-roman; }
ol.type-I { list-style-type: lower-roman; }
/* Apply the print table and row borders in general, on request from the RPC,
and increase the contrast between border and odd row background sligthtly */
table {
  border: 1px solid #ddd;
}
td {
  border-top: 1px solid #ddd;
}
tr {
  break-inside: avoid;
}
tr:nth-child(2n+1) > td {
  background-color: #f8f8f8;
}
/* Use style rules to govern display of the TOC. */
@media screen and (max-width: 1023px) {
  #toc nav { display: none; }
  #toc.active nav { display: block; }
}
/* Add support for keepWithNext */
.keepWithNext {
  break-after: avoid-page;
  break-after: avoid-page;
}
/* Add support for keepWithPrevious */
.keepWithPrevious {
  break-before: avoid-page;
}
/* Change the approach to avoiding breaks inside artwork etc. */
figure, pre, table, .artwork, .sourcecode  {
  break-before: auto;
  break-after: auto;
}
/* Avoid breaks between <dt> and <dd> */
dl {
  break-before: auto;
  break-inside: auto;
}
dt {
  break-before: auto;
  break-after: avoid-page;
}
dd {
  break-before: avoid-page;
  break-after: auto;
  orphans: 3;
  widows: 3
}
span.break, dd.break {
  margin-bottom: 0;
  min-height: 0;
  break-before: auto;
  break-inside: auto;
  break-after: auto;
}
/* Undo break-before ToC */
@media print {
  #toc {
    break-before: auto;
  }
}
/* Text in compact lists should not get extra bottim margin space,
   since that would makes the list not compact */
ul.compact p, .ulCompact p,
ol.compact p, .olCompact p {
 margin: 0;
}
/* But the list as a whole needs the extra space at the end */
section ul.compact,
section .ulCompact,
section ol.compact,
section .olCompact {
  margin-bottom: 1em;                    /* same as p not within ul.compact etc. */
}
/* The tt and code background above interferes with for instance table cell
   backgrounds.  Changed to something a bit more selective. */
tt, code {
  background-color: transparent;
}
p tt, p code, li tt, li code {
  background-color: #f8f8f8;
}
/* Tweak the pre margin -- 0px doesn't come out well */
pre {
   margin-top: 0.5px;
}
/* Tweak the comact list text */
ul.compact, .ulCompact,
ol.compact, .olCompact,
dl.compact, .dlCompact {
  line-height: normal;
}
/* Don't add top margin for nested lists */
li > ul, li > ol, li > dl,
dd > ul, dd > ol, dd > dl,
dl > dd > dl {
  margin-top: initial;
}
/* Elements that should not be rendered on the same line as a <dt> */
/* This should match the element list in writer.text.TextWriter.render_dl() */
dd > div.artwork:first-child,
dd > aside:first-child,
dd > figure:first-child,
dd > ol:first-child,
dd > div:first-child > pre.sourcecode,
dd > table:first-child,
dd > ul:first-child {
  clear: left;
}
/* fix for weird browser behaviour when <dd/> is empty */
dt+dd:empty::before{
  content: "\00a0";
}
/* Make paragraph spacing inside <li> smaller than in body text, to fit better within the list */
li > p {
  margin-bottom: 0.5em
}
/* Don't let p margin spill out from inside list items */
li > p:last-of-type {
  margin-bottom: 0;
}
</style>
<link href="rfc-local.css" rel="stylesheet" type="text/css">
<link href="https://dx.doi.org/10.17487/rfc9314" rel="alternate">
  <link href="urn:issn:2070-1721" rel="alternate">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-bfd-rfc9127-bis-04" rel="prev">
  </head>
<body>
<script src="https://www.rfc-editor.org/js/metadata.min.js"></script>
<table class="ears">
<thead><tr>
<td class="left">RFC 9314</td>
<td class="center">BFD YANG</td>
<td class="right">September 2022</td>
</tr></thead>
<tfoot><tr>
<td class="left">Jethanandani, et al.</td>
<td class="center">Standards Track</td>
<td class="right">[Page]</td>
</tr></tfoot>
</table>
<div id="external-metadata" class="document-information"></div>
<div id="internal-metadata" class="document-information">
<dl id="identifiers">
<dt class="label-stream">Stream:</dt>
<dd class="stream">Internet Engineering Task Force (IETF)</dd>
<dt class="label-rfc">RFC:</dt>
<dd class="rfc"><a href="https://www.rfc-editor.org/rfc/rfc9314" class="eref">9314</a></dd>
<dt class="label-updates">Updates:</dt>
<dd class="updates">
<a href="https://www.rfc-editor.org/rfc/rfc9127" class="eref">9127</a> </dd>
<dt class="label-category">Category:</dt>
<dd class="category">Standards Track</dd>
<dt class="label-published">Published:</dt>
<dd class="published">
<time datetime="2022-09" class="published">September 2022</time>
    </dd>
<dt class="label-issn">ISSN:</dt>
<dd class="issn">2070-1721</dd>
<dt class="label-authors">Authors:</dt>
<dd class="authors">
<div class="author">
      <div class="author-name">M. Jethanandani, <span class="editor">Ed.</span>
</div>
<div class="org">Xoriant Corporation</div>
</div>
<div class="author">
      <div class="author-name">R. Rahman, <span class="editor">Ed.</span>
</div>
</div>
<div class="author">
      <div class="author-name">L. Zheng, <span class="editor">Ed.</span>
</div>
<div class="org">Huawei Technologies</div>
</div>
<div class="author">
      <div class="author-name">S. Pallagatti</div>
<div class="org">VMware</div>
</div>
<div class="author">
      <div class="author-name">G. Mirsky</div>
<div class="org">Ericsson</div>
</div>
</dd>
</dl>
</div>
<h1 id="rfcnum">RFC 9314</h1>
<h1 id="title">YANG Data Model for Bidirectional Forwarding Detection (BFD)</h1>
<section id="section-abstract">
      <h2 id="abstract"><a href="#abstract" class="selfRef">Abstract</a></h2>
<p id="section-abstract-1">This document defines a YANG data model that can be used to configure
      and manage Bidirectional Forwarding Detection (BFD).<a href="#section-abstract-1" class="pilcrow">¶</a></p>
<p id="section-abstract-2">The YANG modules in this document conform to the Network Management
      Datastore Architecture (NMDA) (RFC 8342). This document updates "YANG Data Model for Bidirectional Forwarding Detection (BFD)" (RFC 9127).<a href="#section-abstract-2" class="pilcrow">¶</a></p>
</section>
<div id="status-of-memo">
<section id="section-boilerplate.1">
        <h2 id="name-status-of-this-memo">
<a href="#name-status-of-this-memo" class="section-name selfRef">Status of This Memo</a>
        </h2>
<p id="section-boilerplate.1-1">
            This is an Internet Standards Track document.<a href="#section-boilerplate.1-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.<a href="#section-boilerplate.1-2" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <span><a href="https://www.rfc-editor.org/info/rfc9314">https://www.rfc-editor.org/info/rfc9314</a></span>.<a href="#section-boilerplate.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="copyright">
<section id="section-boilerplate.2">
        <h2 id="name-copyright-notice">
<a href="#name-copyright-notice" class="section-name selfRef">Copyright Notice</a>
        </h2>
<p id="section-boilerplate.2-1">
            Copyright (c) 2022 IETF Trust and the persons identified as the
            document authors. All rights reserved.<a href="#section-boilerplate.2-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<span><a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a></span>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.<a href="#section-boilerplate.2-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="toc">
<section id="section-toc.1">
        <a href="#" onclick="scroll(0,0)" class="toplink">▲</a><h2 id="name-table-of-contents">
<a href="#name-table-of-contents" class="section-name selfRef">Table of Contents</a>
        </h2>
<nav class="toc"><ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.1">
            <p id="section-toc.1-1.1.1" class="keepWithNext"><a href="#section-1" class="xref">1</a>.  <a href="#name-introduction" class="xref">Introduction</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.1.2.1">
                <p id="section-toc.1-1.1.2.1.1" class="keepWithNext"><a href="#section-1.1" class="xref">1.1</a>.  <a href="#name-tree-diagrams" class="xref">Tree Diagrams</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2">
            <p id="section-toc.1-1.2.1"><a href="#section-2" class="xref">2</a>.  <a href="#name-design-of-the-data-model" class="xref">Design of the Data Model</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.1">
                <p id="section-toc.1-1.2.2.1.1"><a href="#section-2.1" class="xref">2.1</a>.  <a href="#name-design-of-the-configuration" class="xref">Design of the Configuration Model</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.1.2.1">
                    <p id="section-toc.1-1.2.2.1.2.1.1" class="keepWithNext"><a href="#section-2.1.1" class="xref">2.1.1</a>.  <a href="#name-common-bfd-configuration-pa" class="xref">Common BFD Configuration Parameters</a></p>
</li>
                  <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.1.2.2">
                    <p id="section-toc.1-1.2.2.1.2.2.1"><a href="#section-2.1.2" class="xref">2.1.2</a>.  <a href="#name-single-hop-ip" class="xref">Single-Hop IP</a></p>
</li>
                  <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.1.2.3">
                    <p id="section-toc.1-1.2.2.1.2.3.1"><a href="#section-2.1.3" class="xref">2.1.3</a>.  <a href="#name-multihop-ip" class="xref">Multihop IP</a></p>
</li>
                  <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.1.2.4">
                    <p id="section-toc.1-1.2.2.1.2.4.1"><a href="#section-2.1.4" class="xref">2.1.4</a>.  <a href="#name-mpls-label-switched-paths" class="xref">MPLS Label Switched Paths</a></p>
</li>
                  <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.1.2.5">
                    <p id="section-toc.1-1.2.2.1.2.5.1"><a href="#section-2.1.5" class="xref">2.1.5</a>.  <a href="#name-link-aggregation-groups" class="xref">Link Aggregation Groups</a></p>
</li>
                </ul>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.2">
                <p id="section-toc.1-1.2.2.2.1"><a href="#section-2.2" class="xref">2.2</a>.  <a href="#name-design-of-the-operational-s" class="xref">Design of the Operational State Model</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.3">
                <p id="section-toc.1-1.2.2.3.1"><a href="#section-2.3" class="xref">2.3</a>.  <a href="#name-notifications" class="xref">Notifications</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.4">
                <p id="section-toc.1-1.2.2.4.1"><a href="#section-2.4" class="xref">2.4</a>.  <a href="#name-rpc-operations" class="xref">RPC Operations</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.5">
                <p id="section-toc.1-1.2.2.5.1"><a href="#section-2.5" class="xref">2.5</a>.  <a href="#name-bfd-top-level-hierarchy" class="xref">BFD Top-Level Hierarchy</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.6">
                <p id="section-toc.1-1.2.2.6.1"><a href="#section-2.6" class="xref">2.6</a>.  <a href="#name-bfd-ip-single-hop-hierarchy" class="xref">BFD IP Single-Hop Hierarchy</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.7">
                <p id="section-toc.1-1.2.2.7.1"><a href="#section-2.7" class="xref">2.7</a>.  <a href="#name-bfd-ip-multihop-hierarchy" class="xref">BFD IP Multihop Hierarchy</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.8">
                <p id="section-toc.1-1.2.2.8.1"><a href="#section-2.8" class="xref">2.8</a>.  <a href="#name-bfd-over-lag-hierarchy" class="xref">BFD-over-LAG Hierarchy</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.9">
                <p id="section-toc.1-1.2.2.9.1"><a href="#section-2.9" class="xref">2.9</a>.  <a href="#name-bfd-over-mpls-lsps-hierarch" class="xref">BFD-over-MPLS-LSPs Hierarchy</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.10">
                <p id="section-toc.1-1.2.2.10.1"><a href="#section-2.10" class="xref">2.10</a>. <a href="#name-interaction-with-other-yang" class="xref">Interaction with Other YANG Modules</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.10.2.1">
                    <p id="section-toc.1-1.2.2.10.2.1.1"><a href="#section-2.10.1" class="xref">2.10.1</a>.  <a href="#name-ietf-interfaces-module" class="xref">"ietf-interfaces" Module</a></p>
</li>
                  <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.10.2.2">
                    <p id="section-toc.1-1.2.2.10.2.2.1"><a href="#section-2.10.2" class="xref">2.10.2</a>.  <a href="#name-ietf-ip-module" class="xref">"ietf-ip" Module</a></p>
</li>
                  <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.10.2.3">
                    <p id="section-toc.1-1.2.2.10.2.3.1"><a href="#section-2.10.3" class="xref">2.10.3</a>.  <a href="#name-ietf-mpls-module" class="xref">"ietf-mpls" Module</a></p>
</li>
                </ul>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.11">
                <p id="section-toc.1-1.2.2.11.1"><a href="#section-2.11" class="xref">2.11</a>. <a href="#name-bfd-types-yang-module" class="xref">BFD Types YANG Module</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.12">
                <p id="section-toc.1-1.2.2.12.1"><a href="#section-2.12" class="xref">2.12</a>. <a href="#name-bfd-top-level-yang-module" class="xref">BFD Top-Level YANG Module</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.13">
                <p id="section-toc.1-1.2.2.13.1"><a href="#section-2.13" class="xref">2.13</a>. <a href="#name-bfd-ip-single-hop-yang-modu" class="xref">BFD IP Single-Hop YANG Module</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.14">
                <p id="section-toc.1-1.2.2.14.1"><a href="#section-2.14" class="xref">2.14</a>. <a href="#name-bfd-ip-multihop-yang-module" class="xref">BFD IP Multihop YANG Module</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.15">
                <p id="section-toc.1-1.2.2.15.1"><a href="#section-2.15" class="xref">2.15</a>. <a href="#name-bfd-over-lag-yang-module" class="xref">BFD-over-LAG YANG Module</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.2.2.16">
                <p id="section-toc.1-1.2.2.16.1"><a href="#section-2.16" class="xref">2.16</a>. <a href="#name-bfd-over-mpls-yang-module" class="xref">BFD-over-MPLS YANG Module</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.3">
            <p id="section-toc.1-1.3.1"><a href="#section-3" class="xref">3</a>.  <a href="#name-data-model-examples" class="xref">Data Model Examples</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.3.2.1">
                <p id="section-toc.1-1.3.2.1.1"><a href="#section-3.1" class="xref">3.1</a>.  <a href="#name-ip-single-hop" class="xref">IP Single-Hop</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.3.2.2">
                <p id="section-toc.1-1.3.2.2.1"><a href="#section-3.2" class="xref">3.2</a>.  <a href="#name-ip-multihop" class="xref">IP Multihop</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.3.2.3">
                <p id="section-toc.1-1.3.2.3.1"><a href="#section-3.3" class="xref">3.3</a>.  <a href="#name-lag" class="xref">LAG</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.3.2.4">
                <p id="section-toc.1-1.3.2.4.1"><a href="#section-3.4" class="xref">3.4</a>.  <a href="#name-mpls" class="xref">MPLS</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.4">
            <p id="section-toc.1-1.4.1"><a href="#section-4" class="xref">4</a>.  <a href="#name-security-considerations" class="xref">Security Considerations</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.5">
            <p id="section-toc.1-1.5.1"><a href="#section-5" class="xref">5</a>.  <a href="#name-iana-considerations" class="xref">IANA Considerations</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.6">
            <p id="section-toc.1-1.6.1"><a href="#section-6" class="xref">6</a>.  <a href="#name-references" class="xref">References</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.6.2.1">
                <p id="section-toc.1-1.6.2.1.1"><a href="#section-6.1" class="xref">6.1</a>.  <a href="#name-normative-references" class="xref">Normative References</a></p>
</li>
              <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.6.2.2">
                <p id="section-toc.1-1.6.2.2.1"><a href="#section-6.2" class="xref">6.2</a>.  <a href="#name-informative-references" class="xref">Informative References</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.7">
            <p id="section-toc.1-1.7.1"><a href="#appendix-A" class="xref">Appendix A</a>.  <a href="#name-echo-function-configuration" class="xref">Echo Function Configuration Example</a></p>
<ul class="compact toc ulBare ulEmpty">
<li class="compact toc ulBare ulEmpty" id="section-toc.1-1.7.2.1">
                <p id="section-toc.1-1.7.2.1.1"><a href="#appendix-A.1" class="xref">A.1</a>.  <a href="#name-example-yang-module-for-bfd" class="xref">Example YANG Module for BFD Echo Function Configuration</a></p>
</li>
            </ul>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.8">
            <p id="section-toc.1-1.8.1"><a href="#appendix-B" class="xref">Appendix B</a>.  <a href="#name-updates-since-rfc-9127" class="xref">Updates since RFC 9127</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.9">
            <p id="section-toc.1-1.9.1"><a href="#appendix-C" class="xref"></a><a href="#name-acknowledgments" class="xref">Acknowledgments</a></p>
</li>
          <li class="compact toc ulBare ulEmpty" id="section-toc.1-1.10">
            <p id="section-toc.1-1.10.1"><a href="#appendix-D" class="xref"></a><a href="#name-authors-addresses" class="xref">Authors' Addresses</a></p>
</li>
        </ul>
</nav>
</section>
</div>
<section id="section-1">
      <h2 id="name-introduction">
<a href="#section-1" class="section-number selfRef">1. </a><a href="#name-introduction" class="section-name selfRef">Introduction</a>
      </h2>
<p id="section-1-1">This document defines a YANG data model that can be used to configure 
      and manage Bidirectional Forwarding Detection (BFD) <span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span>. BFD is a network protocol that is used
      for liveness detection of arbitrary paths between systems. Some examples
      of different types of paths over which we have BFD are as follows:<a href="#section-1-1" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-1-2">
      <li id="section-1-2.1">Two systems directly connected via IP. This is known as BFD over
      single-hop IP, which is also known as <span><a href="#RFC5881" class="xref">BFD for
      IPv4 and IPv6</a> [<a href="#RFC5881" class="xref">RFC5881</a>]</span>.<a href="#section-1-2.1" class="pilcrow">¶</a>
</li>
        <li id="section-1-2.2">Two systems connected via multiple hops as described in <span><a href="#RFC5883" class="xref">"Bidirectional Forwarding Detection
      (BFD) for Multihop Paths"</a> [<a href="#RFC5883" class="xref">RFC5883</a>]</span>.<a href="#section-1-2.2" class="pilcrow">¶</a>
</li>
        <li id="section-1-2.3">Two systems connected via MPLS Label Switched Paths (LSPs) as
      described in <span><a href="#RFC5884" class="xref">"Bidirectional
      Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs)"</a> [<a href="#RFC5884" class="xref">RFC5884</a>]</span>.<a href="#section-1-2.3" class="pilcrow">¶</a>
</li>
        <li id="section-1-2.4">Two systems connected via a Link Aggregation Group (LAG) interface
      as described in <span><a href="#RFC7130" class="xref">"Bidirectional
      Forwarding Detection (BFD) on Link Aggregation Group (LAG) Interfaces"</a> [<a href="#RFC7130" class="xref">RFC7130</a>]</span>.<a href="#section-1-2.4" class="pilcrow">¶</a>
</li>
        <li id="section-1-2.5">Two systems connected via pseudowires (PWs). This is known as
      Virtual Circuit Connectivity Verification (VCCV) as described in <span><a href="#RFC5885" class="xref">"Bidirectional
      Forwarding Detection (BFD) for the Pseudowire Virtual
      Circuit Connectivity Verification (VCCV)"</a> [<a href="#RFC5885" class="xref">RFC5885</a>]</span>. This scenario is not
      addressed in this document.<a href="#section-1-2.5" class="pilcrow">¶</a>
</li>
      </ol>
<p id="section-1-3">BFD typically does not operate on its own. Various control protocols,
      also known as BFD clients, use the services provided by BFD for their
      own operation, as described in <span><a href="#RFC5882" class="xref">"Generic Application of Bidirectional Forwarding
      Detection (BFD)"</a> [<a href="#RFC5882" class="xref">RFC5882</a>]</span>. The obvious
      candidates that use BFD are those that do not have "hellos" to detect
      failures, e.g., static routes, and routing protocols whose "hellos" do
      not support sub-second failure detection, e.g., OSPF and IS-IS.<a href="#section-1-3" class="pilcrow">¶</a></p>
<p id="section-1-4">The YANG modules in this document conform to the <span><a href="#RFC8342" class="xref">Network Management Datastore
      Architecture (NMDA)</a> [<a href="#RFC8342" class="xref">RFC8342</a>]</span>. This means that the data models do not have
      separate top-level or sibling containers for configuration data and
      operational state data.<a href="#section-1-4" class="pilcrow">¶</a></p>
<section id="section-1.1">
        <h3 id="name-tree-diagrams">
<a href="#section-1.1" class="section-number selfRef">1.1. </a><a href="#name-tree-diagrams" class="section-name selfRef">Tree Diagrams</a>
        </h3>
<p id="section-1.1-1">This document uses the graphical representation of data models, as defined in
            <span>[<a href="#RFC8340" class="xref">RFC8340</a>]</span>.<a href="#section-1.1-1" class="pilcrow">¶</a></p>
</section>
</section>
<div id="DESIGN-DATA">
<section id="section-2">
      <h2 id="name-design-of-the-data-model">
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-design-of-the-data-model" class="section-name selfRef">Design of the Data Model</a>
      </h2>
<p id="section-2-1">Since BFD is used for liveness detection of various forwarding
      paths, there is no uniform key to identify a BFD session.  Therefore, the BFD
      data model is split into multiple YANG modules where each module
      corresponds to one type of forwarding path. For example, BFD for IP
      single-hop is in one YANG module, and BFD for MPLS is in another YANG
      module. The main difference between these modules is how a BFD session
      is uniquely identified, i.e., the key for the list containing the BFD
      sessions for that forwarding path. To avoid duplication of BFD
      definitions, we have common types and groupings that are used by all
      the modules.<a href="#section-2-1" class="pilcrow">¶</a></p>
<p id="section-2-2">A new control plane protocol, "bfdv1", is defined, and a "bfd" container
      is created under "control-plane-protocol" as specified in <span><a href="#RFC8349" class="xref">"A YANG Data Model for Routing
      Management (NMDA Version)"</a> [<a href="#RFC8349" class="xref">RFC8349</a>]</span>. This new "bfd" container is augmented
      by the following YANG modules for their respective specific information:<a href="#section-2-2" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-2-3">
        <li id="section-2-3.1">The "ietf-bfd-ip-sh" module (<a href="#bfd-ip-single-hop-module" class="xref">Section 2.13</a>) augments
          "/routing/control-plane-protocols/control-plane-protocol/bfd/" with
          the "ip-sh" container for BFD sessions over IP single-hop.<a href="#section-2-3.1" class="pilcrow">¶</a>
</li>
        <li id="section-2-3.2">The "ietf-bfd-ip-mh" module (<a href="#bfd-ip-multihop-module" class="xref">Section 2.14</a>) augments
          "/routing/control-plane-protocols/control-plane-protocol/bfd/" with
          the "ip-mh" container for BFD sessions over IP multihop.<a href="#section-2-3.2" class="pilcrow">¶</a>
</li>
        <li id="section-2-3.3">The "ietf-bfd-lag" module (<a href="#bfd-over-lag-module" class="xref">Section 2.15</a>) augments
          "/routing/control-plane-protocols/control-plane-protocol/bfd/" with
          the "lag" container for BFD sessions over a LAG.<a href="#section-2-3.3" class="pilcrow">¶</a>
</li>
        <li id="section-2-3.4">The "ietf-bfd-mpls" module (<a href="#bfd-over-mpls-module" class="xref">Section 2.16</a>) augments
          "/routing/control-plane-protocols/control-plane-protocol/bfd/" with
          the "mpls" container for BFD-over-MPLS LSPs.<a href="#section-2-3.4" class="pilcrow">¶</a>
</li>
      </ol>
<p id="section-2-4">BFD can operate in the following contexts:<a href="#section-2-4" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-2-5">
        <li id="section-2-5.1">At the network-device level.<a href="#section-2-5.1" class="pilcrow">¶</a>
</li>
        <li id="section-2-5.2">In logical network elements (LNEs) as described in <span><a href="#RFC8530" class="xref">"YANG Model for Logical Network Elements"</a> [<a href="#RFC8530" class="xref">RFC8530</a>]</span>.<a href="#section-2-5.2" class="pilcrow">¶</a>
</li>
        <li id="section-2-5.3">In network instances as described in <span><a href="#RFC8529" class="xref">"YANG Data Model for Network Instances"</a> [<a href="#RFC8529" class="xref">RFC8529</a>]</span>.<a href="#section-2-5.3" class="pilcrow">¶</a>
</li>
      </ol>
<p id="section-2-6"> When used at the network device level, the BFD YANG data model is
        used "as is". When the BFD YANG data model is used in an LNE or network instance, the BFD YANG data model augments
        the mounted routing model for the LNE or network instance.<a href="#section-2-6" class="pilcrow">¶</a></p>
<div id="CFG-MODEL">
<section id="section-2.1">
        <h3 id="name-design-of-the-configuration">
<a href="#section-2.1" class="section-number selfRef">2.1. </a><a href="#name-design-of-the-configuration" class="section-name selfRef">Design of the Configuration Model</a>
        </h3>
<p id="section-2.1-1">The configuration model consists mainly of the parameters specified
        in <span><a href="#RFC5880" class="xref">BFD</a> [<a href="#RFC5880" class="xref">RFC5880</a>]</span> -- for example, desired
        minimum transmit interval, required minimum receive interval, and
        detection multiplier.<a href="#section-2.1-1" class="pilcrow">¶</a></p>
<p id="section-2.1-2">BFD clients are applications that use BFD for fast detection of
        failures. Some implementations have BFD session configuration under
        the BFD clients -- for example, BFD session configuration under routing
        applications such as OSPF, IS-IS, or BGP. Other implementations have
        BFD session configuration centralized under BFD, i.e., outside the
        multiple BFD clients.<a href="#section-2.1-2" class="pilcrow">¶</a></p>
<p id="section-2.1-3">The main BFD parameters of interest to a BFD client are those
        related to the
        multiplier and interval(s), since those parameters impact the
        convergence time of the BFD clients when a failure occurs. Other
        parameters, such as BFD authentication, are not specific to the
        requirements of the BFD client. Configuration of BFD for all
        clients should be centralized. However, this is a problem for BFD clients
        that auto-discover their peers. For example, IGPs do not have the
        peer address configured; instead, the IGP is enabled on an interface,
        and the IGP peers are auto-discovered. So, for an operator to configure
        BFD to an IGP peer, the operator would first have to determine the
        peer addresses. And when a new peer is discovered, BFD configuration
        would need to be added. To avoid this issue, we define the grouping
        "client-cfg-parms" in <a href="#BFD-TYPES" class="xref">Section 2.11</a> for BFD clients to
        configure BFD: this allows BFD clients, such as the IGPs, to have
        configuration (multiplier and intervals) for the BFD sessions they
        need. For example, when a new IGP peer is discovered, the IGP would
        create a BFD session to the newly discovered peer; similarly, when
        an IGP peer goes away, the IGP would remove the BFD session to that
        peer. The mechanism for how the BFD sessions are created and removed by
        the BFD clients is outside the scope of this document, but
        this would typically be done by using an API implemented by the BFD module on
        the system. In the case of BFD clients that create BFD sessions via their own
        configuration, authentication parameters (if required) are still
        specified in BFD.<a href="#section-2.1-3" class="pilcrow">¶</a></p>
<div id="BFD-COMMON-CFG">
<section id="section-2.1.1">
          <h4 id="name-common-bfd-configuration-pa">
<a href="#section-2.1.1" class="section-number selfRef">2.1.1. </a><a href="#name-common-bfd-configuration-pa" class="section-name selfRef">Common BFD Configuration Parameters</a>
          </h4>
<p id="section-2.1.1-1">The basic BFD configuration parameters are as follows:<a href="#section-2.1.1-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-2.1.1-2">
            <dt id="section-2.1.1-2.1">local-multiplier</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.1-2.2">This is the detection time multiplier as defined in <span><a href="#RFC5880" class="xref">BFD</a> [<a href="#RFC5880" class="xref">RFC5880</a>]</span>.<a href="#section-2.1.1-2.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-2.1.1-2.3">desired-min-tx-interval</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.1-2.4">This is the Desired Min TX Interval as defined in <span><a href="#RFC5880" class="xref">BFD</a> [<a href="#RFC5880" class="xref">RFC5880</a>]</span>.<a href="#section-2.1.1-2.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-2.1.1-2.5">required-min-rx-interval</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.1-2.6">This is the Required Min RX Interval as defined in <span><a href="#RFC5880" class="xref">BFD</a> [<a href="#RFC5880" class="xref">RFC5880</a>]</span>.<a href="#section-2.1.1-2.6" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
<p id="section-2.1.1-3">Although <span><a href="#RFC5880" class="xref">BFD</a> [<a href="#RFC5880" class="xref">RFC5880</a>]</span>
          allows for different values for transmit and receive intervals, some 
          implementations allow users to specify just one interval that is
          used for both transmit and receive intervals, or separate values for
          transmit and receive intervals. The BFD YANG data model supports this:
          there is a choice between "min-interval", used for both transmit and
          receive intervals, and "desired-min-tx-interval" and
          "required-min-rx-interval". This is supported via the
          "base-cfg-parms" grouping (<a href="#BFD-TYPES" class="xref">Section 2.11</a>), which
          is used by the YANG modules for the various forwarding paths.<a href="#section-2.1.1-3" class="pilcrow">¶</a></p>
<p id="section-2.1.1-4">For BFD authentication, we have the following:<a href="#section-2.1.1-4" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-2.1.1-5">
            <dt id="section-2.1.1-5.1">key-chain</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.1-5.2">This is a reference to "key-chain" as defined in <span><a href="#RFC8177" class="xref">"YANG Data Model for Key
            Chains"</a> [<a href="#RFC8177" class="xref">RFC8177</a>]</span>. The keys, cryptographic algorithms, key lifetime,
            etc. are all defined in the "key-chain" model.<a href="#section-2.1.1-5.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-2.1.1-5.3">meticulous</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.1-5.4">This enables a meticulous mode as per <span><a href="#RFC5880" class="xref">BFD</a> [<a href="#RFC5880" class="xref">RFC5880</a>]</span>.<a href="#section-2.1.1-5.4" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</div>
<div id="IP-SH-CFG">
<section id="section-2.1.2">
          <h4 id="name-single-hop-ip">
<a href="#section-2.1.2" class="section-number selfRef">2.1.2. </a><a href="#name-single-hop-ip" class="section-name selfRef">Single-Hop IP</a>
          </h4>
<p id="section-2.1.2-1">For single-hop IP, there is an augment of the "bfd" data node, as
          described in 
          <a href="#DESIGN-DATA" class="xref">Section 2</a>. The "ip-sh" node
          contains a list of IP single-hop sessions where each session is
          uniquely identified by the interface and destination address
          pair. We use the configuration parameters defined in
          <a href="#BFD-COMMON-CFG" class="xref">Section 2.1.1</a>. The "ip-sh" node
          also contains a list of interfaces and is used to specify
          authentication parameters for BFD sessions that are created by BFD
          clients. See <a href="#CFG-MODEL" class="xref">Section 2.1</a>.<a href="#section-2.1.2-1" class="pilcrow">¶</a></p>
<p id="section-2.1.2-2"><span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span> and <span>[<a href="#RFC5881" class="xref">RFC5881</a>]</span> do not specify whether
          the Echo function operates continuously or on demand. Therefore, the mechanism used to
          start and stop the Echo function is implementation specific and should
          be done by augmentation:<a href="#section-2.1.2-2" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-2.1.2-3">
            <li id="section-2.1.2-3.1">Configuration. This is suitable for an Echo function that
            operates continuously. An example is provided in <a href="#ECHO-CONFIG" class="xref">Appendix A</a>.<a href="#section-2.1.2-3.1" class="pilcrow">¶</a>
</li>
            <li id="section-2.1.2-3.2">RPC. This is suitable for an Echo function that operates 
            on demand.<a href="#section-2.1.2-3.2" class="pilcrow">¶</a>
</li>
          </ol>
</section>
</div>
<section id="section-2.1.3">
          <h4 id="name-multihop-ip">
<a href="#section-2.1.3" class="section-number selfRef">2.1.3. </a><a href="#name-multihop-ip" class="section-name selfRef">Multihop IP</a>
          </h4>
<p id="section-2.1.3-1">For multihop IP, there is an augment of the "bfd" data node, as described in
          <a href="#DESIGN-DATA" class="xref">Section 2</a>.<a href="#section-2.1.3-1" class="pilcrow">¶</a></p>
<p id="section-2.1.3-2">Because of multiple paths, there could be multiple multihop IP
          sessions between a source and a destination address. We identify
          this set of sessions as a "session-group". The key for each "session-group" consists
          of the following:<a href="#section-2.1.3-2" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-2.1.3-3">
            <dt id="section-2.1.3-3.1">Source address</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.3-3.2">Address belonging to the local system as per <span><a href="#RFC5883" class="xref">"Bidirectional Forwarding
            Detection (BFD) for Multihop Paths"</a> [<a href="#RFC5883" class="xref">RFC5883</a>]</span>.<a href="#section-2.1.3-3.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-2.1.3-3.3">Destination address</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.3-3.4">Address belonging to the remote system as per <span>[<a href="#RFC5883" class="xref">RFC5883</a>]</span>.<a href="#section-2.1.3-3.4" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
<p id="section-2.1.3-4">We use the configuration parameters defined in <a href="#BFD-COMMON-CFG" class="xref">Section 2.1.1</a>.<a href="#section-2.1.3-4" class="pilcrow">¶</a></p>
<p id="section-2.1.3-5">This document also provides the following parameters:<a href="#section-2.1.3-5" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-2.1.3-6">
            <dt id="section-2.1.3-6.1">tx-ttl</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.3-6.2">TTL of outgoing BFD control packets.<a href="#section-2.1.3-6.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-2.1.3-6.3">rx-ttl</dt>
            <dd style="margin-left: 1.5em" id="section-2.1.3-6.4">Minimum TTL of incoming BFD control packets.<a href="#section-2.1.3-6.4" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
<section id="section-2.1.4">
          <h4 id="name-mpls-label-switched-paths">
<a href="#section-2.1.4" class="section-number selfRef">2.1.4. </a><a href="#name-mpls-label-switched-paths" class="section-name selfRef">MPLS Label Switched Paths</a>
          </h4>
<p id="section-2.1.4-1">Here, we address MPLS LSPs whose 
          Forwarding Equivalence Class (FEC) <span>[<a href="#RFC3031" class="xref">RFC3031</a>]</span> is an IP
          address. The "bfd"
          node (<a href="#DESIGN-DATA" class="xref">Section 2</a>) is augmented
          with "mpls", which contains a list of sessions uniquely identified by
          an IP prefix. Because of multiple paths, there could be multiple
          MPLS sessions to an MPLS FEC. We identify this set of sessions as a
          "session-group".<a href="#section-2.1.4-1" class="pilcrow">¶</a></p>
<p id="section-2.1.4-2">Since these LSPs are unidirectional, there is no LSP
          configuration on the egress node.<a href="#section-2.1.4-2" class="pilcrow">¶</a></p>
<p id="section-2.1.4-3">The BFD parameters for the egress node are added under
          "mpls".<a href="#section-2.1.4-3" class="pilcrow">¶</a></p>
</section>
<section id="section-2.1.5">
          <h4 id="name-link-aggregation-groups">
<a href="#section-2.1.5" class="section-number selfRef">2.1.5. </a><a href="#name-link-aggregation-groups" class="section-name selfRef">Link Aggregation Groups</a>
          </h4>
<p id="section-2.1.5-1">Per <span><a href="#RFC7130" class="xref">"Bidirectional
          Forwarding Detection (BFD) on Link Aggregation Group (LAG)
          Interfaces"</a> [<a href="#RFC7130" class="xref">RFC7130</a>]</span>, configuring BFD on a LAG consists of having micro-BFD
          sessions on each LAG member link. Since the BFD parameters are an
          attribute of the LAG, they should be under the LAG. However, there is
          no LAG YANG data model that we can augment. So, a "lag" data node is
          added to the "bfd" node; see <a href="#DESIGN-DATA" class="xref">Section 2</a>. The configuration is per LAG: we have a list of
          LAGs. The destination IP address of the micro-BFD sessions is
          configured per LAG and per address family (IPv4 and IPv6).<a href="#section-2.1.5-1" class="pilcrow">¶</a></p>
</section>
</section>
</div>
<section id="section-2.2">
        <h3 id="name-design-of-the-operational-s">
<a href="#section-2.2" class="section-number selfRef">2.2. </a><a href="#name-design-of-the-operational-s" class="section-name selfRef">Design of the Operational State Model</a>
        </h3>
<p id="section-2.2-1">The operational state model contains both the overall statistics for
        the BFD sessions running on the device and the per-session operational
        information.<a href="#section-2.2-1" class="pilcrow">¶</a></p>
<p id="section-2.2-2">The overall statistics for the BFD sessions consist of the number of BFD
        sessions, the number of BFD sessions that are up, etc. This information is available
        globally (i.e., for all BFD sessions) under the "bfd" node 
        (<a href="#DESIGN-DATA" class="xref">Section 2</a>) and also per type of
        forwarding path.<a href="#section-2.2-2" class="pilcrow">¶</a></p>
<p id="section-2.2-3">For each BFD session, three main categories of operational state
        data are shown.<a href="#section-2.2-3" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-2.2-4">
       <li id="section-2.2-4.1">The first category includes fundamental information regarding a BFD session, such as
        the local discriminator, the remote discriminator, and the ability to
        support Demand mode.<a href="#section-2.2-4.1" class="pilcrow">¶</a>
</li>
          <li id="section-2.2-4.2">The
        second category includes BFD "session-running" information, e.g., the
        remote BFD state and the diagnostic code received. Another example is
        the actual transmit interval between the control packets, which may be
        different from the configured desired minimum transmit
        interval. Similar examples include the actual receive interval
        between the control packets and the actual transmit interval between
        the Echo packets.<a href="#section-2.2-4.2" class="pilcrow">¶</a>
</li>
          <li id="section-2.2-4.3"> The third category contains the detailed statistics
        for the session, e.g., when the session transitioned up/down and how
        long it has been in that state.<a href="#section-2.2-4.3" class="pilcrow">¶</a>
</li>
        </ol>
<p id="section-2.2-5">For some path types, there may be more than one session on the
        virtual path to the destination. For example, with IP multihop and
        MPLS LSPs, there could be multiple BFD sessions from the source to the
        same destination to test the various paths (ECMP) to the destination.
        This is represented by having multiple "sessions" under each
        "session-group".<a href="#section-2.2-5" class="pilcrow">¶</a></p>
</section>
<section id="section-2.3">
        <h3 id="name-notifications">
<a href="#section-2.3" class="section-number selfRef">2.3. </a><a href="#name-notifications" class="section-name selfRef">Notifications</a>
        </h3>
<p id="section-2.3-1">This YANG data model defines notifications to inform end users of
        important events detected during the protocol operation. The
        local discriminator identifies the corresponding BFD session on the
        local system, and the remote discriminator identifies the BFD session
        on the remote system.
        Notifications also give more important details about BFD sessions,
        e.g., new state, time in previous state, network instance, and the
        reason that the BFD session state changed. The notifications are
        defined for each type of forwarding path but use groupings for common
        information.<a href="#section-2.3-1" class="pilcrow">¶</a></p>
</section>
<section id="section-2.4">
        <h3 id="name-rpc-operations">
<a href="#section-2.4" class="section-number selfRef">2.4. </a><a href="#name-rpc-operations" class="section-name selfRef">RPC Operations</a>
        </h3>
<p id="section-2.4-1">None.<a href="#section-2.4-1" class="pilcrow">¶</a></p>
</section>
<section id="section-2.5">
        <h3 id="name-bfd-top-level-hierarchy">
<a href="#section-2.5" class="section-number selfRef">2.5. </a><a href="#name-bfd-top-level-hierarchy" class="section-name selfRef">BFD Top-Level Hierarchy</a>
        </h3>
<p id="section-2.5-1">At the "bfd" node under "control-plane-protocol", there is no
        configuration data -- only operational state data. The operational state 
        data consists of overall BFD session statistics, i.e., for BFD on all
        types of forwarding paths.<a href="#section-2.5-1" class="pilcrow">¶</a></p>
<div id="section-2.5-2">
<pre class="lang-yangtree sourcecode">
module: ietf-bfd
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol:
    +--rw bfd
       +--ro summary
          +--ro number-of-sessions?              yang:gauge32
          +--ro number-of-sessions-up?           yang:gauge32
          +--ro number-of-sessions-down?         yang:gauge32
          +--ro number-of-sessions-admin-down?   yang:gauge32
</pre><a href="#section-2.5-2" class="pilcrow">¶</a>
</div>
</section>
<section id="section-2.6">
        <h3 id="name-bfd-ip-single-hop-hierarchy">
<a href="#section-2.6" class="section-number selfRef">2.6. </a><a href="#name-bfd-ip-single-hop-hierarchy" class="section-name selfRef">BFD IP Single-Hop Hierarchy</a>
        </h3>
<p id="section-2.6-1">An "ip-sh" node is added under the "bfd" node in
        "control-plane-protocol". The configuration data and operational state data
        for each BFD IP single-hop session are under this "ip-sh" node.<a href="#section-2.6-1" class="pilcrow">¶</a></p>
<div id="section-2.6-2">
<pre class="breakable lang-yangtree sourcecode">
module: ietf-bfd-ip-sh
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd:
    +--rw ip-sh
       +--ro summary
       |  +--ro number-of-sessions?              yang:gauge32
       |  +--ro number-of-sessions-up?           yang:gauge32
       |  +--ro number-of-sessions-down?         yang:gauge32
       |  +--ro number-of-sessions-admin-down?   yang:gauge32
       +--rw sessions
       |  +--rw session* [interface dest-addr]
       |     +--rw interface                         if:interface-ref
       |     +--rw dest-addr                         inet:ip-address
       |     +--rw source-addr?                      inet:ip-address
       |     +--rw local-multiplier?                 multiplier
       |     +--rw (interval-config-type)?
       |     |  +--:(tx-rx-intervals)
       |     |  |  +--rw desired-min-tx-interval?    uint32
       |     |  |  +--rw required-min-rx-interval?   uint32
       |     |  +--:(single-interval) {single-minimum-interval}?
       |     |     +--rw min-interval?               uint32
       |     +--rw demand-enabled?                   boolean
       |     |       {demand-mode}?
       |     +--rw admin-down?                       boolean
       |     +--rw authentication! {authentication}?
       |     |  +--rw key-chain?    key-chain:key-chain-ref
       |     |  +--rw meticulous?   boolean
       |     +--ro path-type?                        identityref
       |     +--ro ip-encapsulation?                 boolean
       |     +--ro local-discriminator?              discriminator
       |     +--ro remote-discriminator?             discriminator
       |     +--ro remote-multiplier?                multiplier
       |     +--ro demand-capability?                boolean
       |     |       {demand-mode}?
       |     +--ro source-port?                      inet:port-number
       |     +--ro dest-port?                        inet:port-number
       |     +--ro session-running
       |     |  +--ro session-index?                uint32
       |     |  +--ro local-state?                  state
       |     |  +--ro remote-state?                 state
       |     |  +--ro local-diagnostic?
       |     |  |       iana-bfd-types:diagnostic
       |     |  +--ro remote-diagnostic?
       |     |  |       iana-bfd-types:diagnostic
       |     |  +--ro remote-authenticated?         boolean
       |     |  +--ro remote-authentication-type?
       |     |  |       iana-bfd-types:auth-type {authentication}?
       |     |  +--ro detection-mode?               enumeration
       |     |  +--ro negotiated-tx-interval?       uint32
       |     |  +--ro negotiated-rx-interval?       uint32
       |     |  +--ro detection-time?               uint32
       |     |  +--ro echo-tx-interval-in-use?      uint32
       |     |          {echo-mode}?
       |     +--ro session-statistics
       |        +--ro create-time?
       |        |       yang:date-and-time
       |        +--ro last-down-time?
       |        |       yang:date-and-time
       |        +--ro last-up-time?
       |        |       yang:date-and-time
       |        +--ro down-count?                     yang:counter32
       |        +--ro admin-down-count?               yang:counter32
       |        +--ro receive-packet-count?           yang:counter64
       |        +--ro send-packet-count?              yang:counter64
       |        +--ro receive-invalid-packet-count?   yang:counter64
       |        +--ro send-failed-packet-count?       yang:counter64
       +--rw interfaces* [interface]
          +--rw interface         if:interface-ref
          +--rw authentication! {authentication}?
             +--rw key-chain?    key-chain:key-chain-ref
             +--rw meticulous?   boolean

  notifications:
    +---n singlehop-notification
       +--ro local-discr?                 discriminator
       +--ro remote-discr?                discriminator
       +--ro new-state?                   state
       +--ro state-change-reason?         iana-bfd-types:diagnostic
       +--ro time-of-last-state-change?   yang:date-and-time
       +--ro dest-addr?                   inet:ip-address
       +--ro source-addr?                 inet:ip-address
       +--ro session-index?               uint32
       +--ro path-type?                   identityref
       +--ro interface?                   if:interface-ref
       +--ro echo-enabled?                boolean
</pre><a href="#section-2.6-2" class="pilcrow">¶</a>
</div>
</section>
<section id="section-2.7">
        <h3 id="name-bfd-ip-multihop-hierarchy">
<a href="#section-2.7" class="section-number selfRef">2.7. </a><a href="#name-bfd-ip-multihop-hierarchy" class="section-name selfRef">BFD IP Multihop Hierarchy</a>
        </h3>
<p id="section-2.7-1">An "ip-mh" node is added under the "bfd" node in
        "control-plane-protocol". The configuration data and operational state data
        for each BFD IP multihop session are under this "ip-mh" node. In the
        operational state model, we support multiple BFD multihop sessions per
        remote address (ECMP); the local discriminator is used as the key.<a href="#section-2.7-1" class="pilcrow">¶</a></p>
<div id="section-2.7-2">
<pre class="breakable lang-yangtree sourcecode">
module: ietf-bfd-ip-mh
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd:
    +--rw ip-mh
       +--ro summary
       |  +--ro number-of-sessions?              yang:gauge32
       |  +--ro number-of-sessions-up?           yang:gauge32
       |  +--ro number-of-sessions-down?         yang:gauge32
       |  +--ro number-of-sessions-admin-down?   yang:gauge32
       +--rw session-groups
          +--rw session-group* [source-addr dest-addr]
             +--rw source-addr                       inet:ip-address
             +--rw dest-addr                         inet:ip-address
             +--rw local-multiplier?                 multiplier
             +--rw (interval-config-type)?
             |  +--:(tx-rx-intervals)
             |  |  +--rw desired-min-tx-interval?    uint32
             |  |  +--rw required-min-rx-interval?   uint32
             |  +--:(single-interval) {single-minimum-interval}?
             |     +--rw min-interval?               uint32
             +--rw demand-enabled?                   boolean
             |       {demand-mode}?
             +--rw admin-down?                       boolean
             +--rw authentication! {authentication}?
             |  +--rw key-chain?    key-chain:key-chain-ref
             |  +--rw meticulous?   boolean
             +--rw tx-ttl?                           bfd-types:hops
             +--rw rx-ttl                            bfd-types:hops
             +--ro sessions* []
                +--ro path-type?              identityref
                +--ro ip-encapsulation?       boolean
                +--ro local-discriminator?    discriminator
                +--ro remote-discriminator?   discriminator
                +--ro remote-multiplier?      multiplier
                +--ro demand-capability?      boolean {demand-mode}?
                +--ro source-port?            inet:port-number
                +--ro dest-port?              inet:port-number
                +--ro session-running
                |  +--ro session-index?                uint32
                |  +--ro local-state?                  state
                |  +--ro remote-state?                 state
                |  +--ro local-diagnostic?
                |  |       iana-bfd-types:diagnostic
                |  +--ro remote-diagnostic?
                |  |       iana-bfd-types:diagnostic
                |  +--ro remote-authenticated?         boolean
                |  +--ro remote-authentication-type?
                |  |       iana-bfd-types:auth-type {authentication}?
                |  +--ro detection-mode?               enumeration
                |  +--ro negotiated-tx-interval?       uint32
                |  +--ro negotiated-rx-interval?       uint32
                |  +--ro detection-time?               uint32
                |  +--ro echo-tx-interval-in-use?      uint32
                |          {echo-mode}?
                +--ro session-statistics
                   +--ro create-time?
                   |       yang:date-and-time
                   +--ro last-down-time?
                   |       yang:date-and-time
                   +--ro last-up-time?
                   |       yang:date-and-time
                   +--ro down-count?
                   |       yang:counter32
                   +--ro admin-down-count?
                   |       yang:counter32
                   +--ro receive-packet-count?
                   |       yang:counter64
                   +--ro send-packet-count?
                   |       yang:counter64
                   +--ro receive-invalid-packet-count?
                   |       yang:counter64
                   +--ro send-failed-packet-count?
                           yang:counter64

  notifications:
    +---n multihop-notification
       +--ro local-discr?                 discriminator
       +--ro remote-discr?                discriminator
       +--ro new-state?                   state
       +--ro state-change-reason?         iana-bfd-types:diagnostic
       +--ro time-of-last-state-change?   yang:date-and-time
       +--ro dest-addr?                   inet:ip-address
       +--ro source-addr?                 inet:ip-address
       +--ro session-index?               uint32
       +--ro path-type?                   identityref
</pre><a href="#section-2.7-2" class="pilcrow">¶</a>
</div>
</section>
<section id="section-2.8">
        <h3 id="name-bfd-over-lag-hierarchy">
<a href="#section-2.8" class="section-number selfRef">2.8. </a><a href="#name-bfd-over-lag-hierarchy" class="section-name selfRef">BFD-over-LAG Hierarchy</a>
        </h3>
<p id="section-2.8-1">A "lag" node is added under the "bfd" node in
        "control-plane-protocol". The configuration data and operational state data
        for each BFD LAG session are under this "lag" node.<a href="#section-2.8-1" class="pilcrow">¶</a></p>
<div id="section-2.8-2">
<pre class="breakable lang-yangtree sourcecode">
module: ietf-bfd-lag
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd:
    +--rw lag
       +--rw micro-bfd-ipv4-session-statistics
       |  +--ro summary
       |     +--ro number-of-sessions?              yang:gauge32
       |     +--ro number-of-sessions-up?           yang:gauge32
       |     +--ro number-of-sessions-down?         yang:gauge32
       |     +--ro number-of-sessions-admin-down?   yang:gauge32
       +--rw micro-bfd-ipv6-session-statistics
       |  +--ro summary
       |     +--ro number-of-sessions?              yang:gauge32
       |     +--ro number-of-sessions-up?           yang:gauge32
       |     +--ro number-of-sessions-down?         yang:gauge32
       |     +--ro number-of-sessions-admin-down?   yang:gauge32
       +--rw sessions
          +--rw session* [lag-name]
             +--rw lag-name                          if:interface-ref
             +--rw ipv4-dest-addr?
             |       inet:ipv4-address
             +--rw ipv6-dest-addr?
             |       inet:ipv6-address
             +--rw local-multiplier?                 multiplier
             +--rw (interval-config-type)?
             |  +--:(tx-rx-intervals)
             |  |  +--rw desired-min-tx-interval?    uint32
             |  |  +--rw required-min-rx-interval?   uint32
             |  +--:(single-interval) {single-minimum-interval}?
             |     +--rw min-interval?               uint32
             +--rw demand-enabled?                   boolean
             |       {demand-mode}?
             +--rw admin-down?                       boolean
             +--rw authentication! {authentication}?
             |  +--rw key-chain?    key-chain:key-chain-ref
             |  +--rw meticulous?   boolean
             +--rw use-ipv4?                         boolean
             +--rw use-ipv6?                         boolean
             +--ro member-links* [member-link]
                +--ro member-link       if:interface-ref
                +--ro micro-bfd-ipv4
                |  +--ro path-type?              identityref
                |  +--ro ip-encapsulation?       boolean
                |  +--ro local-discriminator?    discriminator
                |  +--ro remote-discriminator?   discriminator
                |  +--ro remote-multiplier?      multiplier
                |  +--ro demand-capability?      boolean
                |  |       {demand-mode}?
                |  +--ro source-port?            inet:port-number
                |  +--ro dest-port?              inet:port-number
                |  +--ro session-running
                |  |  +--ro session-index?                uint32
                |  |  +--ro local-state?                  state
                |  |  +--ro remote-state?                 state
                |  |  +--ro local-diagnostic?
                |  |  |       iana-bfd-types:diagnostic
                |  |  +--ro remote-diagnostic?
                |  |  |       iana-bfd-types:diagnostic
                |  |  +--ro remote-authenticated?         boolean
                |  |  +--ro remote-authentication-type?
                |  |  |       iana-bfd-types:auth-type
                |  |  |       {authentication}?
                |  |  +--ro detection-mode?               enumeration
                |  |  +--ro negotiated-tx-interval?       uint32
                |  |  +--ro negotiated-rx-interval?       uint32
                |  |  +--ro detection-time?               uint32
                |  |  +--ro echo-tx-interval-in-use?      uint32
                |  |          {echo-mode}?
                |  +--ro session-statistics
                |     +--ro create-time?
                |     |       yang:date-and-time
                |     +--ro last-down-time?
                |     |       yang:date-and-time
                |     +--ro last-up-time?
                |     |       yang:date-and-time
                |     +--ro down-count?
                |     |       yang:counter32
                |     +--ro admin-down-count?
                |     |       yang:counter32
                |     +--ro receive-packet-count?
                |     |       yang:counter64
                |     +--ro send-packet-count?
                |     |       yang:counter64
                |     +--ro receive-invalid-packet-count?
                |     |       yang:counter64
                |     +--ro send-failed-packet-count?
                |             yang:counter64
                +--ro micro-bfd-ipv6
                   +--ro path-type?              identityref
                   +--ro ip-encapsulation?       boolean
                   +--ro local-discriminator?    discriminator
                   +--ro remote-discriminator?   discriminator
                   +--ro remote-multiplier?      multiplier
                   +--ro demand-capability?      boolean
                   |       {demand-mode}?
                   +--ro source-port?            inet:port-number
                   +--ro dest-port?              inet:port-number
                   +--ro session-running
                   |  +--ro session-index?                uint32
                   |  +--ro local-state?                  state
                   |  +--ro remote-state?                 state
                   |  +--ro local-diagnostic?
                   |  |       iana-bfd-types:diagnostic
                   |  +--ro remote-diagnostic?
                   |  |       iana-bfd-types:diagnostic
                   |  +--ro remote-authenticated?         boolean
                   |  +--ro remote-authentication-type?
                   |  |       iana-bfd-types:auth-type
                   |  |       {authentication}?
                   |  +--ro detection-mode?               enumeration
                   |  +--ro negotiated-tx-interval?       uint32
                   |  +--ro negotiated-rx-interval?       uint32
                   |  +--ro detection-time?               uint32
                   |  +--ro echo-tx-interval-in-use?      uint32
                   |          {echo-mode}?
                   +--ro session-statistics
                      +--ro create-time?
                      |       yang:date-and-time
                      +--ro last-down-time?
                      |       yang:date-and-time
                      +--ro last-up-time?
                      |       yang:date-and-time
                      +--ro down-count?
                      |       yang:counter32
                      +--ro admin-down-count?
                      |       yang:counter32
                      +--ro receive-packet-count?
                      |       yang:counter64
                      +--ro send-packet-count?
                      |       yang:counter64
                      +--ro receive-invalid-packet-count?
                      |       yang:counter64
                      +--ro send-failed-packet-count?
                              yang:counter64

  notifications:
    +---n lag-notification
       +--ro local-discr?                 discriminator
       +--ro remote-discr?                discriminator
       +--ro new-state?                   state
       +--ro state-change-reason?         iana-bfd-types:diagnostic
       +--ro time-of-last-state-change?   yang:date-and-time
       +--ro dest-addr?                   inet:ip-address
       +--ro source-addr?                 inet:ip-address
       +--ro session-index?               uint32
       +--ro path-type?                   identityref
       +--ro lag-name?                    if:interface-ref
       +--ro member-link?                 if:interface-ref
</pre><a href="#section-2.8-2" class="pilcrow">¶</a>
</div>
</section>
<section id="section-2.9">
        <h3 id="name-bfd-over-mpls-lsps-hierarch">
<a href="#section-2.9" class="section-number selfRef">2.9. </a><a href="#name-bfd-over-mpls-lsps-hierarch" class="section-name selfRef">BFD-over-MPLS-LSPs Hierarchy</a>
        </h3>
<p id="section-2.9-1">An "mpls" node is added under the "bfd" node in
        "control-plane-protocol". The configuration is per MPLS FEC under this
        "mpls" node. In the operational state model, we support multiple BFD
        sessions per MPLS FEC (ECMP); the local discriminator is used as the key.
        The "mpls" node can be used in a network device (top level) or can be
        mounted in an LNE or network instance.<a href="#section-2.9-1" class="pilcrow">¶</a></p>
<div id="section-2.9-2">
<pre class="breakable lang-yangtree sourcecode">
module: ietf-bfd-mpls
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd:
    +--rw mpls
       +--ro summary
       |  +--ro number-of-sessions?              yang:gauge32
       |  +--ro number-of-sessions-up?           yang:gauge32
       |  +--ro number-of-sessions-down?         yang:gauge32
       |  +--ro number-of-sessions-admin-down?   yang:gauge32
       +--rw egress
       |  +--rw enabled?                          boolean
       |  +--rw local-multiplier?                 multiplier
       |  +--rw (interval-config-type)?
       |  |  +--:(tx-rx-intervals)
       |  |  |  +--rw desired-min-tx-interval?    uint32
       |  |  |  +--rw required-min-rx-interval?   uint32
       |  |  +--:(single-interval) {single-minimum-interval}?
       |  |     +--rw min-interval?               uint32
       |  +--rw authentication! {authentication}?
       |     +--rw key-chain?    key-chain:key-chain-ref
       |     +--rw meticulous?   boolean
       +--rw session-groups
          +--rw session-group* [mpls-fec]
             +--rw mpls-fec                          inet:ip-prefix
             +--rw local-multiplier?                 multiplier
             +--rw (interval-config-type)?
             |  +--:(tx-rx-intervals)
             |  |  +--rw desired-min-tx-interval?    uint32
             |  |  +--rw required-min-rx-interval?   uint32
             |  +--:(single-interval) {single-minimum-interval}?
             |     +--rw min-interval?               uint32
             +--rw demand-enabled?                   boolean
             |       {demand-mode}?
             +--rw admin-down?                       boolean
             +--rw authentication! {authentication}?
             |  +--rw key-chain?    key-chain:key-chain-ref
             |  +--rw meticulous?   boolean
             +--ro sessions* []
                +--ro path-type?              identityref
                +--ro ip-encapsulation?       boolean
                +--ro local-discriminator?    discriminator
                +--ro remote-discriminator?   discriminator
                +--ro remote-multiplier?      multiplier
                +--ro demand-capability?      boolean {demand-mode}?
                +--ro source-port?            inet:port-number
                +--ro dest-port?              inet:port-number
                +--ro session-running
                |  +--ro session-index?                uint32
                |  +--ro local-state?                  state
                |  +--ro remote-state?                 state
                |  +--ro local-diagnostic?
                |  |       iana-bfd-types:diagnostic
                |  +--ro remote-diagnostic?
                |  |       iana-bfd-types:diagnostic
                |  +--ro remote-authenticated?         boolean
                |  +--ro remote-authentication-type?
                |  |       iana-bfd-types:auth-type {authentication}?
                |  +--ro detection-mode?               enumeration
                |  +--ro negotiated-tx-interval?       uint32
                |  +--ro negotiated-rx-interval?       uint32
                |  +--ro detection-time?               uint32
                |  +--ro echo-tx-interval-in-use?      uint32
                |          {echo-mode}?
                +--ro session-statistics
                |  +--ro create-time?
                |  |       yang:date-and-time
                |  +--ro last-down-time?
                |  |       yang:date-and-time
                |  +--ro last-up-time?
                |  |       yang:date-and-time
                |  +--ro down-count?
                |  |       yang:counter32
                |  +--ro admin-down-count?
                |  |       yang:counter32
                |  +--ro receive-packet-count?
                |  |       yang:counter64
                |  +--ro send-packet-count?
                |  |       yang:counter64
                |  +--ro receive-invalid-packet-count?
                |  |       yang:counter64
                |  +--ro send-failed-packet-count?
                |          yang:counter64
                +--ro mpls-dest-address?      inet:ip-address

  notifications:
    +---n mpls-notification
       +--ro local-discr?                 discriminator
       +--ro remote-discr?                discriminator
       +--ro new-state?                   state
       +--ro state-change-reason?         iana-bfd-types:diagnostic
       +--ro time-of-last-state-change?   yang:date-and-time
       +--ro dest-addr?                   inet:ip-address
       +--ro source-addr?                 inet:ip-address
       +--ro session-index?               uint32
       +--ro path-type?                   identityref
       +--ro mpls-dest-address?           inet:ip-address
</pre><a href="#section-2.9-2" class="pilcrow">¶</a>
</div>
</section>
<section id="section-2.10">
        <h3 id="name-interaction-with-other-yang">
<a href="#section-2.10" class="section-number selfRef">2.10. </a><a href="#name-interaction-with-other-yang" class="section-name selfRef">Interaction with Other YANG Modules</a>
        </h3>
<p id="section-2.10-1"><span><a href="#RFC8532" class="xref">"Generic YANG Data Model for the Management
        of Operations, Administration, and Maintenance (OAM) Protocols That
        Use Connectionless Communications"</a> [<a href="#RFC8532" class="xref">RFC8532</a>]</span> describes how the 
        Layer-Independent OAM Management in the Multi-Layer Environment (LIME)
        connectionless OAM model could be extended to support BFD.<a href="#section-2.10-1" class="pilcrow">¶</a></p>
<p id="section-2.10-2">Also, the operation of the BFD data model depends on configuration
        parameters that are defined in other YANG modules.<a href="#section-2.10-2" class="pilcrow">¶</a></p>
<section id="section-2.10.1">
          <h4 id="name-ietf-interfaces-module">
<a href="#section-2.10.1" class="section-number selfRef">2.10.1. </a><a href="#name-ietf-interfaces-module" class="section-name selfRef">"ietf-interfaces" Module</a>
          </h4>
<p id="section-2.10.1-1">The following boolean configuration is defined in <span><a href="#RFC8343" class="xref">"A YANG Data Model for Interface Management"</a> [<a href="#RFC8343" class="xref">RFC8343</a>]</span>:<a href="#section-2.10.1-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-2.10.1-2">
            <dt id="section-2.10.1-2.1">/if:interfaces/if:interface/if:enabled</dt>
            <dd style="margin-left: 1.5em" id="section-2.10.1-2.2">If this configuration is set to "false", no BFD packets can be
            transmitted or received on that interface.<a href="#section-2.10.1-2.2" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
<section id="section-2.10.2">
          <h4 id="name-ietf-ip-module">
<a href="#section-2.10.2" class="section-number selfRef">2.10.2. </a><a href="#name-ietf-ip-module" class="section-name selfRef">"ietf-ip" Module</a>
          </h4>
<p id="section-2.10.2-1">The following boolean configuration is defined in <span><a href="#RFC8344" class="xref">"A YANG Data Model for IP Management"</a> [<a href="#RFC8344" class="xref">RFC8344</a>]</span>:<a href="#section-2.10.2-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-2.10.2-2">
            <dt id="section-2.10.2-2.1">/if:interfaces/if:interface/ip:ipv4/ip:enabled</dt>
            <dd style="margin-left: 1.5em" id="section-2.10.2-2.2">If this configuration is set to "false", no BFD IPv4 packets
            can be transmitted or received on that interface.<a href="#section-2.10.2-2.2" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-2.10.2-2.3">/if:interfaces/if:interface/ip:ipv4/ip:forwarding</dt>
            <dd style="margin-left: 1.5em" id="section-2.10.2-2.4">If this configuration is set to "false", no BFD IPv4 packets
            can be transmitted or received on that interface.<a href="#section-2.10.2-2.4" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-2.10.2-2.5">/if:interfaces/if:interface/ip:ipv6/ip:enabled</dt>
            <dd style="margin-left: 1.5em" id="section-2.10.2-2.6">If this configuration is set to "false", no BFD IPv6 packets
            can be transmitted or received on that interface.<a href="#section-2.10.2-2.6" class="pilcrow">¶</a>
</dd>
            <dd class="break"></dd>
<dt id="section-2.10.2-2.7">/if:interfaces/if:interface/ip:ipv6/ip:forwarding</dt>
            <dd style="margin-left: 1.5em" id="section-2.10.2-2.8">If this configuration is set to "false", no BFD IPv6 packets
            can be transmitted or received on that interface.<a href="#section-2.10.2-2.8" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
<section id="section-2.10.3">
          <h4 id="name-ietf-mpls-module">
<a href="#section-2.10.3" class="section-number selfRef">2.10.3. </a><a href="#name-ietf-mpls-module" class="section-name selfRef">"ietf-mpls" Module</a>
          </h4>
<p id="section-2.10.3-1">The following boolean configuration is defined in <span><a href="#RFC8960" class="xref">"A YANG Data Model for MPLS Base"</a> [<a href="#RFC8960" class="xref">RFC8960</a>]</span>:<a href="#section-2.10.3-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-2.10.3-2">
            <dt id="section-2.10.3-2.1">/rt:routing/mpls:mpls/mpls:interfaces/mpls:interface/mpls:mpls-enabled</dt>
            <dd style="margin-left: 1.5em" id="section-2.10.3-2.2">If this configuration is set to "false", no BFD MPLS packets
            can be transmitted or received on that interface.<a href="#section-2.10.3-2.2" class="pilcrow">¶</a>
</dd>
          <dd class="break"></dd>
</dl>
</section>
</section>
<div id="BFD-TYPES">
<section id="section-2.11">
        <h3 id="name-bfd-types-yang-module">
<a href="#section-2.11" class="section-number selfRef">2.11. </a><a href="#name-bfd-types-yang-module" class="section-name selfRef">BFD Types YANG Module</a>
        </h3>
<p id="section-2.11-1">This YANG module imports typedefs from <span>[<a href="#RFC6991" class="xref">RFC6991</a>]</span> and <span>[<a href="#RFC8177" class="xref">RFC8177</a>]</span>.
        It also imports definitions from
        <span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span>, <span>[<a href="#RFC5881" class="xref">RFC5881</a>]</span>,
        <span>[<a href="#RFC5883" class="xref">RFC5883</a>]</span>, <span>[<a href="#RFC5884" class="xref">RFC5884</a>]</span>, and
        <span>[<a href="#RFC7130" class="xref">RFC7130</a>]</span>, as well as the
        "control-plane-protocol" identity from
        <span>[<a href="#RFC8349" class="xref">RFC8349</a>]</span>, and references <span>[<a href="#RFC9127" class="xref">RFC9127</a>]</span>.<a href="#section-2.11-1" class="pilcrow">¶</a></p>
<div id="section-2.11-2">
<pre class="breakable lang-yang sourcecode">&lt;CODE BEGINS&gt; file "ietf-bfd-types@2022-09-22.yang"

module ietf-bfd-types {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-types";
  prefix bfd-types;

  import iana-bfd-types {
    prefix iana-bfd-types;
    reference
      "RFC 9127: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }
  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 6991: Common YANG Data Types";
  }
  import ietf-routing {
    prefix rt;
    reference
      "RFC 8349: A YANG Data Model for Routing Management
       (NMDA Version)";
  }
  import ietf-key-chain {
    prefix key-chain;
    reference
      "RFC 8177: YANG Data Model for Key Chains";
  }

  organization
    "IETF BFD Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/bfd/&gt;
     WG List:  &lt;mailto:rtg-bfd@ietf.org&gt;

     Editor:   Reshad Rahman
               &lt;mailto:reshad@yahoo.com&gt;

     Editor:   Lianshu Zheng
               &lt;mailto:veronique_cheng@hotmail.com&gt;

     Editor:   Mahesh Jethanandani
               &lt;mailto:mjethanandani@gmail.com&gt;";
  description
    "This module contains a collection of BFD-specific YANG data type
     definitions, as per RFC 5880, and also groupings that are common
     to other BFD YANG modules.

     Copyright (c) 2022 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Revised BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9314; see the
     RFC itself for full legal notices.";
  reference
    "RFC 5880: Bidirectional Forwarding Detection (BFD)
     RFC 9314: YANG Data Model for Bidirectional Forwarding
     Detection (BFD)";

  revision 2022-09-22 {
    description
      "This revision is not backwards compatible with the
       previous version of this model.

       This revision adds an 'if-feature' statement called
       'client-base-cfg-parms' for client configuration parameters.
       Clients expecting to use those parameters now need to
       verify that the server declares support of the feature
       before depending on the presence of the parameters.

       The change was introduced for clients that do not need
       them and have to deviate to prevent them from being
       included.";
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD).";
  }
  revision 2021-10-21 {
    description
      "Initial revision.";
    reference
      "RFC 9127: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }

  /*
   * Feature definitions
   */

  feature single-minimum-interval {
    description
      "This feature indicates that the server supports configuration
       of one minimum interval value that is used for both transmit
       and receive minimum intervals.";
  }

  feature authentication {
    description
      "This feature indicates that the server supports BFD
       authentication.";
    reference
      "RFC 5880: Bidirectional Forwarding Detection (BFD),
       Section 6.7";
  }

  feature demand-mode {
    description
      "This feature indicates that the server supports BFD Demand
       mode.";
    reference
      "RFC 5880: Bidirectional Forwarding Detection (BFD),
       Section 6.6";
  }

  feature echo-mode {
    description
      "This feature indicates that the server supports BFD Echo
       mode.";
    reference
      "RFC 5880: Bidirectional Forwarding Detection (BFD),
       Section 6.4";
  }

  feature client-base-cfg-parms {
    description
      "This feature allows protocol models to configure BFD client
       session parameters.";
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
                 Detection (BFD).";
  }

  /*
   * Identity definitions
   */

  identity bfdv1 {
    base rt:control-plane-protocol;
    description
      "BFD protocol version 1.";
    reference
      "RFC 5880: Bidirectional Forwarding Detection (BFD)";
  }

  identity path-type {
    description
      "Base identity for the BFD path type.  The path type indicates
       the type of path on which BFD is running.";
  }

  identity path-ip-sh {
    base path-type;
    description
      "BFD on IP single-hop.";
    reference
      "RFC 5881: Bidirectional Forwarding Detection (BFD)
       for IPv4 and IPv6 (Single Hop)";
  }

  identity path-ip-mh {
    base path-type;
    description
      "BFD on IP multihop paths.";
    reference
      "RFC 5883: Bidirectional Forwarding Detection (BFD) for
       Multihop Paths";
  }

  identity path-mpls-te {
    base path-type;
    description
      "BFD on MPLS Traffic Engineering.";
    reference
      "RFC 5884: Bidirectional Forwarding Detection (BFD)
       for MPLS Label Switched Paths (LSPs)";
  }

  identity path-mpls-lsp {
    base path-type;
    description
      "BFD on an MPLS Label Switched Path.";
    reference
      "RFC 5884: Bidirectional Forwarding Detection (BFD)
       for MPLS Label Switched Paths (LSPs)";
  }

  identity path-lag {
    base path-type;
    description
      "Micro-BFD on LAG member links.";
    reference
      "RFC 7130: Bidirectional Forwarding Detection (BFD) on
       Link Aggregation Group (LAG) Interfaces";
  }

  identity encap-type {
    description
      "Base identity for BFD encapsulation type.";
  }

  identity encap-ip {
    base encap-type;
    description
      "BFD with IP encapsulation.";
  }

  /*
   * Type definitions
   */

  typedef discriminator {
    type uint32;
    description
      "BFD Discriminator as described in RFC 5880.";
    reference
      "RFC 5880: Bidirectional Forwarding Detection (BFD)";
  }

  typedef state {
    type enumeration {
      enum adminDown {
        value 0;
        description
          "'adminDown' state.";
      }
      enum down {
        value 1;
        description
          "'Down' state.";
      }
      enum init {
        value 2;
        description
          "'Init' state.";
      }
      enum up {
        value 3;
        description
          "'Up' state.";
      }
    }
    description
      "BFD states as defined in RFC 5880.";
  }

  typedef multiplier {
    type uint8 {
      range "1..255";
    }
    description
      "BFD multiplier as described in RFC 5880.";
  }

  typedef hops {
    type uint8 {
      range "1..255";
    }
    description
      "This corresponds to Time To Live for IPv4 and corresponds to
       the hop limit for IPv6.";
  }

  /*
   * Groupings
   */

  grouping auth-parms {
    description
      "Grouping for BFD authentication parameters
       (see Section 6.7 of RFC 5880).";
    container authentication {
      if-feature "authentication";
      presence "Enables BFD authentication (see Section 6.7
                of RFC 5880).";
      description
        "Parameters for BFD authentication.";
      reference
        "RFC 5880: Bidirectional Forwarding Detection (BFD),
         Section 6.7";
      leaf key-chain {
        type key-chain:key-chain-ref;
        description
          "Name of the 'key-chain' as per RFC 8177.";
      }
      leaf meticulous {
        type boolean;
        description
          "Enables a meticulous mode as per Section 6.7 of
           RFC 5880.";
      }
    }
  }

  grouping base-cfg-parms {
    description
      "BFD grouping for base configuration parameters.";
    leaf local-multiplier {
      type multiplier;
      default "3";
      description
        "Multiplier transmitted by the local system.";
    }
    choice interval-config-type {
      default "tx-rx-intervals";
      description
        "Two interval values or one value used for both transmit and
         receive.";
      case tx-rx-intervals {
        leaf desired-min-tx-interval {
          type uint32;
          units "microseconds";
          default "1000000";
          description
            "Desired minimum transmit interval of control packets.";
        }
        leaf required-min-rx-interval {
          type uint32;
          units "microseconds";
          default "1000000";
          description
            "Required minimum receive interval of control packets.";
        }
      }
      case single-interval {
        if-feature "single-minimum-interval";
        leaf min-interval {
          type uint32;
          units "microseconds";
          default "1000000";
          description
            "Desired minimum transmit interval and required
             minimum receive interval of control packets.";
        }
      }
    }
  }

  grouping client-cfg-parms {
    description
      "BFD grouping for configuration parameters
       used by BFD clients, e.g., IGP or MPLS.";
    leaf enabled {
      type boolean;
      default "false";
      description
        "Indicates whether BFD is enabled.";
    }
    uses base-cfg-parms {
      if-feature "client-base-cfg-parms";
    }
  }

  grouping common-cfg-parms {
    description
      "BFD grouping for common configuration parameters.";
    uses base-cfg-parms;
    leaf demand-enabled {
      if-feature "demand-mode";
      type boolean;
      default "false";
      description
        "To enable Demand mode.";
    }
    leaf admin-down {
      type boolean;
      default "false";
      description
        "Indicates whether the BFD session is administratively
         down.";
    }
    uses auth-parms;
  }

  grouping all-session {
    description
      "BFD session operational information.";
    leaf path-type {
      type identityref {
        base path-type;
      }
      config false;
      description
        "BFD path type.  This indicates the path type that BFD is
         running on.";
    }
    leaf ip-encapsulation {
      type boolean;
      config false;
      description
        "Indicates whether BFD encapsulation uses IP.";
    }
    leaf local-discriminator {
      type discriminator;
      config false;
      description
        "Local discriminator.";
    }
    leaf remote-discriminator {
      type discriminator;
      config false;
      description
        "Remote discriminator.";
    }
    leaf remote-multiplier {
      type multiplier;
      config false;
      description
        "Remote multiplier.";
    }
    leaf demand-capability {
      if-feature "demand-mode";
      type boolean;
      config false;
      description
        "Local Demand mode capability.";
    }
    leaf source-port {
      when "../ip-encapsulation = 'true'" {
        description
          "Source port valid only when IP encapsulation is used.";
      }
      type inet:port-number;
      config false;
      description
        "Source UDP port.";
    }
    leaf dest-port {
      when "../ip-encapsulation = 'true'" {
        description
          "Destination port valid only when IP encapsulation
           is used.";
      }
      type inet:port-number;
      config false;
      description
        "Destination UDP port.";
    }
    container session-running {
      config false;
      description
        "BFD 'session-running' information.";
      leaf session-index {
        type uint32;
        description
          "An index used to uniquely identify BFD sessions.";
      }
      leaf local-state {
        type state;
        description
          "Local state.";
      }
      leaf remote-state {
        type state;
        description
          "Remote state.";
      }
      leaf local-diagnostic {
        type iana-bfd-types:diagnostic;
        description
          "Local diagnostic.";
      }
      leaf remote-diagnostic {
        type iana-bfd-types:diagnostic;
        description
          "Remote diagnostic.";
      }
      leaf remote-authenticated {
        type boolean;
        description
          "Indicates whether incoming BFD control packets are
           authenticated.";
      }
      leaf remote-authentication-type {
        when "../remote-authenticated = 'true'" {
          description
            "Only valid when incoming BFD control packets are
             authenticated.";
        }
        if-feature "authentication";
        type iana-bfd-types:auth-type;
        description
          "Authentication type of incoming BFD control packets.";
      }
      leaf detection-mode {
        type enumeration {
          enum async-with-echo {
            value 1;
            description
              "Async with echo.";
          }
          enum async-without-echo {
            value 2;
            description
              "Async without echo.";
          }
          enum demand-with-echo {
            value 3;
            description
              "Demand with echo.";
          }
          enum demand-without-echo {
            value 4;
            description
              "Demand without echo.";
          }
        }
        description
          "Detection mode.";
      }
      leaf negotiated-tx-interval {
        type uint32;
        units "microseconds";
        description
          "Negotiated transmit interval.";
      }
      leaf negotiated-rx-interval {
        type uint32;
        units "microseconds";
        description
          "Negotiated receive interval.";
      }
      leaf detection-time {
        type uint32;
        units "microseconds";
        description
          "Detection time.";
      }
      leaf echo-tx-interval-in-use {
        when "../../path-type = 'bfd-types:path-ip-sh'" {
          description
            "Echo is supported for IP single-hop only.";
        }
        if-feature "echo-mode";
        type uint32;
        units "microseconds";
        description
          "Echo transmit interval in use.";
      }
    }
    container session-statistics {
      config false;
      description
        "BFD per-session statistics.";
      leaf create-time {
        type yang:date-and-time;
        description
          "Time and date when this session was created.";
      }
      leaf last-down-time {
        type yang:date-and-time;
        description
          "Time and date of the last time this session went down.";
      }
      leaf last-up-time {
        type yang:date-and-time;
        description
          "Time and date of the last time this session went up.";
      }
      leaf down-count {
        type yang:counter32;
        description
          "The number of times this session has transitioned to the
           'down' state.";
      }
      leaf admin-down-count {
        type yang:counter32;
        description
          "The number of times this session has transitioned to the
           'admin-down' state.";
      }
      leaf receive-packet-count {
        type yang:counter64;
        description
          "Count of received packets in this session.  This includes
           valid and invalid received packets.";
      }
      leaf send-packet-count {
        type yang:counter64;
        description
          "Count of sent packets in this session.";
      }
      leaf receive-invalid-packet-count {
        type yang:counter64;
        description
          "Count of invalid received packets in this session.";
      }
      leaf send-failed-packet-count {
        type yang:counter64;
        description
          "Count of packets that failed to be sent in this session.";
      }
    }
  }

  grouping session-statistics-summary {
    description
      "Grouping for session statistics summary.";
    container summary {
      config false;
      description
        "BFD session statistics summary.";
      leaf number-of-sessions {
        type yang:gauge32;
        description
          "Number of BFD sessions.";
      }
      leaf number-of-sessions-up {
        type yang:gauge32;
        description
          "Number of BFD sessions currently in the 'Up' state
           (as defined in RFC 5880).";
      }
      leaf number-of-sessions-down {
        type yang:gauge32;
        description
          "Number of BFD sessions currently in the 'Down' or 'Init'
           state but not 'adminDown' (as defined in RFC 5880).";
      }
      leaf number-of-sessions-admin-down {
        type yang:gauge32;
        description
          "Number of BFD sessions currently in the 'adminDown' state
           (as defined in RFC 5880).";
      }
    }
  }

  grouping notification-parms {
    description
      "This group describes common parameters that will be sent
       as part of BFD notifications.";
    leaf local-discr {
      type discriminator;
      description
        "BFD local discriminator.";
    }
    leaf remote-discr {
      type discriminator;
      description
        "BFD remote discriminator.";
    }
    leaf new-state {
      type state;
      description
        "Current BFD state.";
    }
    leaf state-change-reason {
      type iana-bfd-types:diagnostic;
      description
        "Reason for the BFD state change.";
    }
    leaf time-of-last-state-change {
      type yang:date-and-time;
      description
        "Calendar time of the most recent previous state change.";
    }
    leaf dest-addr {
      type inet:ip-address;
      description
        "BFD peer address.";
    }
    leaf source-addr {
      type inet:ip-address;
      description
        "BFD local address.";
    }
    leaf session-index {
      type uint32;
      description
        "An index used to uniquely identify BFD sessions.";
    }
    leaf path-type {
      type identityref {
        base path-type;
      }
      description
        "BFD path type.";
    }
  }
}

&lt;CODE ENDS&gt;</pre><a href="#section-2.11-2" class="pilcrow">¶</a>
</div>
</section>
</div>
<section id="section-2.12">
        <h3 id="name-bfd-top-level-yang-module">
<a href="#section-2.12" class="section-number selfRef">2.12. </a><a href="#name-bfd-top-level-yang-module" class="section-name selfRef">BFD Top-Level YANG Module</a>
        </h3>
<p id="section-2.12-1">This YANG module imports and augments
        "/routing/control-plane-protocols/control-plane-protocol" from <span>[<a href="#RFC8349" class="xref">RFC8349</a>]</span>. It also references
        <span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span>.<a href="#section-2.12-1" class="pilcrow">¶</a></p>
<div id="section-2.12-2">
<pre class="breakable lang-yang sourcecode">&lt;CODE BEGINS&gt; file "ietf-bfd@2022-09-22.yang"

module ietf-bfd {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-bfd";
  prefix bfd;

  import ietf-bfd-types {
    prefix bfd-types;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-routing {
    prefix rt;
    reference
      "RFC 8349: A YANG Data Model for Routing Management
       (NMDA Version)";
  }

  organization
    "IETF BFD Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/bfd/&gt;
     WG List:  &lt;mailto:rtg-bfd@ietf.org&gt;

     Editor:   Reshad Rahman
               &lt;mailto:reshad@yahoo.com&gt;

     Editor:   Lianshu Zheng
               &lt;mailto:veronique_cheng@hotmail.com&gt;

     Editor:   Mahesh Jethanandani
               &lt;mailto:mjethanandani@gmail.com&gt;";
  description
    "This module contains the YANG definition for BFD parameters as
     per RFC 5880.

     Copyright (c) 2022 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Revised BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9314; see the
     RFC itself for full legal notices.";
  reference
    "RFC 5880: Bidirectional Forwarding Detection (BFD)
     RFC 9314: YANG Data Model for Bidirectional Forwarding
     Detection (BFD)";

  revision 2022-09-22 {
    description
      "Updating reference to RFC 9314.";
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD).";
  }
  revision 2021-10-21 {
    description
      "Initial revision.";
    reference
      "RFC 9127: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol" {
    when "derived-from-or-self(rt:type, 'bfd-types:bfdv1')" {
      description
        "This augmentation is only valid for a control plane protocol
         instance of BFD (type 'bfdv1').";
    }
    description
      "BFD augmentation.";
    container bfd {
      description
        "BFD top-level container.";
      uses bfd-types:session-statistics-summary;
    }
  }
}

&lt;CODE ENDS&gt;</pre><a href="#section-2.12-2" class="pilcrow">¶</a>
</div>
</section>
<div id="bfd-ip-single-hop-module">
<section id="section-2.13">
        <h3 id="name-bfd-ip-single-hop-yang-modu">
<a href="#section-2.13" class="section-number selfRef">2.13. </a><a href="#name-bfd-ip-single-hop-yang-modu" class="section-name selfRef">BFD IP Single-Hop YANG Module</a>
        </h3>
<p id="section-2.13-1">This YANG module imports "interface-ref" from <span>[<a href="#RFC8343" class="xref">RFC8343</a>]</span> and typedefs from <span>[<a href="#RFC6991" class="xref">RFC6991</a>]</span>.  It also imports and augments
        "/routing/control-plane-protocols/control-plane-protocol" from <span>[<a href="#RFC8349" class="xref">RFC8349</a>]</span>, and it references
        <span>[<a href="#RFC5881" class="xref">RFC5881</a>]</span>.<a href="#section-2.13-1" class="pilcrow">¶</a></p>
<div id="section-2.13-2">
<pre class="breakable lang-yang sourcecode">&lt;CODE BEGINS&gt; file "ietf-bfd-ip-sh@2022-09-22.yang"

module ietf-bfd-ip-sh {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh";
  prefix bfd-ip-sh;

  import ietf-bfd-types {
    prefix bfd-types;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-bfd {
    prefix bfd;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-interfaces {
    prefix if;
    reference
      "RFC 8343: A YANG Data Model for Interface Management";
  }
  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }
  import ietf-routing {
    prefix rt;
    reference
      "RFC 8349: A YANG Data Model for Routing Management
       (NMDA Version)";
  }

  organization
    "IETF BFD Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/bfd/&gt;
     WG List:  &lt;mailto:rtg-bfd@ietf.org&gt;

     Editor:   Reshad Rahman
               &lt;mailto:reshad@yahoo.com&gt;

     Editor:   Lianshu Zheng
               &lt;mailto:veronique_cheng@hotmail.com&gt;

     Editor:   Mahesh Jethanandani
               &lt;mailto:mjethanandani@gmail.com&gt;";
  description
    "This module contains the YANG definition for BFD IP single-hop
     as per RFC 5881.

     Copyright (c) 2022 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Revised BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9314; see the
     RFC itself for full legal notices.";
  reference
    "RFC 5881: Bidirectional Forwarding Detection (BFD)
     for IPv4 and IPv6 (Single Hop)
     RFC 9314: YANG Data Model for Bidirectional Forwarding
     Detection (BFD)";

  revision 2022-09-22 {
    description
      "Updating reference to RFC 9314.";
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD).";
  }
  revision 2021-10-21 {
    description
      "Initial revision.";
    reference
      "RFC 9127: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }

  /*
   * Augments
   */

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd" {
    description
      "BFD augmentation for IP single-hop.";
    container ip-sh {
      description
        "BFD IP single-hop top-level container.";
      uses bfd-types:session-statistics-summary;
      container sessions {
        description
          "BFD IP single-hop sessions.";
        list session {
          key "interface dest-addr";
          description
            "List of IP single-hop sessions.";
          leaf interface {
            type if:interface-ref;
            description
              "Interface on which the BFD session is running.";
          }
          leaf dest-addr {
            type inet:ip-address;
            description
              "IP address of the peer.";
          }
          leaf source-addr {
            type inet:ip-address;
            description
              "Local IP address.";
          }
          uses bfd-types:common-cfg-parms;
          uses bfd-types:all-session;
        }
      }
      list interfaces {
        key "interface";
        description
          "List of interfaces.";
        leaf interface {
          type if:interface-ref;
          description
            "BFD information for this interface.";
        }
        uses bfd-types:auth-parms;
      }
    }
  }

  /*
   * Notifications
   */

  notification singlehop-notification {
    description
      "Notification for BFD single-hop session state change.  An
       implementation may rate-limit notifications, e.g., when a
       session is continuously changing state.";
    uses bfd-types:notification-parms;
    leaf interface {
      type if:interface-ref;
      description
        "Interface to which this BFD session belongs.";
    }
    leaf echo-enabled {
      type boolean;
      description
        "Indicates whether Echo was enabled for BFD.";
    }
  }
}

&lt;CODE ENDS&gt;</pre><a href="#section-2.13-2" class="pilcrow">¶</a>
</div>
</section>
</div>
<div id="bfd-ip-multihop-module">
<section id="section-2.14">
        <h3 id="name-bfd-ip-multihop-yang-module">
<a href="#section-2.14" class="section-number selfRef">2.14. </a><a href="#name-bfd-ip-multihop-yang-module" class="section-name selfRef">BFD IP Multihop YANG Module</a>
        </h3>
<p id="section-2.14-1">This YANG module imports typedefs from
        <span>[<a href="#RFC6991" class="xref">RFC6991</a>]</span>. It also imports and augments
        "/routing/control-plane-protocols/control-plane-protocol" from <span>[<a href="#RFC8349" class="xref">RFC8349</a>]</span>, and it references
        <span>[<a href="#RFC5883" class="xref">RFC5883</a>]</span>.<a href="#section-2.14-1" class="pilcrow">¶</a></p>
<div id="section-2.14-2">
<pre class="breakable lang-yang sourcecode">&lt;CODE BEGINS&gt; file "ietf-bfd-ip-mh@2022-09-22.yang"

module ietf-bfd-ip-mh {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh";
  prefix bfd-ip-mh;

  import ietf-bfd-types {
    prefix bfd-types;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-bfd {
    prefix bfd;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }
  import ietf-routing {
    prefix rt;
    reference
      "RFC 8349: A YANG Data Model for Routing Management
       (NMDA Version)";
  }

  organization
    "IETF BFD Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/bfd/&gt;
     WG List:  &lt;mailto:rtg-bfd@ietf.org&gt;

     Editor:   Reshad Rahman
               &lt;mailto:reshad@yahoo.com&gt;

     Editor:   Lianshu Zheng
               &lt;mailto:veronique_cheng@hotmail.com&gt;

     Editor:   Mahesh Jethanandani
               &lt;mailto:mjethanandani@gmail.com&gt;";
  description
    "This module contains the YANG definition for BFD IP multihop
     as per RFC 5883.

     Copyright (c) 2022 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Revised BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9314; see the
     RFC itself for full legal notices.";
  reference
    "RFC 5883: Bidirectional Forwarding Detection (BFD) for
     Multihop Paths
     RFC 9314: YANG Data Model for Bidirectional Forwarding
     Detection (BFD)";

  revision 2022-09-22 {
    description
      "Updating reference to RFC 9314.";
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD).";
  }
  revision 2021-10-21 {
    description
      "Initial revision.";
    reference
      "RFC 9127: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }

  /*
   * Augments
   */

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd" {
    description
      "BFD augmentation for IP multihop.";
    container ip-mh {
      description
        "BFD IP multihop top-level container.";
      uses bfd-types:session-statistics-summary;
      container session-groups {
        description
          "BFD IP multihop session groups.";
        list session-group {
          key "source-addr dest-addr";
          description
            "Group of BFD IP multihop sessions (for ECMP).  A
             group of sessions is between one source and one
             destination.  Each session has a different field
             in the UDP/IP header for ECMP.";
          leaf source-addr {
            type inet:ip-address;
            description
              "Local IP address.";
          }
          leaf dest-addr {
            type inet:ip-address;
            description
              "IP address of the peer.";
          }
          uses bfd-types:common-cfg-parms;
          leaf tx-ttl {
            type bfd-types:hops;
            default "255";
            description
              "Hop count of outgoing BFD control packets.";
          }
          leaf rx-ttl {
            type bfd-types:hops;
            mandatory true;
            description
              "Minimum allowed hop count value for incoming BFD
               control packets.  Control packets whose hop count is
               lower than this value are dropped.";
          }
          list sessions {
            config false;
            description
              "The multiple BFD sessions between a source and a
               destination.";
            uses bfd-types:all-session;
          }
        }
      }
    }
  }

  /*
   * Notifications
   */

  notification multihop-notification {
    description
      "Notification for BFD multihop session state change.  An
       implementation may rate-limit notifications, e.g., when a
       session is continuously changing state.";
    uses bfd-types:notification-parms;
  }
}

&lt;CODE ENDS&gt;</pre><a href="#section-2.14-2" class="pilcrow">¶</a>
</div>
</section>
</div>
<div id="bfd-over-lag-module">
<section id="section-2.15">
        <h3 id="name-bfd-over-lag-yang-module">
<a href="#section-2.15" class="section-number selfRef">2.15. </a><a href="#name-bfd-over-lag-yang-module" class="section-name selfRef">BFD-over-LAG YANG Module</a>
        </h3>
<p id="section-2.15-1">This YANG module imports "interface-ref" from <span>[<a href="#RFC8343" class="xref">RFC8343</a>]</span> and typedefs from <span>[<a href="#RFC6991" class="xref">RFC6991</a>]</span>.  It also imports and augments
        "/routing/control-plane-protocols/control-plane-protocol" from <span>[<a href="#RFC8349" class="xref">RFC8349</a>]</span>. Additionally, it references
        <span>[<a href="#RFC7130" class="xref">RFC7130</a>]</span>.<a href="#section-2.15-1" class="pilcrow">¶</a></p>
<div id="section-2.15-2">
<pre class="breakable lang-yang sourcecode">&lt;CODE BEGINS&gt; file "ietf-bfd-lag@2022-09-22.yang"

module ietf-bfd-lag {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-lag";
  prefix bfd-lag;

  import ietf-bfd-types {
    prefix bfd-types;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-bfd {
    prefix bfd;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-interfaces {
    prefix if;
    reference
      "RFC 8343: A YANG Data Model for Interface Management";
  }
  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }
  import ietf-routing {
    prefix rt;
    reference
      "RFC 8349: A YANG Data Model for Routing Management
       (NMDA Version)";
  }

  organization
    "IETF BFD Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/bfd/&gt;
     WG List:  &lt;mailto:rtg-bfd@ietf.org&gt;

     Editor:   Reshad Rahman
               &lt;mailto:reshad@yahoo.com&gt;

     Editor:   Lianshu Zheng
               &lt;mailto:veronique_cheng@hotmail.com&gt;

     Editor:   Mahesh Jethanandani
               &lt;mailto:mjethanandani@gmail.com&gt;";
  description
    "This module contains the YANG definition for BFD-over-LAG
     interfaces as per RFC 7130.

     Copyright (c) 2022 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Revised BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9314; see the
     RFC itself for full legal notices.";
  reference
    "RFC 7130: Bidirectional Forwarding Detection (BFD) on
     Link Aggregation Group (LAG) Interfaces
     RFC 9314: YANG Data Model for Bidirectional Forwarding
     Detection (BFD)";

  revision 2022-09-22 {
    description
      "Updating reference to RFC 9314.";
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD).";
  }
  revision 2021-10-21 {
    description
      "Initial revision.";
    reference
      "RFC 9127: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }

  /*
   * Augments
   */

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd" {
    description
      "BFD augmentation for a LAG.";
    container lag {
      description
        "BFD-over-LAG top-level container.";
      container micro-bfd-ipv4-session-statistics {
        description
          "Micro-BFD IPv4 session counters.";
        uses bfd-types:session-statistics-summary;
      }
      container micro-bfd-ipv6-session-statistics {
        description
          "Micro-BFD IPv6 session counters.";
        uses bfd-types:session-statistics-summary;
      }
      container sessions {
        description
          "BFD-over-LAG sessions.";
        list session {
          key "lag-name";
          description
            "List of BFD-over-LAG sessions.";
          leaf lag-name {
            type if:interface-ref;
            description
              "Name of the LAG.";
          }
          leaf ipv4-dest-addr {
            type inet:ipv4-address;
            description
              "IPv4 address of the peer, for IPv4 micro-BFD.";
          }
          leaf ipv6-dest-addr {
            type inet:ipv6-address;
            description
              "IPv6 address of the peer, for IPv6 micro-BFD.";
          }
          uses bfd-types:common-cfg-parms;
          leaf use-ipv4 {
            type boolean;
            description
              "Using IPv4 micro-BFD.";
          }
          leaf use-ipv6 {
            type boolean;
            description
              "Using IPv6 micro-BFD.";
          }
          list member-links {
            key "member-link";
            config false;
            description
              "Micro-BFD over a LAG.  This represents one
               member link.";
            leaf member-link {
              type if:interface-ref;
              description
                "Member link on which micro-BFD is running.";
            }
            container micro-bfd-ipv4 {
              when "../../use-ipv4 = 'true'" {
                description
                  "Needed only if IPv4 is used.";
              }
              description
                "Micro-BFD IPv4 session state on a member link.";
              uses bfd-types:all-session;
            }
            container micro-bfd-ipv6 {
              when "../../use-ipv6 = 'true'" {
                description
                  "Needed only if IPv6 is used.";
              }
              description
                "Micro-BFD IPv6 session state on a member link.";
              uses bfd-types:all-session;
            }
          }
        }
      }
    }
  }

  /*
   * Notifications
   */

  notification lag-notification {
    description
      "Notification for BFD-over-LAG session state change.
       An implementation may rate-limit notifications, e.g., when a
       session is continuously changing state.";
    uses bfd-types:notification-parms;
    leaf lag-name {
      type if:interface-ref;
      description
        "LAG interface name.";
    }
    leaf member-link {
      type if:interface-ref;
      description
        "Member link on which BFD is running.";
    }
  }
}

&lt;CODE ENDS&gt;</pre><a href="#section-2.15-2" class="pilcrow">¶</a>
</div>
</section>
</div>
<div id="bfd-over-mpls-module">
<section id="section-2.16">
        <h3 id="name-bfd-over-mpls-yang-module">
<a href="#section-2.16" class="section-number selfRef">2.16. </a><a href="#name-bfd-over-mpls-yang-module" class="section-name selfRef">BFD-over-MPLS YANG Module</a>
        </h3>
<p id="section-2.16-1">This YANG module imports typedefs from <span>[<a href="#RFC6991" class="xref">RFC6991</a>]</span>. It also imports and augments
        "/routing/control-plane-protocols/control-plane-protocol" from <span>[<a href="#RFC8349" class="xref">RFC8349</a>]</span>.
        Additionally, it references <span>[<a href="#RFC5586" class="xref">RFC5586</a>]</span> and
        <span>[<a href="#RFC5884" class="xref">RFC5884</a>]</span>.<a href="#section-2.16-1" class="pilcrow">¶</a></p>
<div id="section-2.16-2">
<pre class="breakable lang-yang sourcecode">&lt;CODE BEGINS&gt; file "ietf-bfd-mpls@2022-09-22.yang"

module ietf-bfd-mpls {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-mpls";
  prefix bfd-mpls;

  import ietf-bfd-types {
    prefix bfd-types;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-bfd {
    prefix bfd;
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }
  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 6991: Common YANG Data Types";
  }
  import ietf-routing {
    prefix rt;
    reference
      "RFC 8349: A YANG Data Model for Routing Management
       (NMDA Version)";
  }

  organization
    "IETF BFD Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/bfd/&gt;
     WG List:  &lt;mailto:rtg-bfd@ietf.org&gt;

     Editor:   Reshad Rahman
               &lt;mailto:reshad@yahoo.com&gt;

     Editor:   Lianshu Zheng
               &lt;mailto:veronique_cheng@hotmail.com&gt;

     Editor:   Mahesh Jethanandani
               &lt;mailto:mjethanandani@gmail.com&gt;";
  description
    "This module contains the YANG definition for BFD parameters for
     MPLS LSPs as per RFC 5884.

     Copyright (c) 2022 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Revised BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9314; see the
     RFC itself for full legal notices.";
  reference
    "RFC 5884: Bidirectional Forwarding Detection (BFD)
     for MPLS Label Switched Paths (LSPs)
     RFC 9314: YANG Data Model for Bidirectional Forwarding
     Detection (BFD)";

  revision 2022-09-22 {
    description
      "Updates to use base-cfg-parms instead of client-cfg-parms,
       and add the enabled flag.";
    reference
      "RFC 9314: YANG Data Model for Bidirectional Forwarding
       Detection (BFD).";
  }
  revision 2021-10-21 {
    description
      "Initial revision.";
    reference
      "RFC 9127: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }

  /*
   * Identity definitions
   */

  identity encap-gach {
    base bfd-types:encap-type;
    description
      "BFD with Generic Associated Channel (G-ACh) encapsulation
       as per RFC 5586.";
    reference
      "RFC 5586: MPLS Generic Associated Channel";
  }

  identity encap-ip-gach {
    base bfd-types:encap-type;
    description
      "BFD with IP and G-ACh encapsulation as per RFC 5586.";
  }

  /*
   * Groupings
   */

  grouping encap-cfg {
    description
      "Configuration for BFD encapsulation.";
    leaf encap {
      type identityref {
        base bfd-types:encap-type;
      }
      default "bfd-types:encap-ip";
      description
        "BFD encapsulation.";
    }
  }

  grouping mpls-dest-address {
    description
      "Destination address as per RFC 5884.";
    reference
      "RFC 5884: Bidirectional Forwarding Detection (BFD)
       for MPLS Label Switched Paths (LSPs)";
    leaf mpls-dest-address {
      type inet:ip-address;
      config false;
      description
        "Destination address as per RFC 5884.
         Needed if IP encapsulation is used.";
    }
  }

  /*
   * Augments
   */

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd" {
    description
      "BFD augmentation for MPLS.";
    container mpls {
      description
        "BFD MPLS top-level container.";
      uses bfd-types:session-statistics-summary;
      container egress {
        description
          "Egress configuration.";
        leaf enabled {
          type boolean;
          default "false";
          description
            "Indicates whether BFD over MPLS is enabled.";
        }
        uses bfd-types:base-cfg-parms;
        uses bfd-types:auth-parms;
      }
      container session-groups {
        description
          "BFD-over-MPLS session groups.";
        list session-group {
          key "mpls-fec";
          description
            "Group of BFD MPLS sessions (for ECMP).  A group of
             sessions is for one FEC.  Each session has a different
             field in the UDP/IP header for ECMP.";
          leaf mpls-fec {
            type inet:ip-prefix;
            description
              "MPLS FEC.";
          }
          uses bfd-types:common-cfg-parms;
          list sessions {
            config false;
            description
              "The BFD sessions for an MPLS FEC.  The local
               discriminator is unique for each session in the
               group.";
            uses bfd-types:all-session;
            uses bfd-mpls:mpls-dest-address;
          }
        }
      }
    }
  }

  /*
   * Notifications
   */

  notification mpls-notification {
    description
      "Notification for BFD-over-MPLS FEC session state change.
       An implementation may rate-limit notifications, e.g., when a
       session is continuously changing state.";
    uses bfd-types:notification-parms;
    leaf mpls-dest-address {
      type inet:ip-address;
      description
        "Destination address as per RFC 5884.
         Needed if IP encapsulation is used.";
    }
  }
}

&lt;CODE ENDS&gt;</pre><a href="#section-2.16-2" class="pilcrow">¶</a>
</div>
</section>
</div>
</section>
</div>
<section id="section-3">
      <h2 id="name-data-model-examples">
<a href="#section-3" class="section-number selfRef">3. </a><a href="#name-data-model-examples" class="section-name selfRef">Data Model Examples</a>
      </h2>
<p id="section-3-1">This section presents some simple and illustrative examples of how to
      configure BFD.<a href="#section-3-1" class="pilcrow">¶</a></p>
<p id="section-3-2">The examples are represented in XML <span>[<a href="#W3C.REC-xml-20081126" class="xref">W3C.REC-xml-20081126</a>]</span>.<a href="#section-3-2" class="pilcrow">¶</a></p>
<section id="section-3.1">
        <h3 id="name-ip-single-hop">
<a href="#section-3.1" class="section-number selfRef">3.1. </a><a href="#name-ip-single-hop" class="section-name selfRef">IP Single-Hop</a>
        </h3>
<p id="section-3.1-1">The following is an example configuration for a BFD IP single-hop
        session. The desired transmit interval and the required receive
        interval are both set to 10 ms.<a href="#section-3.1-1" class="pilcrow">¶</a></p>
<div id="section-3.1-2">
<pre class="lang-xml sourcecode">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&gt;
  &lt;interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"&gt;
    &lt;interface&gt;
      &lt;name&gt;eth0&lt;/name&gt;
      &lt;type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type"&gt;
        ianaift:ethernetCsmacd
      &lt;/type&gt;
    &lt;/interface&gt;
  &lt;/interfaces&gt;
  &lt;routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"&gt;
    &lt;control-plane-protocols&gt;
      &lt;control-plane-protocol&gt;
        &lt;type xmlns:bfd-types=
            "urn:ietf:params:xml:ns:yang:ietf-bfd-types"&gt;
          bfd-types:bfdv1
        &lt;/type&gt;
        &lt;name&gt;name:BFD&lt;/name&gt;
        &lt;bfd xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd"&gt;
          &lt;ip-sh xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh"&gt;
            &lt;sessions&gt;
              &lt;session&gt;
                &lt;interface&gt;eth0&lt;/interface&gt;
                &lt;dest-addr&gt;2001:db8:0:113::101&lt;/dest-addr&gt;
                &lt;desired-min-tx-interval&gt;
                  10000
                &lt;/desired-min-tx-interval&gt;
                &lt;required-min-rx-interval&gt;
                  10000
                &lt;/required-min-rx-interval&gt;
              &lt;/session&gt;
            &lt;/sessions&gt;
          &lt;/ip-sh&gt;
        &lt;/bfd&gt;
      &lt;/control-plane-protocol&gt;
    &lt;/control-plane-protocols&gt;
  &lt;/routing&gt;
&lt;/config&gt;
</pre><a href="#section-3.1-2" class="pilcrow">¶</a>
</div>
</section>
<section id="section-3.2">
        <h3 id="name-ip-multihop">
<a href="#section-3.2" class="section-number selfRef">3.2. </a><a href="#name-ip-multihop" class="section-name selfRef">IP Multihop</a>
        </h3>
<p id="section-3.2-1">The following is an example configuration for a BFD IP multihop
        session group. The desired transmit interval and the required receive
        interval are both set to 150 ms.<a href="#section-3.2-1" class="pilcrow">¶</a></p>
<div id="section-3.2-2">
<pre class="lang-xml sourcecode">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&gt;
  &lt;routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"&gt;
    &lt;control-plane-protocols&gt;
      &lt;control-plane-protocol&gt;
        &lt;type xmlns:bfd-types=
            "urn:ietf:params:xml:ns:yang:ietf-bfd-types"&gt;
          bfd-types:bfdv1
        &lt;/type&gt;
        &lt;name&gt;name:BFD&lt;/name&gt;
        &lt;bfd xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd"&gt;
          &lt;ip-mh xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh"&gt;
            &lt;session-groups&gt;
              &lt;session-group&gt;
                &lt;source-addr&gt;2001:db8:0:113::103&lt;/source-addr&gt;
                &lt;dest-addr&gt;2001:db8:0:114::100&lt;/dest-addr&gt;
                &lt;desired-min-tx-interval&gt;
                  150000
                &lt;/desired-min-tx-interval&gt;
                &lt;required-min-rx-interval&gt;
                  150000
                &lt;/required-min-rx-interval&gt;
                &lt;rx-ttl&gt;240&lt;/rx-ttl&gt;
              &lt;/session-group&gt;
            &lt;/session-groups&gt;
          &lt;/ip-mh&gt;
        &lt;/bfd&gt;
      &lt;/control-plane-protocol&gt;
    &lt;/control-plane-protocols&gt;
  &lt;/routing&gt;
&lt;/config&gt;
</pre><a href="#section-3.2-2" class="pilcrow">¶</a>
</div>
</section>
<section id="section-3.3">
        <h3 id="name-lag">
<a href="#section-3.3" class="section-number selfRef">3.3. </a><a href="#name-lag" class="section-name selfRef">LAG</a>
        </h3>
<p id="section-3.3-1">The following is an example of BFD configuration for a LAG session.
        In this case, an interface named "Bundle-Ether1" of interface type
        "ieee8023adLag" has a desired transmit interval and required receive interval
        set to 10 ms.<a href="#section-3.3-1" class="pilcrow">¶</a></p>
<div id="section-3.3-2">
<pre class="lang-xml sourcecode">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&gt;
  &lt;interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"&gt;
    &lt;interface&gt;
      &lt;name&gt;Bundle-Ether1&lt;/name&gt;
      &lt;type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type"&gt;
        ianaift:ieee8023adLag
      &lt;/type&gt;
    &lt;/interface&gt;
  &lt;/interfaces&gt;
  &lt;routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"&gt;
    &lt;control-plane-protocols&gt;
      &lt;control-plane-protocol&gt;
        &lt;type xmlns:bfd-types=
            "urn:ietf:params:xml:ns:yang:ietf-bfd-types"&gt;
          bfd-types:bfdv1
        &lt;/type&gt;
        &lt;name&gt;name:BFD&lt;/name&gt;
        &lt;bfd xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd"&gt;
          &lt;lag xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-lag"&gt;
            &lt;sessions&gt;
              &lt;session&gt;
                &lt;lag-name&gt;Bundle-Ether1&lt;/lag-name&gt;
                &lt;ipv6-dest-addr&gt;2001:db8:112::16&lt;/ipv6-dest-addr&gt;
                &lt;desired-min-tx-interval&gt;
                  10000
                &lt;/desired-min-tx-interval&gt;
                &lt;required-min-rx-interval&gt;
                  10000
                &lt;/required-min-rx-interval&gt;
                &lt;use-ipv6&gt;true&lt;/use-ipv6&gt;
              &lt;/session&gt;
            &lt;/sessions&gt;
          &lt;/lag&gt;
        &lt;/bfd&gt;
      &lt;/control-plane-protocol&gt;
    &lt;/control-plane-protocols&gt;
  &lt;/routing&gt;
&lt;/config&gt;
</pre><a href="#section-3.3-2" class="pilcrow">¶</a>
</div>
</section>
<section id="section-3.4">
        <h3 id="name-mpls">
<a href="#section-3.4" class="section-number selfRef">3.4. </a><a href="#name-mpls" class="section-name selfRef">MPLS</a>
        </h3>
<p id="section-3.4-1">The following is an example of BFD configured for an MPLS LSP. In
        this case, the desired transmit interval and required receive interval
        are both set to 250 ms.<a href="#section-3.4-1" class="pilcrow">¶</a></p>
<div id="section-3.4-2">
<pre class="lang-xml sourcecode">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&gt;
  &lt;routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"&gt;
    &lt;control-plane-protocols&gt;
      &lt;control-plane-protocol&gt;
        &lt;type xmlns:bfd-types=
            "urn:ietf:params:xml:ns:yang:ietf-bfd-types"&gt;
          bfd-types:bfdv1
        &lt;/type&gt;
        &lt;name&gt;name:BFD&lt;/name&gt;
        &lt;bfd xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd"&gt;
          &lt;mpls xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-mpls"&gt;
            &lt;session-groups&gt;
              &lt;session-group&gt;
                &lt;mpls-fec&gt;2001:db8:114::/116&lt;/mpls-fec&gt;
                &lt;desired-min-tx-interval&gt;
                  250000
                &lt;/desired-min-tx-interval&gt;
                &lt;required-min-rx-interval&gt;
                  250000
                &lt;/required-min-rx-interval&gt;
              &lt;/session-group&gt;
            &lt;/session-groups&gt;
          &lt;/mpls&gt;
        &lt;/bfd&gt;
      &lt;/control-plane-protocol&gt;
    &lt;/control-plane-protocols&gt;
  &lt;/routing&gt;
&lt;/config&gt;
</pre><a href="#section-3.4-2" class="pilcrow">¶</a>
</div>
</section>
</section>
<section id="section-4">
      <h2 id="name-security-considerations">
<a href="#section-4" class="section-number selfRef">4. </a><a href="#name-security-considerations" class="section-name selfRef">Security Considerations</a>
      </h2>
<p id="section-4-1">The YANG modules specified in this document define a schema for data
that is designed to be accessed via network management protocols such
as NETCONF <span>[<a href="#RFC6241" class="xref">RFC6241</a>]</span> or RESTCONF <span>[<a href="#RFC8040" class="xref">RFC8040</a>]</span>.
The lowest NETCONF layer is the secure transport layer, and the
mandatory-to-implement secure transport is Secure Shell (SSH)
<span>[<a href="#RFC6242" class="xref">RFC6242</a>]</span>. The lowest RESTCONF layer is HTTPS, and the
mandatory-to-implement secure transport is TLS <span>[<a href="#RFC8446" class="xref">RFC8446</a>]</span>.<a href="#section-4-1" class="pilcrow">¶</a></p>
<p id="section-4-2">The Network Configuration Access Control Model (NACM) <span>[<a href="#RFC8341" class="xref">RFC8341</a>]</span>
provides the means to restrict access for particular NETCONF or RESTCONF users
to a preconfigured subset of all available NETCONF or RESTCONF protocol
operations and content.<a href="#section-4-2" class="pilcrow">¶</a></p>
<p id="section-4-3">There are a number of data nodes defined in these YANG modules that are
writable/creatable/deletable (i.e., config true, which is the default). These
data nodes may be considered sensitive or vulnerable in some network
environments. Write operations (e.g., edit-config) to these data nodes without
proper protection can have a negative effect on network operations. These are
      the subtrees and data nodes and their sensitivity/vulnerability from a write access perspective:<a href="#section-4-3" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-4-4">
        <dt id="section-4-4.1">/routing/control-plane-protocols/control-plane-protocol/bfd/ip-sh/sessions:</dt>
        <dd style="margin-left: 1.5em" id="section-4-4.2">
          <p id="section-4-4.2.1">This list specifies the IP single-hop BFD sessions.<a href="#section-4-4.2.1" class="pilcrow">¶</a></p>
<p id="section-4-4.2.2">Data nodes "local-multiplier", "desired-min-tx-interval",
      "required-min-rx-interval", and "min-interval" all impact the
      BFD IP single-hop session. The "source-addr" and "dest-addr" data nodes can be used to
      send BFD packets to unwitting recipients. <span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span> describes how BFD mitigates such
      threats. Authentication data nodes "key-chain" and "meticulous" impact the
      security of the BFD IP single-hop session.<a href="#section-4-4.2.2" class="pilcrow">¶</a></p>
</dd>
        <dd class="break"></dd>
<dt id="section-4-4.3">/routing/control-plane-protocols/control-plane-protocol/bfd/ip-mh/session-group:</dt>
        <dd style="margin-left: 1.5em" id="section-4-4.4">
          <p id="section-4-4.4.1">This list specifies the IP multihop BFD session groups.<a href="#section-4-4.4.1" class="pilcrow">¶</a></p>
<p id="section-4-4.4.2">Data nodes "local-multiplier", "desired-min-tx-interval",
      "required-min-rx-interval", and "min-interval" all impact the
      BFD IP multihop session. The "source-addr" and "dest-addr" data nodes can be used to
      send BFD packets to unwitting recipients. <span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span> describes how BFD mitigates such
      threats. Authentication data nodes "key-chain" and "meticulous" impact the
      security of the BFD IP multihop session.<a href="#section-4-4.4.2" class="pilcrow">¶</a></p>
</dd>
        <dd class="break"></dd>
<dt id="section-4-4.5">/routing/control-plane-protocols/control-plane-protocol/bfd/lag/sessions:</dt>
        <dd style="margin-left: 1.5em" id="section-4-4.6">
          <p id="section-4-4.6.1">This list specifies the BFD sessions over a LAG.<a href="#section-4-4.6.1" class="pilcrow">¶</a></p>
<p id="section-4-4.6.2">Data nodes "local-multiplier", "desired-min-tx-interval",
      "required-min-rx-interval", and "min-interval" all impact the BFD-over-LAG
      session. The "ipv4-dest-addr" and "ipv6-dest-addr" data nodes can be used to
      send BFD packets to unwitting recipients. <span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span> describes how BFD mitigates such
      threats. Authentication data nodes "key-chain" and "meticulous" impact the
      security of the BFD-over-LAG session.<a href="#section-4-4.6.2" class="pilcrow">¶</a></p>
</dd>
        <dd class="break"></dd>
<dt id="section-4-4.7">/routing/control-plane-protocols/control-plane-protocol/bfd/mpls/session-group:</dt>
        <dd style="margin-left: 1.5em" id="section-4-4.8">
          <p id="section-4-4.8.1">This list specifies the session groups for BFD over MPLS.<a href="#section-4-4.8.1" class="pilcrow">¶</a></p>
<p id="section-4-4.8.2">Data nodes "local-multiplier", "desired-min-tx-interval",
      "required-min-rx-interval", and "min-interval" all impact the
      BFD-over-MPLS-LSPs session. Authentication data nodes "key-chain" and "meticulous" impact
      the security of the BFD-over-MPLS-LSPs session.<a href="#section-4-4.8.2" class="pilcrow">¶</a></p>
</dd>
        <dd class="break"></dd>
<dt id="section-4-4.9">/routing/control-plane-protocols/control-plane-protocol/bfd/mpls/egress:</dt>
        <dd style="margin-left: 1.5em" id="section-4-4.10">Data nodes "local-multiplier", "desired-min-tx-interval",
      "required-min-rx-interval", and "min-interval" all impact the
      BFD-over-MPLS-LSPs sessions for which this device is an MPLS LSP egress
      node. Authentication data nodes "key-chain" and "meticulous" impact the
      security of the BFD-over-MPLS-LSPs sessions for which this device is an
      MPLS LSP egress node.<a href="#section-4-4.10" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<p id="section-4-5">The YANG modules have writable data nodes that can be used for the
      creation of BFD sessions and the modification of BFD session parameters. The
      system should "police" the creation of BFD sessions to prevent new sessions
      from causing existing BFD sessions to fail. In the case of BFD session
      modification, the BFD protocol has mechanisms in place that allow for
      in-service modification.<a href="#section-4-5" class="pilcrow">¶</a></p>
<p id="section-4-6">When BFD clients are used to modify BFD configuration (as described
      in <a href="#CFG-MODEL" class="xref">Section 2.1</a>), the BFD clients need to
      be included in an analysis of the security properties of the system that
      uses BFD (e.g., when considering the authentication and authorization of
      control actions). In many cases, BFD is not the most vulnerable portion
      of such a composite system, since BFD is limited to generating
      well-defined traffic at a fixed rate on a given path; in the case of an
      IGP acting as a BFD client, attacking the IGP could cause more broad-scale
      disruption than would (de)configuring a BFD session.<a href="#section-4-6" class="pilcrow">¶</a></p>
<p id="section-4-7">Some of the readable data nodes in these YANG modules may be considered
      sensitive or vulnerable in some network environments. It is thus
      important to control read access (e.g., via get, get-config, or
      notification) to these data nodes. These are the subtrees and data nodes
      and their sensitivity/vulnerability from a read access perspective:<a href="#section-4-7" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlNewline" id="section-4-8">
        <dt id="section-4-8.1">/routing/control-plane-protocols/control-plane-protocol/bfd/ip-sh/summary:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.2">Access to this information discloses the number of BFD IP single-hop
      sessions that are in the "up", "down", or "admin-down" state. The counters include BFD
      sessions for which the user does not have read access.<a href="#section-4-8.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.3">/routing/control-plane-protocols/control-plane-protocol/bfd/ip-sh/sessions/session/:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.4">Access to data nodes "local-discriminator" and "remote-discriminator"
      (combined with the data nodes in the authentication container) provides the
      ability to spoof BFD IP single-hop packets.<a href="#section-4-8.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.5">/routing/control-plane-protocols/control-plane-protocol/bfd/ip-mh/summary:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.6">Access to this information discloses the number of BFD IP multihop
      sessions that are in the "up", "down", or "admin-down" state. The counters include BFD
      sessions for which the user does not have read access.<a href="#section-4-8.6" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.7">/routing/control-plane-protocols/control-plane-protocol/bfd/ip-mh/session-groups/session-group/sessions:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.8">Access to data nodes "local-discriminator" and "remote-discriminator"
      (combined with the data nodes in the session group's authentication container) provides the
      ability to spoof BFD IP multihop packets.<a href="#section-4-8.8" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.9">/routing/control-plane-protocols/control-plane-protocol/bfd/lag/micro-bfd-ipv4-session-statistics/summary:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.10">Access to this information discloses the number of micro-BFD IPv4 LAG
      sessions that are in the "up", "down", or "admin-down" state. The counters include BFD
      sessions for which the user does not have read access.<a href="#section-4-8.10" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.11">/routing/control-plane-protocols/control-plane-protocol/bfd/lag/sessions/session/member-links/member-link/micro-bfd-ipv4:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.12">Access to data nodes "local-discriminator" and "remote-discriminator"
      (combined with the data nodes in the session's authentication container) provides the
      ability to spoof BFD IPv4 LAG packets.<a href="#section-4-8.12" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.13">/routing/control-plane-protocols/control-plane-protocol/bfd/lag/micro-bfd-ipv6-session-statistics/summary:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.14">Access to this information discloses the number of micro-BFD IPv6 LAG
      sessions that are in the "up", "down", or "admin-down" state. The counters include BFD
      sessions for which the user does not have read access.<a href="#section-4-8.14" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.15">/routing/control-plane-protocols/control-plane-protocol/bfd/lag/sessions/session/member-links/member-link/micro-bfd-ipv6:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.16">Access to data nodes "local-discriminator" and "remote-discriminator"
      (combined with the data nodes in the session's authentication container) provides the
      ability to spoof BFD IPv6 LAG packets.<a href="#section-4-8.16" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.17">/routing/control-plane-protocols/control-plane-protocol/bfd/mpls/summary:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.18">Access to this information discloses the number of BFD sessions over
      MPLS LSPs that are in the "up", "down", or "admin-down" state. The counters include BFD
      sessions for which the user does not have read access.<a href="#section-4-8.18" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-4-8.19">/routing/control-plane-protocols/control-plane-protocol/bfd/mpls/session-groups/session-group/sessions:</dt>
        <dd style="margin-left: 1.5em" id="section-4-8.20">Access to data nodes "local-discriminator" and "remote-discriminator"
      (combined with the data nodes in the session group's authentication container) provides the
      ability to spoof BFD-over-MPLS-LSPs packets.<a href="#section-4-8.20" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<p id="section-4-9">This document does not define any RPC operations.<a href="#section-4-9" class="pilcrow">¶</a></p>
</section>
<section id="section-5">
      <h2 id="name-iana-considerations">
<a href="#section-5" class="section-number selfRef">5. </a><a href="#name-iana-considerations" class="section-name selfRef">IANA Considerations</a>
      </h2>
<p id="section-5-1">This document registers the following namespace URIs in the "IETF XML Registry" <span>[<a href="#RFC3688" class="xref">RFC3688</a>]</span>:<a href="#section-5-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-2">
        <dt id="section-5-2.1">URI:</dt>
        <dd style="margin-left: 1.5em" id="section-5-2.2">urn:ietf:params:xml:ns:yang:ietf-bfd-types<a href="#section-5-2.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-2.3">Registrant Contact:</dt>
        <dd style="margin-left: 1.5em" id="section-5-2.4">The IESG.<a href="#section-5-2.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-2.5">XML:</dt>
        <dd style="margin-left: 1.5em" id="section-5-2.6">N/A; the requested URI is an XML namespace.<a href="#section-5-2.6" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-3">
        <dt id="section-5-3.1">URI:</dt>
        <dd style="margin-left: 1.5em" id="section-5-3.2">urn:ietf:params:xml:ns:yang:ietf-bfd<a href="#section-5-3.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-3.3">Registrant Contact:</dt>
        <dd style="margin-left: 1.5em" id="section-5-3.4">The IESG.<a href="#section-5-3.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-3.5">XML:</dt>
        <dd style="margin-left: 1.5em" id="section-5-3.6">N/A; the requested URI is an XML namespace.<a href="#section-5-3.6" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-4">
        <dt id="section-5-4.1">URI:</dt>
        <dd style="margin-left: 1.5em" id="section-5-4.2">urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh<a href="#section-5-4.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-4.3">Registrant Contact:</dt>
        <dd style="margin-left: 1.5em" id="section-5-4.4">The IESG.<a href="#section-5-4.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-4.5">XML:</dt>
        <dd style="margin-left: 1.5em" id="section-5-4.6">N/A; the requested URI is an XML namespace.<a href="#section-5-4.6" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-5">
        <dt id="section-5-5.1">URI:</dt>
        <dd style="margin-left: 1.5em" id="section-5-5.2">urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh<a href="#section-5-5.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-5.3">Registrant Contact:</dt>
        <dd style="margin-left: 1.5em" id="section-5-5.4">The IESG.<a href="#section-5-5.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-5.5">XML:</dt>
        <dd style="margin-left: 1.5em" id="section-5-5.6">N/A; the requested URI is an XML namespace.<a href="#section-5-5.6" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-6">
        <dt id="section-5-6.1">URI:</dt>
        <dd style="margin-left: 1.5em" id="section-5-6.2">urn:ietf:params:xml:ns:yang:ietf-bfd-lag<a href="#section-5-6.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-6.3">Registrant Contact:</dt>
        <dd style="margin-left: 1.5em" id="section-5-6.4">The IESG.<a href="#section-5-6.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-6.5">XML:</dt>
        <dd style="margin-left: 1.5em" id="section-5-6.6">N/A; the requested URI is an XML namespace.<a href="#section-5-6.6" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-7">
        <dt id="section-5-7.1">URI:</dt>
        <dd style="margin-left: 1.5em" id="section-5-7.2">urn:ietf:params:xml:ns:yang:ietf-bfd-mpls<a href="#section-5-7.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-7.3">Registrant Contact:</dt>
        <dd style="margin-left: 1.5em" id="section-5-7.4">The IESG.<a href="#section-5-7.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-7.5">XML:</dt>
        <dd style="margin-left: 1.5em" id="section-5-7.6">N/A; the requested URI is an XML namespace.<a href="#section-5-7.6" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<p id="section-5-8">This document registers the following YANG modules in the "YANG Module Names"
      registry <span>[<a href="#RFC6020" class="xref">RFC6020</a>]</span>:<a href="#section-5-8" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-9">
        <dt id="section-5-9.1">Name:</dt>
        <dd style="margin-left: 1.5em" id="section-5-9.2">ietf-bfd-types<a href="#section-5-9.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-9.3">Namespace:</dt>
        <dd style="margin-left: 1.5em" id="section-5-9.4">urn:ietf:params:xml:ns:yang:ietf-bfd-types<a href="#section-5-9.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-9.5">Prefix:</dt>
        <dd style="margin-left: 1.5em" id="section-5-9.6">bfd-types<a href="#section-5-9.6" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-9.7">Reference:</dt>
        <dd style="margin-left: 1.5em" id="section-5-9.8">RFC 9314<a href="#section-5-9.8" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-10">
        <dt id="section-5-10.1">Name:</dt>
        <dd style="margin-left: 1.5em" id="section-5-10.2">ietf-bfd<a href="#section-5-10.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-10.3">Namespace:</dt>
        <dd style="margin-left: 1.5em" id="section-5-10.4">urn:ietf:params:xml:ns:yang:ietf-bfd<a href="#section-5-10.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-10.5">Prefix:</dt>
        <dd style="margin-left: 1.5em" id="section-5-10.6">bfd<a href="#section-5-10.6" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-10.7">Reference:</dt>
        <dd style="margin-left: 1.5em" id="section-5-10.8">RFC 9314<a href="#section-5-10.8" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-11">
        <dt id="section-5-11.1">Name:</dt>
        <dd style="margin-left: 1.5em" id="section-5-11.2">ietf-bfd-ip-sh<a href="#section-5-11.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-11.3">Namespace:</dt>
        <dd style="margin-left: 1.5em" id="section-5-11.4">urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh<a href="#section-5-11.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-11.5">Prefix:</dt>
        <dd style="margin-left: 1.5em" id="section-5-11.6">bfd-ip-sh<a href="#section-5-11.6" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-11.7">Reference:</dt>
        <dd style="margin-left: 1.5em" id="section-5-11.8">RFC 9314<a href="#section-5-11.8" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-12">
        <dt id="section-5-12.1">Name:</dt>
        <dd style="margin-left: 1.5em" id="section-5-12.2">ietf-bfd-ip-mh<a href="#section-5-12.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-12.3">Namespace:</dt>
        <dd style="margin-left: 1.5em" id="section-5-12.4">urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh<a href="#section-5-12.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-12.5">Prefix:</dt>
        <dd style="margin-left: 1.5em" id="section-5-12.6">bfd-ip-mh<a href="#section-5-12.6" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-12.7">Reference:</dt>
        <dd style="margin-left: 1.5em" id="section-5-12.8">RFC 9314<a href="#section-5-12.8" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-13">
        <dt id="section-5-13.1">Name:</dt>
        <dd style="margin-left: 1.5em" id="section-5-13.2">ietf-bfd-lag<a href="#section-5-13.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-13.3">Namespace:</dt>
        <dd style="margin-left: 1.5em" id="section-5-13.4">urn:ietf:params:xml:ns:yang:ietf-bfd-lag<a href="#section-5-13.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-13.5">Prefix:</dt>
        <dd style="margin-left: 1.5em" id="section-5-13.6">bfd-lag<a href="#section-5-13.6" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-13.7">Reference:</dt>
        <dd style="margin-left: 1.5em" id="section-5-13.8">RFC 9314<a href="#section-5-13.8" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
<span class="break"></span><dl class="dlCompact dlParallel" id="section-5-14">
        <dt id="section-5-14.1">Name:</dt>
        <dd style="margin-left: 1.5em" id="section-5-14.2">ietf-bfd-mpls<a href="#section-5-14.2" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-14.3">Namespace:</dt>
        <dd style="margin-left: 1.5em" id="section-5-14.4">urn:ietf:params:xml:ns:yang:ietf-bfd-mpls<a href="#section-5-14.4" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-14.5">Prefix:</dt>
        <dd style="margin-left: 1.5em" id="section-5-14.6">bfd-mpls<a href="#section-5-14.6" class="pilcrow">¶</a>
</dd>
        <dd class="break"></dd>
<dt id="section-5-14.7">Reference:</dt>
        <dd style="margin-left: 1.5em" id="section-5-14.8">RFC 9314<a href="#section-5-14.8" class="pilcrow">¶</a>
</dd>
      <dd class="break"></dd>
</dl>
</section>
<section id="section-6">
      <h2 id="name-references">
<a href="#section-6" class="section-number selfRef">6. </a><a href="#name-references" class="section-name selfRef">References</a>
      </h2>
<section id="section-6.1">
        <h3 id="name-normative-references">
<a href="#section-6.1" class="section-number selfRef">6.1. </a><a href="#name-normative-references" class="section-name selfRef">Normative References</a>
        </h3>
<dl class="references">
<dt id="RFC3688">[RFC3688]</dt>
        <dd>
<span class="refAuthor">Mealling, M.</span>, <span class="refTitle">"The IETF XML Registry"</span>, <span class="seriesInfo">BCP 81</span>, <span class="seriesInfo">RFC 3688</span>, <span class="seriesInfo">DOI 10.17487/RFC3688</span>, <time datetime="2004-01" class="refDate">January 2004</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc3688">https://www.rfc-editor.org/info/rfc3688</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5586">[RFC5586]</dt>
        <dd>
<span class="refAuthor">Bocci, M., Ed.</span>, <span class="refAuthor">Vigoureux, M., Ed.</span>, and <span class="refAuthor">S. Bryant, Ed.</span>, <span class="refTitle">"MPLS Generic Associated Channel"</span>, <span class="seriesInfo">RFC 5586</span>, <span class="seriesInfo">DOI 10.17487/RFC5586</span>, <time datetime="2009-06" class="refDate">June 2009</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5586">https://www.rfc-editor.org/info/rfc5586</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5880">[RFC5880]</dt>
        <dd>
<span class="refAuthor">Katz, D.</span> and <span class="refAuthor">D. Ward</span>, <span class="refTitle">"Bidirectional Forwarding Detection (BFD)"</span>, <span class="seriesInfo">RFC 5880</span>, <span class="seriesInfo">DOI 10.17487/RFC5880</span>, <time datetime="2010-06" class="refDate">June 2010</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5880">https://www.rfc-editor.org/info/rfc5880</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5881">[RFC5881]</dt>
        <dd>
<span class="refAuthor">Katz, D.</span> and <span class="refAuthor">D. Ward</span>, <span class="refTitle">"Bidirectional Forwarding Detection (BFD) for IPv4 and IPv6 (Single Hop)"</span>, <span class="seriesInfo">RFC 5881</span>, <span class="seriesInfo">DOI 10.17487/RFC5881</span>, <time datetime="2010-06" class="refDate">June 2010</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5881">https://www.rfc-editor.org/info/rfc5881</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5882">[RFC5882]</dt>
        <dd>
<span class="refAuthor">Katz, D.</span> and <span class="refAuthor">D. Ward</span>, <span class="refTitle">"Generic Application of Bidirectional Forwarding Detection (BFD)"</span>, <span class="seriesInfo">RFC 5882</span>, <span class="seriesInfo">DOI 10.17487/RFC5882</span>, <time datetime="2010-06" class="refDate">June 2010</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5882">https://www.rfc-editor.org/info/rfc5882</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5883">[RFC5883]</dt>
        <dd>
<span class="refAuthor">Katz, D.</span> and <span class="refAuthor">D. Ward</span>, <span class="refTitle">"Bidirectional Forwarding Detection (BFD) for Multihop Paths"</span>, <span class="seriesInfo">RFC 5883</span>, <span class="seriesInfo">DOI 10.17487/RFC5883</span>, <time datetime="2010-06" class="refDate">June 2010</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5883">https://www.rfc-editor.org/info/rfc5883</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5884">[RFC5884]</dt>
        <dd>
<span class="refAuthor">Aggarwal, R.</span>, <span class="refAuthor">Kompella, K.</span>, <span class="refAuthor">Nadeau, T.</span>, and <span class="refAuthor">G. Swallow</span>, <span class="refTitle">"Bidirectional Forwarding Detection (BFD) for MPLS Label Switched Paths (LSPs)"</span>, <span class="seriesInfo">RFC 5884</span>, <span class="seriesInfo">DOI 10.17487/RFC5884</span>, <time datetime="2010-06" class="refDate">June 2010</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5884">https://www.rfc-editor.org/info/rfc5884</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC5885">[RFC5885]</dt>
        <dd>
<span class="refAuthor">Nadeau, T., Ed.</span> and <span class="refAuthor">C. Pignataro, Ed.</span>, <span class="refTitle">"Bidirectional Forwarding Detection (BFD) for the Pseudowire Virtual Circuit Connectivity Verification (VCCV)"</span>, <span class="seriesInfo">RFC 5885</span>, <span class="seriesInfo">DOI 10.17487/RFC5885</span>, <time datetime="2010-06" class="refDate">June 2010</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc5885">https://www.rfc-editor.org/info/rfc5885</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC6020">[RFC6020]</dt>
        <dd>
<span class="refAuthor">Bjorklund, M., Ed.</span>, <span class="refTitle">"YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)"</span>, <span class="seriesInfo">RFC 6020</span>, <span class="seriesInfo">DOI 10.17487/RFC6020</span>, <time datetime="2010-10" class="refDate">October 2010</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc6020">https://www.rfc-editor.org/info/rfc6020</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC6241">[RFC6241]</dt>
        <dd>
<span class="refAuthor">Enns, R., Ed.</span>, <span class="refAuthor">Bjorklund, M., Ed.</span>, <span class="refAuthor">Schoenwaelder, J., Ed.</span>, and <span class="refAuthor">A. Bierman, Ed.</span>, <span class="refTitle">"Network Configuration Protocol (NETCONF)"</span>, <span class="seriesInfo">RFC 6241</span>, <span class="seriesInfo">DOI 10.17487/RFC6241</span>, <time datetime="2011-06" class="refDate">June 2011</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc6241">https://www.rfc-editor.org/info/rfc6241</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC6242">[RFC6242]</dt>
        <dd>
<span class="refAuthor">Wasserman, M.</span>, <span class="refTitle">"Using the NETCONF Protocol over Secure Shell (SSH)"</span>, <span class="seriesInfo">RFC 6242</span>, <span class="seriesInfo">DOI 10.17487/RFC6242</span>, <time datetime="2011-06" class="refDate">June 2011</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc6242">https://www.rfc-editor.org/info/rfc6242</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC6991">[RFC6991]</dt>
        <dd>
<span class="refAuthor">Schoenwaelder, J., Ed.</span>, <span class="refTitle">"Common YANG Data Types"</span>, <span class="seriesInfo">RFC 6991</span>, <span class="seriesInfo">DOI 10.17487/RFC6991</span>, <time datetime="2013-07" class="refDate">July 2013</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc6991">https://www.rfc-editor.org/info/rfc6991</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC7130">[RFC7130]</dt>
        <dd>
<span class="refAuthor">Bhatia, M., Ed.</span>, <span class="refAuthor">Chen, M., Ed.</span>, <span class="refAuthor">Boutros, S., Ed.</span>, <span class="refAuthor">Binderberger, M., Ed.</span>, and <span class="refAuthor">J. Haas, Ed.</span>, <span class="refTitle">"Bidirectional Forwarding Detection (BFD) on Link Aggregation Group (LAG) Interfaces"</span>, <span class="seriesInfo">RFC 7130</span>, <span class="seriesInfo">DOI 10.17487/RFC7130</span>, <time datetime="2014-02" class="refDate">February 2014</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc7130">https://www.rfc-editor.org/info/rfc7130</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8040">[RFC8040]</dt>
        <dd>
<span class="refAuthor">Bierman, A.</span>, <span class="refAuthor">Bjorklund, M.</span>, and <span class="refAuthor">K. Watsen</span>, <span class="refTitle">"RESTCONF Protocol"</span>, <span class="seriesInfo">RFC 8040</span>, <span class="seriesInfo">DOI 10.17487/RFC8040</span>, <time datetime="2017-01" class="refDate">January 2017</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8040">https://www.rfc-editor.org/info/rfc8040</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8177">[RFC8177]</dt>
        <dd>
<span class="refAuthor">Lindem, A., Ed.</span>, <span class="refAuthor">Qu, Y.</span>, <span class="refAuthor">Yeung, D.</span>, <span class="refAuthor">Chen, I.</span>, and <span class="refAuthor">J. Zhang</span>, <span class="refTitle">"YANG Data Model for Key Chains"</span>, <span class="seriesInfo">RFC 8177</span>, <span class="seriesInfo">DOI 10.17487/RFC8177</span>, <time datetime="2017-06" class="refDate">June 2017</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8177">https://www.rfc-editor.org/info/rfc8177</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8340">[RFC8340]</dt>
        <dd>
<span class="refAuthor">Bjorklund, M.</span> and <span class="refAuthor">L. Berger, Ed.</span>, <span class="refTitle">"YANG Tree Diagrams"</span>, <span class="seriesInfo">BCP 215</span>, <span class="seriesInfo">RFC 8340</span>, <span class="seriesInfo">DOI 10.17487/RFC8340</span>, <time datetime="2018-03" class="refDate">March 2018</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8340">https://www.rfc-editor.org/info/rfc8340</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8341">[RFC8341]</dt>
        <dd>
<span class="refAuthor">Bierman, A.</span> and <span class="refAuthor">M. Bjorklund</span>, <span class="refTitle">"Network Configuration Access Control Model"</span>, <span class="seriesInfo">STD 91</span>, <span class="seriesInfo">RFC 8341</span>, <span class="seriesInfo">DOI 10.17487/RFC8341</span>, <time datetime="2018-03" class="refDate">March 2018</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8341">https://www.rfc-editor.org/info/rfc8341</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8343">[RFC8343]</dt>
        <dd>
<span class="refAuthor">Bjorklund, M.</span>, <span class="refTitle">"A YANG Data Model for Interface Management"</span>, <span class="seriesInfo">RFC 8343</span>, <span class="seriesInfo">DOI 10.17487/RFC8343</span>, <time datetime="2018-03" class="refDate">March 2018</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8343">https://www.rfc-editor.org/info/rfc8343</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8344">[RFC8344]</dt>
        <dd>
<span class="refAuthor">Bjorklund, M.</span>, <span class="refTitle">"A YANG Data Model for IP Management"</span>, <span class="seriesInfo">RFC 8344</span>, <span class="seriesInfo">DOI 10.17487/RFC8344</span>, <time datetime="2018-03" class="refDate">March 2018</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8344">https://www.rfc-editor.org/info/rfc8344</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8349">[RFC8349]</dt>
        <dd>
<span class="refAuthor">Lhotka, L.</span>, <span class="refAuthor">Lindem, A.</span>, and <span class="refAuthor">Y. Qu</span>, <span class="refTitle">"A YANG Data Model for Routing Management (NMDA Version)"</span>, <span class="seriesInfo">RFC 8349</span>, <span class="seriesInfo">DOI 10.17487/RFC8349</span>, <time datetime="2018-03" class="refDate">March 2018</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8349">https://www.rfc-editor.org/info/rfc8349</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8446">[RFC8446]</dt>
        <dd>
<span class="refAuthor">Rescorla, E.</span>, <span class="refTitle">"The Transport Layer Security (TLS) Protocol Version 1.3"</span>, <span class="seriesInfo">RFC 8446</span>, <span class="seriesInfo">DOI 10.17487/RFC8446</span>, <time datetime="2018-08" class="refDate">August 2018</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8446">https://www.rfc-editor.org/info/rfc8446</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8960">[RFC8960]</dt>
        <dd>
<span class="refAuthor">Saad, T.</span>, <span class="refAuthor">Raza, K.</span>, <span class="refAuthor">Gandhi, R.</span>, <span class="refAuthor">Liu, X.</span>, and <span class="refAuthor">V. Beeram</span>, <span class="refTitle">"A YANG Data Model for MPLS Base"</span>, <span class="seriesInfo">RFC 8960</span>, <span class="seriesInfo">DOI 10.17487/RFC8960</span>, <time datetime="2020-12" class="refDate">December 2020</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8960">https://www.rfc-editor.org/info/rfc8960</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC9127">[RFC9127]</dt>
      <dd>
<span class="refAuthor">Rahman, R., Ed.</span>, <span class="refAuthor">Zheng, L., Ed.</span>, <span class="refAuthor">Jethanandani, M., Ed.</span>, <span class="refAuthor">Pallagatti, S.</span>, and <span class="refAuthor">G. Mirsky</span>, <span class="refTitle">"YANG Data Model for Bidirectional Forwarding Detection (BFD)"</span>, <span class="seriesInfo">RFC 9127</span>, <span class="seriesInfo">DOI 10.17487/RFC9127</span>, <time datetime="2021-10" class="refDate">October 2021</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc9127">https://www.rfc-editor.org/info/rfc9127</a>&gt;</span>. </dd>
<dd class="break"></dd>
</dl>
</section>
<section id="section-6.2">
        <h3 id="name-informative-references">
<a href="#section-6.2" class="section-number selfRef">6.2. </a><a href="#name-informative-references" class="section-name selfRef">Informative References</a>
        </h3>
<dl class="references">
<dt id="RFC3031">[RFC3031]</dt>
        <dd>
<span class="refAuthor">Rosen, E.</span>, <span class="refAuthor">Viswanathan, A.</span>, and <span class="refAuthor">R. Callon</span>, <span class="refTitle">"Multiprotocol Label Switching Architecture"</span>, <span class="seriesInfo">RFC 3031</span>, <span class="seriesInfo">DOI 10.17487/RFC3031</span>, <time datetime="2001-01" class="refDate">January 2001</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc3031">https://www.rfc-editor.org/info/rfc3031</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8342">[RFC8342]</dt>
        <dd>
<span class="refAuthor">Bjorklund, M.</span>, <span class="refAuthor">Schoenwaelder, J.</span>, <span class="refAuthor">Shafer, P.</span>, <span class="refAuthor">Watsen, K.</span>, and <span class="refAuthor">R. Wilton</span>, <span class="refTitle">"Network Management Datastore Architecture (NMDA)"</span>, <span class="seriesInfo">RFC 8342</span>, <span class="seriesInfo">DOI 10.17487/RFC8342</span>, <time datetime="2018-03" class="refDate">March 2018</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8342">https://www.rfc-editor.org/info/rfc8342</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8529">[RFC8529]</dt>
        <dd>
<span class="refAuthor">Berger, L.</span>, <span class="refAuthor">Hopps, C.</span>, <span class="refAuthor">Lindem, A.</span>, <span class="refAuthor">Bogdanovic, D.</span>, and <span class="refAuthor">X. Liu</span>, <span class="refTitle">"YANG Data Model for Network Instances"</span>, <span class="seriesInfo">RFC 8529</span>, <span class="seriesInfo">DOI 10.17487/RFC8529</span>, <time datetime="2019-03" class="refDate">March 2019</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8529">https://www.rfc-editor.org/info/rfc8529</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8530">[RFC8530]</dt>
        <dd>
<span class="refAuthor">Berger, L.</span>, <span class="refAuthor">Hopps, C.</span>, <span class="refAuthor">Lindem, A.</span>, <span class="refAuthor">Bogdanovic, D.</span>, and <span class="refAuthor">X. Liu</span>, <span class="refTitle">"YANG Model for Logical Network Elements"</span>, <span class="seriesInfo">RFC 8530</span>, <span class="seriesInfo">DOI 10.17487/RFC8530</span>, <time datetime="2019-03" class="refDate">March 2019</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8530">https://www.rfc-editor.org/info/rfc8530</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="RFC8532">[RFC8532]</dt>
        <dd>
<span class="refAuthor">Kumar, D.</span>, <span class="refAuthor">Wang, Z.</span>, <span class="refAuthor">Wu, Q., Ed.</span>, <span class="refAuthor">Rahman, R.</span>, and <span class="refAuthor">S. Raghavan</span>, <span class="refTitle">"Generic YANG Data Model for the Management of Operations, Administration, and Maintenance (OAM) Protocols That Use Connectionless Communications"</span>, <span class="seriesInfo">RFC 8532</span>, <span class="seriesInfo">DOI 10.17487/RFC8532</span>, <time datetime="2019-04" class="refDate">April 2019</time>, <span>&lt;<a href="https://www.rfc-editor.org/info/rfc8532">https://www.rfc-editor.org/info/rfc8532</a>&gt;</span>. </dd>
<dd class="break"></dd>
<dt id="W3C.REC-xml-20081126">[W3C.REC-xml-20081126]</dt>
      <dd>
<span class="refAuthor">Bray, T.</span>, <span class="refAuthor">Paoli, J.</span>, <span class="refAuthor">Sperberg-McQueen, M.</span>, <span class="refAuthor">Maler, E.</span>, and <span class="refAuthor">F. Yergeau</span>, <span class="refTitle">"Extensible Markup Language (XML) 1.0 (Fifth Edition)"</span>, <span class="refContent">World Wide Web Consortium Recommendation REC-xml-20081126</span>, <time datetime="2008-11" class="refDate">November 2008</time>, <span>&lt;<a href="https://www.w3.org/TR/2008/REC-xml-20081126">https://www.w3.org/TR/2008/REC-xml-20081126</a>&gt;</span>. </dd>
<dd class="break"></dd>
</dl>
</section>
</section>
<div id="ECHO-CONFIG">
<section id="appendix-A">
      <h2 id="name-echo-function-configuration">
<a href="#appendix-A" class="section-number selfRef">Appendix A. </a><a href="#name-echo-function-configuration" class="section-name selfRef">Echo Function Configuration Example</a>
      </h2>
<p id="appendix-A-1">As mentioned in <a href="#IP-SH-CFG" class="xref">Section 2.1.2</a>, the mechanism to start
      and stop the Echo function, as defined in <span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span> and discussed in 
      <span>[<a href="#RFC5881" class="xref">RFC5881</a>]</span>, is implementation specific. In this appendix, we
      provide an example of how the Echo function can be implemented via
      configuration.<a href="#appendix-A-1" class="pilcrow">¶</a></p>
<div id="appendix-A-2">
<pre class="lang-yangtree sourcecode">
module: example-bfd-echo
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh
            /bfd-ip-sh:sessions:
    +--rw echo {bfd-types:echo-mode}?
       +--rw desired-min-echo-tx-interval?    uint32
       +--rw required-min-echo-rx-interval?   uint32
</pre><a href="#appendix-A-2" class="pilcrow">¶</a>
</div>
<section id="appendix-A.1">
        <h3 id="name-example-yang-module-for-bfd">
<a href="#appendix-A.1" class="section-number selfRef">A.1. </a><a href="#name-example-yang-module-for-bfd" class="section-name selfRef">Example YANG Module for BFD Echo Function Configuration</a>
        </h3>
<p id="appendix-A.1-1">This appendix provides an example YANG module for
        configuration of the BFD Echo function.  It imports and augments
        "/routing/control-plane-protocols/control-plane-protocol" from
        <span>[<a href="#RFC8349" class="xref">RFC8349</a>]</span>, and it references <span>[<a href="#RFC5880" class="xref">RFC5880</a>]</span>.<a href="#appendix-A.1-1" class="pilcrow">¶</a></p>
<div id="appendix-A.1-2">
<pre class="breakable lang-yang sourcecode">
module example-bfd-echo {
  namespace "tag:example.com,2021:example-bfd-echo";
  prefix example-bfd-echo;

  import ietf-bfd-types {
    prefix bfd-types;
  }
  import ietf-bfd {
    prefix bfd;
  }
  import ietf-bfd-ip-sh {
    prefix bfd-ip-sh;
  }
  import ietf-routing {
    prefix rt;
  }

  organization
    "IETF BFD Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/bfd/&gt;
     WG List:  &lt;mailto:rtg-bfd@ietf.org&gt;

     Editor:   Reshad Rahman
               &lt;mailto:reshad@yahoo.com&gt;

     Editor:   Lianshu Zheng
               &lt;mailto:veronique_cheng@hotmail.com&gt;

     Editor:   Mahesh Jethanandani
               &lt;mailto:mjethanandani@gmail.com&gt;";
  description
    "This module contains an example YANG augmentation for
     configuration of the BFD Echo function.

     Copyright (c) 2021 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject
     to the license terms contained in, the Revised BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9127; see the
     RFC itself for full legal notices.";

  revision 2021-10-21 {
    description
      "Initial revision.";
    reference
      "RFC 9127: YANG Data Model for Bidirectional Forwarding
       Detection (BFD)";
  }

  /*
   * Groupings
   */

  grouping echo-cfg-parms {
    description
      "BFD grouping for Echo configuration parameters.";
    leaf desired-min-echo-tx-interval {
      type uint32;
      units "microseconds";
      default "0";
      description
        "This is the minimum interval that the local system would
         like to use when transmitting BFD Echo packets.  If 0,
         the Echo function as defined in BFD (RFC 5880) is
         disabled.";
    }
    leaf required-min-echo-rx-interval {
      type uint32;
      units "microseconds";
      default "0";
      description
        "This is the Required Min Echo RX Interval as defined in BFD
         (RFC 5880).";
    }
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
        + "bfd-ip-sh:sessions" {
    description
      "Augmentation for the BFD Echo function.";
    container echo {
      if-feature "bfd-types:echo-mode";
      description
        "BFD Echo function container.";
      uses echo-cfg-parms;
    }
  }
}
</pre><a href="#appendix-A.1-2" class="pilcrow">¶</a>
</div>
</section>
</section>
</div>
<div id="updates-since-rfc-9127">
<section id="appendix-B">
      <h2 id="name-updates-since-rfc-9127">
<a href="#appendix-B" class="section-number selfRef">Appendix B. </a><a href="#name-updates-since-rfc-9127" class="section-name selfRef">Updates since RFC 9127</a>
      </h2>
<p id="appendix-B-1">This document updates the 'ietf-bfd-types' module
      to define a new feature called 'client-base-cfg-parms and an
      'if-feature' statement that conditionally includes definitions
      of parameters, such as 'multiplier' or
      'desired-min-tx-interval'. The feature statement allows
      YANG implementations of protocols, such as OSPF, IS-IS, PIM,
      and BGP, to support both a model where such parameters are
      not needed, such as when multiple BFD sessions are supported
      over a given interface, as well as when they need to be
      defined per session. As a result, the BFD MPLS module has to
      use the base-cfg-parms instead of client-cfg-parms to be able
      to include all the parameters unconditionally.<a href="#appendix-B-1" class="pilcrow">¶</a></p>
<p id="appendix-B-2">The
      iana-bfd-types module, created in RFC 9127, was delegated to
      IANA for maintenance. No changes are requested from IANA as
      part of this update.<a href="#appendix-B-2" class="pilcrow">¶</a></p>
</section>
</div>
<section id="appendix-C">
      <h2 id="name-acknowledgments">
<a href="#name-acknowledgments" class="section-name selfRef">Acknowledgments</a>
      </h2>
<p id="appendix-C-1">We would like to thank <span class="contact-name">Nobo Akiya</span> and
      <span class="contact-name">Jeff Haas</span> for their encouragement on this work.
      We would also like to thank <span class="contact-name">Tom Petch</span> for his
      comments on the document. We would also like to thank
      <span class="contact-name">Acee Lindem</span> for his guidance. Thanks also to
      <span class="contact-name">Jürgen Schönwälder</span>, who was instrumental in improving the YANG
      modules.<a href="#appendix-C-1" class="pilcrow">¶</a></p>
</section>
<div id="authors-addresses">
<section id="appendix-D">
      <h2 id="name-authors-addresses">
<a href="#name-authors-addresses" class="section-name selfRef">Authors' Addresses</a>
      </h2>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Mahesh Jethanandani (<span class="role">editor</span>)</span></div>
<div dir="auto" class="left"><span class="org">Xoriant Corporation</span></div>
<div dir="auto" class="left"><span class="street-address">1248 Reamwood Ave</span></div>
<div dir="auto" class="left">
<span class="locality">Sunnyvale</span>, <span class="region">CA</span> <span class="postal-code">94089</span>
</div>
<div dir="auto" class="left"><span class="country-name">United States of America</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:mjethanandani@gmail.com" class="email">mjethanandani@gmail.com</a>
</div>
</address>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Reshad Rahman (<span class="role">editor</span>)</span></div>
<div dir="auto" class="left"><span class="country-name">Canada</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:reshad@yahoo.com" class="email">reshad@yahoo.com</a>
</div>
</address>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Lianshu Zheng (<span class="role">editor</span>)</span></div>
<div dir="auto" class="left"><span class="org">Huawei Technologies</span></div>
<div dir="auto" class="left"><span class="country-name">China</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:veronique_cheng@hotmail.com" class="email">veronique_cheng@hotmail.com</a>
</div>
</address>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Santosh Pallagatti</span></div>
<div dir="auto" class="left"><span class="org">VMware</span></div>
<div dir="auto" class="left"><span class="country-name">India</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:santosh.pallagatti@gmail.com" class="email">santosh.pallagatti@gmail.com</a>
</div>
</address>
<address class="vcard">
        <div dir="auto" class="left"><span class="fn nameRole">Greg Mirsky</span></div>
<div dir="auto" class="left"><span class="org">Ericsson</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:gregimirsky@gmail.com" class="email">gregimirsky@gmail.com</a>
</div>
</address>
</section>
</div>
<script>const toc = document.getElementById("toc");
toc.querySelector("h2").addEventListener("click", e => {
  toc.classList.toggle("active");
});
toc.querySelector("nav").addEventListener("click", e => {
  toc.classList.remove("active");
});
</script>
</body>
</html>