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
|
<!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 8986: Segment Routing over IPv6 (SRv6) Network Programming</title>
<meta content="Clarence Filsfils" name="author">
<meta content="Pablo Camarillo Garvia" name="author">
<meta content="John Leddy" name="author">
<meta content="Daniel Voyer" name="author">
<meta content="Satoru Matsushima" name="author">
<meta content="Zhenbin Li" name="author">
<meta content="
The Segment Routing over IPv6 (SRv6) Network Programming framework enables a
network operator or an application to specify a packet processing
program by encoding a sequence of instructions in the IPv6 packet
header.
Each instruction is implemented on one or several nodes in the
network and identified by an SRv6 Segment Identifier in the packet.
This document defines the SRv6 Network Programming concept and
specifies the base set of SRv6 behaviors that enables the creation of
interoperable overlays with underlay optimization.
" name="description">
<meta content="xml2rfc 3.5.0" name="generator">
<meta content="SRv6" name="keyword">
<meta content="Segment Routing" name="keyword">
<meta content="IPv6 Segment Routing" name="keyword">
<meta content="8986" name="rfc.number">
<!-- Generator version information:
xml2rfc 3.5.0
Python 3.6.10
appdirs 1.4.4
ConfigArgParse 1.2.3
google-i18n-address 2.3.5
html5lib 1.0.1
intervaltree 3.0.2
Jinja2 2.11.2
kitchen 1.2.6
lxml 4.4.2
pycairo 1.19.0
pycountry 19.8.18
pyflakes 2.1.1
PyYAML 5.3.1
requests 2.22.0
setuptools 40.6.2
six 1.14.0
WeasyPrint 51
-->
<link href="rfc8986.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 {
border: none;
/* this isn't optimal, but it's an existence proof. PrinceXML doesn't
support flexbox yet.
*/
display: table;
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.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;
}
#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;
}
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: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: avoid-page;
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";
}
</style>
<link href="rfc-local.css" rel="stylesheet" type="text/css">
<link href="https://dx.doi.org/10.17487/rfc8986" rel="alternate">
<link href="urn:issn:2070-1721" rel="alternate">
<link href="https://datatracker.ietf.org/doc/draft-ietf-spring-srv6-network-programming-28" 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 8986</td>
<td class="center">SRv6 Network Programming</td>
<td class="right">February 2021</td>
</tr></thead>
<tfoot><tr>
<td class="left">Filsfils, 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/rfc8986" class="eref">8986</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="2021-02" class="published">February 2021</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">C. Filsfils, <span class="editor">Ed.</span>
</div>
<div class="org">Cisco Systems, Inc.</div>
</div>
<div class="author">
<div class="author-name">P. Camarillo, <span class="editor">Ed.</span>
</div>
<div class="org">Cisco Systems, Inc.</div>
</div>
<div class="author">
<div class="author-name">J. Leddy</div>
<div class="org">Akamai Technologies</div>
</div>
<div class="author">
<div class="author-name">D. Voyer</div>
<div class="org">Bell Canada</div>
</div>
<div class="author">
<div class="author-name">S. Matsushima</div>
<div class="org">SoftBank</div>
</div>
<div class="author">
<div class="author-name">Z. Li</div>
<div class="org">Huawei Technologies</div>
</div>
</dd>
</dl>
</div>
<h1 id="rfcnum">RFC 8986</h1>
<h1 id="title">Segment Routing over IPv6 (SRv6) Network Programming</h1>
<section id="section-abstract">
<h2 id="abstract"><a href="#abstract" class="selfRef">Abstract</a></h2>
<p id="section-abstract-1">The Segment Routing over IPv6 (SRv6) Network Programming framework enables a
network operator or an application to specify a packet processing
program by encoding a sequence of instructions in the IPv6 packet
header.<a href="#section-abstract-1" class="pilcrow">ΒΆ</a></p>
<p id="section-abstract-2">Each instruction is implemented on one or several nodes in the
network and identified by an SRv6 Segment Identifier in the packet.<a href="#section-abstract-2" class="pilcrow">ΒΆ</a></p>
<p id="section-abstract-3">This document defines the SRv6 Network Programming concept and
specifies the base set of SRv6 behaviors that enables the creation of
interoperable overlays with underlay optimization.<a href="#section-abstract-3" 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/rfc8986">https://www.rfc-editor.org/info/rfc8986</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) 2021 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 Simplified BSD License text as described in
Section 4.e of the Trust Legal Provisions and are provided without
warranty as described in the Simplified 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="toc compact ulEmpty">
<li class="toc compact 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><a href="#section-toc.1-1.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.2">
<p id="section-toc.1-1.2.1" class="keepWithNext"><a href="#section-2" class="xref">2</a>.Β Β <a href="#name-terminology" class="xref">Terminology</a><a href="#section-toc.1-1.2.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.2.2.1">
<p id="section-toc.1-1.2.2.1.1" class="keepWithNext"><a href="#section-2.1" class="xref">2.1</a>.Β Β <a href="#name-requirements-language" class="xref">Requirements Language</a><a href="#section-toc.1-1.2.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
<li class="toc compact 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-srv6-sid" class="xref">SRv6 SID</a><a href="#section-toc.1-1.3.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact 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-sid-format" class="xref">SID Format</a><a href="#section-toc.1-1.3.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact 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-sid-allocation-within-an-sr" class="xref">SID Allocation within an SR Domain</a><a href="#section-toc.1-1.3.2.2.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact 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-sid-reachability" class="xref">SID Reachability</a><a href="#section-toc.1-1.3.2.3.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
<li class="toc compact 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-sr-endpoint-behaviors" class="xref">SR Endpoint Behaviors</a><a href="#section-toc.1-1.4.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.1">
<p id="section-toc.1-1.4.2.1.1"><a href="#section-4.1" class="xref">4.1</a>.Β Β <a href="#name-end-endpoint" class="xref">End: Endpoint</a><a href="#section-toc.1-1.4.2.1.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.1.2.1">
<p id="section-toc.1-1.4.2.1.2.1.1"><a href="#section-4.1.1" class="xref">4.1.1</a>.Β Β <a href="#name-upper-layer-header" class="xref">Upper-Layer Header</a><a href="#section-toc.1-1.4.2.1.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.2">
<p id="section-toc.1-1.4.2.2.1"><a href="#section-4.2" class="xref">4.2</a>.Β Β <a href="#name-endx-l3-cross-connect" class="xref">End.X: L3 Cross-Connect</a><a href="#section-toc.1-1.4.2.2.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.3">
<p id="section-toc.1-1.4.2.3.1"><a href="#section-4.3" class="xref">4.3</a>.Β Β <a href="#name-endt-specific-ipv6-table-lo" class="xref">End.T: Specific IPv6 Table Lookup</a><a href="#section-toc.1-1.4.2.3.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.4">
<p id="section-toc.1-1.4.2.4.1"><a href="#section-4.4" class="xref">4.4</a>.Β Β <a href="#name-enddx6-decapsulation-and-ip" class="xref">End.DX6: Decapsulation and IPv6 Cross-Connect</a><a href="#section-toc.1-1.4.2.4.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.5">
<p id="section-toc.1-1.4.2.5.1"><a href="#section-4.5" class="xref">4.5</a>.Β Β <a href="#name-enddx4-decapsulation-and-ip" class="xref">End.DX4: Decapsulation and IPv4 Cross-Connect</a><a href="#section-toc.1-1.4.2.5.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.6">
<p id="section-toc.1-1.4.2.6.1"><a href="#section-4.6" class="xref">4.6</a>.Β Β <a href="#name-enddt6-decapsulation-and-sp" class="xref">End.DT6: Decapsulation and Specific IPv6 Table Lookup</a><a href="#section-toc.1-1.4.2.6.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.7">
<p id="section-toc.1-1.4.2.7.1"><a href="#section-4.7" class="xref">4.7</a>.Β Β <a href="#name-enddt4-decapsulation-and-sp" class="xref">End.DT4: Decapsulation and Specific IPv4 Table Lookup</a><a href="#section-toc.1-1.4.2.7.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.8">
<p id="section-toc.1-1.4.2.8.1"><a href="#section-4.8" class="xref">4.8</a>.Β Β <a href="#name-enddt46-decapsulation-and-s" class="xref">End.DT46: Decapsulation and Specific IP Table Lookup</a><a href="#section-toc.1-1.4.2.8.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.9">
<p id="section-toc.1-1.4.2.9.1"><a href="#section-4.9" class="xref">4.9</a>.Β Β <a href="#name-enddx2-decapsulation-and-l2" class="xref">End.DX2: Decapsulation and L2 Cross-Connect</a><a href="#section-toc.1-1.4.2.9.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.10">
<p id="section-toc.1-1.4.2.10.1"><a href="#section-4.10" class="xref">4.10</a>.Β <a href="#name-enddx2v-decapsulation-and-v" class="xref">End.DX2V: Decapsulation and VLAN L2 Table Lookup</a><a href="#section-toc.1-1.4.2.10.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.11">
<p id="section-toc.1-1.4.2.11.1"><a href="#section-4.11" class="xref">4.11</a>.Β <a href="#name-enddt2u-decapsulation-and-u" class="xref">End.DT2U: Decapsulation and Unicast MAC L2 Table Lookup</a><a href="#section-toc.1-1.4.2.11.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.12">
<p id="section-toc.1-1.4.2.12.1"><a href="#section-4.12" class="xref">4.12</a>.Β <a href="#name-enddt2m-decapsulation-and-l" class="xref">End.DT2M: Decapsulation and L2 Table Flooding</a><a href="#section-toc.1-1.4.2.12.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.13">
<p id="section-toc.1-1.4.2.13.1"><a href="#section-4.13" class="xref">4.13</a>.Β <a href="#name-endb6encaps-endpoint-bound-" class="xref">End.B6.Encaps: Endpoint Bound to an SRv6 Policy with Encapsulation</a><a href="#section-toc.1-1.4.2.13.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.14">
<p id="section-toc.1-1.4.2.14.1"><a href="#section-4.14" class="xref">4.14</a>.Β <a href="#name-endb6encapsred-endb6encaps-" class="xref">End.B6.Encaps.Red: End.B6.Encaps with Reduced SRH</a><a href="#section-toc.1-1.4.2.14.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.15">
<p id="section-toc.1-1.4.2.15.1"><a href="#section-4.15" class="xref">4.15</a>.Β <a href="#name-endbm-endpoint-bound-to-an-" class="xref">End.BM: Endpoint Bound to an SR-MPLS Policy</a><a href="#section-toc.1-1.4.2.15.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.16">
<p id="section-toc.1-1.4.2.16.1"><a href="#section-4.16" class="xref">4.16</a>.Β <a href="#name-flavors" class="xref">Flavors</a><a href="#section-toc.1-1.4.2.16.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.16.2.1">
<p id="section-toc.1-1.4.2.16.2.1.1"><a href="#section-4.16.1" class="xref">4.16.1</a>.Β Β <a href="#name-psp-penultimate-segment-pop" class="xref">PSP: Penultimate Segment Pop of the SRH</a><a href="#section-toc.1-1.4.2.16.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.16.2.2">
<p id="section-toc.1-1.4.2.16.2.2.1"><a href="#section-4.16.2" class="xref">4.16.2</a>.Β Β <a href="#name-usp-ultimate-segment-pop-of" class="xref">USP: Ultimate Segment Pop of the SRH</a><a href="#section-toc.1-1.4.2.16.2.2.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.4.2.16.2.3">
<p id="section-toc.1-1.4.2.16.2.3.1"><a href="#section-4.16.3" class="xref">4.16.3</a>.Β Β <a href="#name-usd-ultimate-segment-decaps" class="xref">USD: Ultimate Segment Decapsulation</a><a href="#section-toc.1-1.4.2.16.2.3.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
</ul>
</li>
<li class="toc compact 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-sr-policy-headend-behaviors" class="xref">SR Policy Headend Behaviors</a><a href="#section-toc.1-1.5.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.5.2.1">
<p id="section-toc.1-1.5.2.1.1"><a href="#section-5.1" class="xref">5.1</a>.Β Β <a href="#name-hencaps-sr-headend-with-enc" class="xref">H.Encaps: SR Headend with Encapsulation in an SR Policy</a><a href="#section-toc.1-1.5.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.5.2.2">
<p id="section-toc.1-1.5.2.2.1"><a href="#section-5.2" class="xref">5.2</a>.Β Β <a href="#name-hencapsred-hencaps-with-red" class="xref">H.Encaps.Red: H.Encaps with Reduced Encapsulation</a><a href="#section-toc.1-1.5.2.2.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.5.2.3">
<p id="section-toc.1-1.5.2.3.1"><a href="#section-5.3" class="xref">5.3</a>.Β Β <a href="#name-hencapsl2-hencaps-applied-t" class="xref">H.Encaps.L2: H.Encaps Applied to Received L2 Frames</a><a href="#section-toc.1-1.5.2.3.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.5.2.4">
<p id="section-toc.1-1.5.2.4.1"><a href="#section-5.4" class="xref">5.4</a>.Β Β <a href="#name-hencapsl2red-hencapsred-app" class="xref">H.Encaps.L2.Red: H.Encaps.Red Applied to Received L2 Frames</a><a href="#section-toc.1-1.5.2.4.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
<li class="toc compact 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-counters" class="xref">Counters</a><a href="#section-toc.1-1.6.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.7">
<p id="section-toc.1-1.7.1"><a href="#section-7" class="xref">7</a>.Β Β <a href="#name-flow-based-hash-computation" class="xref">Flow-Based Hash Computation</a><a href="#section-toc.1-1.7.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.8">
<p id="section-toc.1-1.8.1"><a href="#section-8" class="xref">8</a>.Β Β <a href="#name-control-plane" class="xref">Control Plane</a><a href="#section-toc.1-1.8.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.8.2.1">
<p id="section-toc.1-1.8.2.1.1"><a href="#section-8.1" class="xref">8.1</a>.Β Β <a href="#name-igp" class="xref">IGP</a><a href="#section-toc.1-1.8.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.8.2.2">
<p id="section-toc.1-1.8.2.2.1"><a href="#section-8.2" class="xref">8.2</a>.Β Β <a href="#name-bgp-ls" class="xref">BGP-LS</a><a href="#section-toc.1-1.8.2.2.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.8.2.3">
<p id="section-toc.1-1.8.2.3.1"><a href="#section-8.3" class="xref">8.3</a>.Β Β <a href="#name-bgp-ip-vpn-evpn" class="xref">BGP IP/VPN/EVPN</a><a href="#section-toc.1-1.8.2.3.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.8.2.4">
<p id="section-toc.1-1.8.2.4.1"><a href="#section-8.4" class="xref">8.4</a>.Β Β <a href="#name-summary" class="xref">Summary</a><a href="#section-toc.1-1.8.2.4.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.9">
<p id="section-toc.1-1.9.1"><a href="#section-9" class="xref">9</a>.Β Β <a href="#name-security-considerations" class="xref">Security Considerations</a><a href="#section-toc.1-1.9.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.10">
<p id="section-toc.1-1.10.1"><a href="#section-10" class="xref">10</a>.Β <a href="#name-iana-considerations" class="xref">IANA Considerations</a><a href="#section-toc.1-1.10.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.10.2.1">
<p id="section-toc.1-1.10.2.1.1"><a href="#section-10.1" class="xref">10.1</a>.Β Β <a href="#name-ethernet-next-header-type" class="xref">Ethernet Next Header Type</a><a href="#section-toc.1-1.10.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.10.2.2">
<p id="section-toc.1-1.10.2.2.1"><a href="#section-10.2" class="xref">10.2</a>.Β Β <a href="#name-srv6-endpoint-behaviors-reg" class="xref">SRv6 Endpoint Behaviors Registry</a><a href="#section-toc.1-1.10.2.2.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.10.2.2.2.1">
<p id="section-toc.1-1.10.2.2.2.1.1"><a href="#section-10.2.1" class="xref">10.2.1</a>.Β Β <a href="#name-registration-procedures" class="xref">Registration Procedures</a><a href="#section-toc.1-1.10.2.2.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.10.2.2.2.2">
<p id="section-toc.1-1.10.2.2.2.2.1"><a href="#section-10.2.2" class="xref">10.2.2</a>.Β Β <a href="#name-initial-registrations" class="xref">Initial Registrations</a><a href="#section-toc.1-1.10.2.2.2.2.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
</ul>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.11">
<p id="section-toc.1-1.11.1"><a href="#section-11" class="xref">11</a>.Β <a href="#name-references" class="xref">References</a><a href="#section-toc.1-1.11.1" class="pilcrow">ΒΆ</a></p>
<ul class="toc compact ulEmpty">
<li class="toc compact ulEmpty" id="section-toc.1-1.11.2.1">
<p id="section-toc.1-1.11.2.1.1"><a href="#section-11.1" class="xref">11.1</a>.Β Β <a href="#name-normative-references" class="xref">Normative References</a><a href="#section-toc.1-1.11.2.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.11.2.2">
<p id="section-toc.1-1.11.2.2.1"><a href="#section-11.2" class="xref">11.2</a>.Β Β <a href="#name-informative-references" class="xref">Informative References</a><a href="#section-toc.1-1.11.2.2.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.12">
<p id="section-toc.1-1.12.1"><a href="#section-appendix.a" class="xref"></a><a href="#name-acknowledgements" class="xref">Acknowledgements</a><a href="#section-toc.1-1.12.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.13">
<p id="section-toc.1-1.13.1"><a href="#section-appendix.b" class="xref"></a><a href="#name-contributors" class="xref">Contributors</a><a href="#section-toc.1-1.13.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="toc compact ulEmpty" id="section-toc.1-1.14">
<p id="section-toc.1-1.14.1"><a href="#section-appendix.c" class="xref"></a><a href="#name-authors-addresses" class="xref">Authors' Addresses</a><a href="#section-toc.1-1.14.1" class="pilcrow">ΒΆ</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">Segment Routing <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span> leverages
the source routing paradigm. An ingress node steers a packet through an
ordered list of instructions, called "segments". Each one of these
instructions represents a function to be called at a specific location
in the network. A function is locally defined on the node where it is
executed and may range from simply moving forward in the segment list to
any complex user-defined behavior. Network Programming combines Segment
Routing functions, both simple and complex, to achieve a networking
objective that goes beyond mere packet routing.<a href="#section-1-1" class="pilcrow">ΒΆ</a></p>
<p id="section-1-2">This document defines the SRv6 Network Programming concept and
specifies the main Segment Routing behaviors to enable the creation of
interoperable overlays with underlay optimization.<a href="#section-1-2" class="pilcrow">ΒΆ</a></p>
<p id="section-1-3"><span>[<a href="#I-D.filsfils-spring-srv6-net-pgm-illustration" class="xref">SRV6-NET-PGM-ILLUST</a>]</span> illustrates the concepts defined in this
document.<a href="#section-1-3" class="pilcrow">ΒΆ</a></p>
<p id="section-1-4">Familiarity with the <span><a href="#RFC8754" class="xref">Segment
Routing Header</a> [<a href="#RFC8754" class="xref">RFC8754</a>]</span> is expected.<a href="#section-1-4" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-2">
<h2 id="name-terminology">
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-terminology" class="section-name selfRef">Terminology</a>
</h2>
<p id="section-2-1">The following terms used within this document are defined in <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>: Segment Routing (SR), SR Domain, Segment
ID (SID), SRv6, SRv6 SID, SR Policy, Prefix-SID, and Adj-SID.<a href="#section-2-1" class="pilcrow">ΒΆ</a></p>
<p id="section-2-2">The following terms used within this document are defined in <span>[<a href="#RFC8754" class="xref">RFC8754</a>]</span>: Segment Routing Header (SRH), SR
source node, transit node, SR Segment Endpoint Node, Reduced SRH,
Segments Left, and Last Entry.<a href="#section-2-2" class="pilcrow">ΒΆ</a></p>
<p id="section-2-3">The following terms are used in this document as defined below:<a href="#section-2-3" class="pilcrow">ΒΆ</a></p>
<span class="break"></span><dl class="dlParallel" id="section-2-4">
<dt id="section-2-4.1">FIB:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.2">Forwarding Information Base. A FIB lookup is a lookup in the forwarding table.<a href="#section-2-4.2" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.3">SA:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.4">Source Address<a href="#section-2-4.4" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.5">DA:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.6">Destination Address<a href="#section-2-4.6" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.7">L3:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.8">Layer 3<a href="#section-2-4.8" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.9">L2:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.10">Layer 2<a href="#section-2-4.10" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.11">MAC:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.12">Media Access Control<a href="#section-2-4.12" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.13">EVPN:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.14">Ethernet VPN<a href="#section-2-4.14" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.15">ESI:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.16">Ethernet Segment Identifier<a href="#section-2-4.16" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.17">Per-CE VPN label:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.18">A single label for each attachment circuit that is shared by all routes
with the same "outgoing attachment circuit" (<span><a href="https://www.rfc-editor.org/rfc/rfc4364#section-4.3.2" class="relref">Section 4.3.2</a> of [<a href="#RFC4364" class="xref">RFC4364</a>]</span>)<a href="#section-2-4.18" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.19">Per-VRF VPN label:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.20">A single label for the entire VPN Routing and Forwarding (VRF) table that is
shared by all routes from that VRF (<span><a href="https://www.rfc-editor.org/rfc/rfc4364#section-4.3.2" class="relref">Section 4.3.2</a> of [<a href="#RFC4364" class="xref">RFC4364</a>]</span>)<a href="#section-2-4.20" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.21">SL:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.22">The Segments Left field of the SRH<a href="#section-2-4.22" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.23">SRv6 SID function:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.24">The function part of the SID is an opaque identification of a local
behavior bound to the SID. It is formally defined in <a href="#sid_format" class="xref">Section 3.1</a> of this document.<a href="#section-2-4.24" class="pilcrow">ΒΆ</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-4.25">SRv6 Endpoint behavior:
</dt>
<dd style="margin-left: 1.5em" id="section-2-4.26">
<p id="section-2-4.26.1">A packet processing behavior executed at an SRv6 Segment Endpoint
Node. <a href="#behaviors" class="xref">Section 4</a> of this document defines
SRv6 Endpoint behaviors related to traffic-engineering and overlay
use cases. Other behaviors (e.g., service programming) are outside the scope of
this document.<a href="#section-2-4.26.1" class="pilcrow">ΒΆ</a></p>
</dd>
<dd class="break"></dd>
</dl>
<p id="section-2-5">An SR Policy is resolved to a SID list. A SID list is represented as
<S1, S2, S3> where S1 is the first SID to visit, S2 is the second SID to
visit, and S3 is the last SID to visit along the SR path.<a href="#section-2-5" class="pilcrow">ΒΆ</a></p>
<p id="section-2-6">(SA,DA) (S3, S2, S1; SL) represents an IPv6 packet with:<a href="#section-2-6" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-2-7.1">Source Address (SA), Destination Address (DA),
and next header (SRH).<a href="#section-2-7.1" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-2-7.2">
<p id="section-2-7.2.1">SRH with SID list <S1, S2, S3>
with Segments Left = SL.<a href="#section-2-7.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-2-7.2.2">Note the difference between the
<> and () symbols: <S1, S2, S3> represents a SID list where
S1 is the first SID and S3 is the last SID to traverse. (S3, S2, S1; SL)
represents the same SID list but encoded in the SRH format where the
rightmost SID in the SRH is the first SID and the leftmost SID in the
SRH is the last SID. When referring to an SR Policy in a high-level
use case, it is simpler to use the <S1, S2, S3> notation. When
referring to an illustration of the detailed packet behavior, the (S3,
S2, S1; SL) notation is more convenient.<a href="#section-2-7.2.2" class="pilcrow">ΒΆ</a></p>
</li>
<li class="normal" id="section-2-7.3">The payload of the packet is omitted.<a href="#section-2-7.3" class="pilcrow">ΒΆ</a>
</li>
</ul>
<section id="section-2.1">
<h3 id="name-requirements-language">
<a href="#section-2.1" class="section-number selfRef">2.1. </a><a href="#name-requirements-language" class="section-name selfRef">Requirements Language</a>
</h3>
<p id="section-2.1-1">
The key words "<span class="bcp14">MUST</span>", "<span class="bcp14">MUST NOT</span>",
"<span class="bcp14">REQUIRED</span>", "<span class="bcp14">SHALL</span>", "<span class="bcp14">SHALL NOT</span>", "<span class="bcp14">SHOULD</span>", "<span class="bcp14">SHOULD NOT</span>",
"<span class="bcp14">RECOMMENDED</span>", "<span class="bcp14">NOT RECOMMENDED</span>",
"<span class="bcp14">MAY</span>", and "<span class="bcp14">OPTIONAL</span>" in this document are
to be interpreted as described in BCPΒ 14 <span>[<a href="#RFC2119" class="xref">RFC2119</a>]</span>
<span>[<a href="#RFC8174" class="xref">RFC8174</a>]</span> when, and only when, they appear in all capitals,
as shown here.<a href="#section-2.1-1" class="pilcrow">ΒΆ</a></p>
</section>
</section>
<section id="section-3">
<h2 id="name-srv6-sid">
<a href="#section-3" class="section-number selfRef">3. </a><a href="#name-srv6-sid" class="section-name selfRef">SRv6 SID</a>
</h2>
<p id="section-3-1"><span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span> defines an SRv6 Segment Identifier as an IPv6 address
explicitly associated with the segment.<a href="#section-3-1" class="pilcrow">ΒΆ</a></p>
<p id="section-3-2">When an SRv6 SID is in the Destination Address field of an IPv6
header of a packet, it is routed through transit nodes in an IPv6
network as an IPv6 address.<a href="#section-3-2" class="pilcrow">ΒΆ</a></p>
<p id="section-3-3">Its processing is defined in <span><a href="https://www.rfc-editor.org/rfc/rfc8754#section-4.3" class="relref">Section 4.3</a> of [<a href="#RFC8754" class="xref">RFC8754</a>]</span> and reproduced here as a reminder:<a href="#section-3-3" class="pilcrow">ΒΆ</a></p>
<blockquote id="section-3-4">
<p id="section-3-4.1">Without constraining the details of an implementation, the SR
segment endpoint node creates Forwarding Information Base (FIB)
entries for its local SIDs.<a href="#section-3-4.1" class="pilcrow">ΒΆ</a></p>
<p id="section-3-4.2">When an SRv6-capable node receives an IPv6 packet, it performs a
longest-prefix-match lookup on the packet's destination address.
This lookup can return any of the following:<a href="#section-3-4.2" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-3-4.3.1">A FIB entry that represents a locally instantiated SRv6 SID<a href="#section-3-4.3.1" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-3-4.3.2">A FIB entry that represents a local interface, not locally instantiated as an SRv6 SID<a href="#section-3-4.3.2" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-3-4.3.3">A FIB entry that represents a nonlocal route<a href="#section-3-4.3.3" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-3-4.3.4">No Match<a href="#section-3-4.3.4" class="pilcrow">ΒΆ</a>
</li>
</ul>
</blockquote>
<p id="section-3-5"><a href="#behaviors" class="xref">Section 4</a> of this document defines
a new set of SRv6 SID behaviors in addition to that defined in <span><a href="https://www.rfc-editor.org/rfc/rfc8754#section-4.3.1" class="relref">Section 4.3.1</a> of [<a href="#RFC8754" class="xref">RFC8754</a>]</span>.<a href="#section-3-5" class="pilcrow">ΒΆ</a></p>
<div id="sid_format">
<section id="section-3.1">
<h3 id="name-sid-format">
<a href="#section-3.1" class="section-number selfRef">3.1. </a><a href="#name-sid-format" class="section-name selfRef">SID Format</a>
</h3>
<p id="section-3.1-1">This document defines an SRv6 SID as consisting of LOC:FUNCT:ARG,
where a locator (LOC) is encoded in the L most significant bits of the
SID, followed by F bits of function (FUNCT) and A bits of arguments
(ARG). L, the locator length, is flexible, and an operator is free to
use the locator length of their choice. F and A may be any value as
long as L+F+A <= 128. When L+F+A is less than 128, then the
remaining bits of the SID <span class="bcp14">MUST</span> be zero.<a href="#section-3.1-1" class="pilcrow">ΒΆ</a></p>
<p id="section-3.1-2">A locator may be represented as B:N where B is the SRv6 SID block
(IPv6 prefix allocated for SRv6 SIDs by the operator) and N is the
identifier of the parent node instantiating the SID.<a href="#section-3.1-2" class="pilcrow">ΒΆ</a></p>
<p id="section-3.1-3">When the LOC part of the SRv6 SIDs is routable, it leads to the
node, which instantiates the SID.<a href="#section-3.1-3" class="pilcrow">ΒΆ</a></p>
<p id="section-3.1-4">The FUNCT is an opaque identification of a local behavior bound to the SID.<a href="#section-3.1-4" class="pilcrow">ΒΆ</a></p>
<p id="section-3.1-5">The term "function" refers to the bit string in the SRv6 SID. The
term "behavior" identifies the behavior bound to the SID. Some
behaviors are defined in <a href="#behaviors" class="xref">Section 4</a> of this
document.<a href="#section-3.1-5" class="pilcrow">ΒΆ</a></p>
<p id="section-3.1-6">An SRv6 Endpoint behavior may require additional
information for its processing (e.g., related to the flow or
service). This information may be encoded in the ARG bits of the
SID.<a href="#section-3.1-6" class="pilcrow">ΒΆ</a></p>
<p id="section-3.1-7">In such a case, the semantics and format of the ARG bits are
defined as part of the SRv6 Endpoint behavior specification.<a href="#section-3.1-7" class="pilcrow">ΒΆ</a></p>
<p id="section-3.1-8">The ARG value of a routed SID <span class="bcp14">SHOULD</span> remain constant among packets in a given flow. Varying ARG values among packets in a flow may result in different ECMP hashing and cause reordering.<a href="#section-3.1-8" class="pilcrow">ΒΆ</a></p>
</section>
</div>
<section id="section-3.2">
<h3 id="name-sid-allocation-within-an-sr">
<a href="#section-3.2" class="section-number selfRef">3.2. </a><a href="#name-sid-allocation-within-an-sr" class="section-name selfRef">SID Allocation within an SR Domain</a>
</h3>
<p id="section-3.2-1">Locators are assigned consistent with IPv6 infrastructure allocation. For example, a network operator may:<a href="#section-3.2-1" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-3.2-2.1">Assign block B::/48 to the SR domain<a href="#section-3.2-2.1" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-3.2-2.2">Assign a unique B:N::/64 block to each SRv6-enabled node in the domain<a href="#section-3.2-2.2" class="pilcrow">ΒΆ</a>
</li>
</ul>
<p id="section-3.2-3">As an example, one mobile service provider has commercially
deployed SRv6 across more than 1000 commercial routers and 1800
whitebox routers. All these devices are enabled for SRv6 and advertise
SRv6 SIDs. The provider historically deployed IPv6 and assigned
infrastructure addresses from the Unique Local Address (ULA) space <span>[<a href="#RFC4193" class="xref">RFC4193</a>]</span>. They specifically allocated three
/48 prefixes (Country X, Country Y, Country Z) to support their SRv6
infrastructure. From those /48 prefixes, each router was assigned a /64
prefix from which all SIDs of that router are allocated.<a href="#section-3.2-3" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-4">In another example, a large mobile and fixed-line service provider
has commercially deployed SRv6 in their country-wide network. This
provider is assigned a /20 prefix by a Regional Internet
Registry (RIR). They sub-allocated a few /48 prefixes to their
infrastructure to deploy SRv6. Each router is assigned a /64 prefix
from which all SIDs of that router are allocated.<a href="#section-3.2-4" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-5">IPv6 address consumption in both these examples is minimal,
representing less than one billionth and one millionth of the
available address space, respectively.<a href="#section-3.2-5" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-6">A service provider receiving the current minimum allocation of a
/32 prefix from an RIR may assign a /48 prefix to their infrastructure
deploying SRv6 and subsequently allocate /64 prefixes for SIDs at
each SRv6 node. The /48 assignment is one sixty-five thousandth
(1/2^16) of the usable IPv6 address space available for assignment by
the provider.<a href="#section-3.2-6" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-7">When an operator instantiates a SID at a node, they specify a SID
value B:N:FUNCT and the behavior bound to the SID using one of the
SRv6 Endpoint Behavior codepoints of the registry defined in this
document (see <a href="#endpoint_cp_types" class="xref">Table 6</a>).<a href="#section-3.2-7" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-8">The node advertises the SID, B:N:FUNCT, in the control plane (see
<a href="#cp" class="xref">Section 8</a>) together with the SRv6 Endpoint
Behavior codepoint identifying the behavior of the SID.<a href="#section-3.2-8" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-9">An SR source node cannot infer the behavior by examination of the
FUNCT value of a SID.<a href="#section-3.2-9" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-10">Therefore, the SRv6 Endpoint Behavior codepoint is advertised along
with the SID in the control plane.<a href="#section-3.2-10" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-11">An SR source node uses the SRv6 Endpoint Behavior codepoint to map
the received SID (B:N:FUNCT) to a behavior.<a href="#section-3.2-11" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-12">An SR source node selects a desired behavior at an advertising node
by selecting the SID (B:N:FUNCT) advertised with the desired
behavior.<a href="#section-3.2-12" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-13">As an example:<a href="#section-3.2-13" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-3.2-14.1">A network operator may assign an SRv6 SID block
2001:db8:bbbb::/48 from their in-house operation block for their
SRv6 infrastructure.<a href="#section-3.2-14.1" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-3.2-14.2">A network operator may assign an SRv6 Locator 2001:db8:bbbb:3::/64 to one particular
router, for example Router 3, in their SR Domain.<a href="#section-3.2-14.2" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-3.2-14.3">
<p id="section-3.2-14.3.1">At Router 3, within the locator 2001:db8:bbbb:3::/64, the
network operator or the router performs dynamic assignment for:<a href="#section-3.2-14.3.1" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-3.2-14.3.2.1">
<p id="section-3.2-14.3.2.1.1">Function 0x0100 associated with the behavior End.X
(Endpoint with L3 cross-connect) between router 3 and its
connected neighbor router (e.g., Router 4). This function
is encoded as a 16-bit value and has no arguments (F=16,
A=0).<a href="#section-3.2-14.3.2.1.1" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-14.3.2.1.2">
This SID is advertised in the control plane as
2001:db8:bbbb:3:100:: with an SRv6 Endpoint
Behavior codepoint value of 5.<a href="#section-3.2-14.3.2.1.2" class="pilcrow">ΒΆ</a></p>
</li>
<li class="normal" id="section-3.2-14.3.2.2">
<p id="section-3.2-14.3.2.2.1">Function 0x0101 associated with the behavior End.X
(Endpoint with L3 cross-connect) between router 3 and its
connected neighbor router (e.g., Router 2). This function is
encoded as a 16-bit value and has no arguments (F=16, A=0).<a href="#section-3.2-14.3.2.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-3.2-14.3.2.2.2">
This SID is advertised in the control plane as
2001:db8:bbbb:3:101:: with an SRv6 Endpoint
Behavior codepoint value of 5.<a href="#section-3.2-14.3.2.2.2" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
</li>
</ul>
<p id="section-3.2-15">These examples do not preclude any other IPv6 addressing allocation scheme.<a href="#section-3.2-15" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-3.3">
<h3 id="name-sid-reachability">
<a href="#section-3.3" class="section-number selfRef">3.3. </a><a href="#name-sid-reachability" class="section-name selfRef">SID Reachability</a>
</h3>
<p id="section-3.3-1">Most often, the node N would advertise IPv6 prefix(es) matching the
LOC parts covering its SIDs or shorter-mask prefix. The distribution
of these advertisements and calculation of their reachability are
specific to the routing protocol and are outside of the scope of this
document.<a href="#section-3.3-1" class="pilcrow">ΒΆ</a></p>
<p id="section-3.3-2">An SRv6 SID is said to be routed if its SID belongs to an IPv6
prefix advertised via a routing protocol. An SRv6 SID that does not
fulfill this condition is non-routed.<a href="#section-3.3-2" class="pilcrow">ΒΆ</a></p>
<p id="section-3.3-3">Let's provide a classic illustration:<a href="#section-3.3-3" class="pilcrow">ΒΆ</a></p>
<p id="section-3.3-4">Node N is configured explicitly with two SIDs: 2001:db8:b:1:100:: and 2001:db8:b:2:101::.<a href="#section-3.3-4" class="pilcrow">ΒΆ</a></p>
<p id="section-3.3-5">The network learns about a path to 2001:db8:b:1::/64 via the IGP;
hence, a packet destined to 2001:db8:b:1:100:: would be routed up
to N. The network does not learn about a path to 2001:db8:b:2::/64 via
the IGP; hence, a packet destined to 2001:db8:b:2:101:: would not be
routed up to N.<a href="#section-3.3-5" class="pilcrow">ΒΆ</a></p>
<p id="section-3.3-6">A packet could be steered through a non-routed SID
2001:db8:b:2:101:: by using a SID list
<...,2001:db8:b:1:100::,2001:db8:b:2:101::,...> where the
non-routed SID is preceded by a routed SID to the same node. A packet
could also be steered to a node instantiating a non-routed SID by
preceding it in the SID list with an Adj-SID to that
node. Routed and non-routed SRv6 SIDs are the SRv6 instantiation of
global and local segments, respectively <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>.<a href="#section-3.3-6" class="pilcrow">ΒΆ</a></p>
</section>
</section>
<div id="behaviors">
<section id="section-4">
<h2 id="name-sr-endpoint-behaviors">
<a href="#section-4" class="section-number selfRef">4. </a><a href="#name-sr-endpoint-behaviors" class="section-name selfRef">SR Endpoint Behaviors</a>
</h2>
<p id="section-4-1">The following is a set of well-known behaviors that can be associated with a SID.<a href="#section-4-1" class="pilcrow">ΒΆ</a></p>
<span id="name-endpoint-behaviors"></span><div id="endpoint">
<table class="center" id="table-1">
<caption>
<a href="#table-1" class="selfRef">Table 1</a>:
<a href="#name-endpoint-behaviors" class="selfRef">Endpoint Behaviors</a>
</caption>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1">End</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.1.2.1">Endpoint<a href="#section-4-2.1.1.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.1.2.2">The SRv6 instantiation of a Prefix-SID <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span><a href="#section-4-2.1.1.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.X</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.2.2.1">Endpoint with L3 cross-connect<a href="#section-4-2.1.2.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.2.2.2">The SRv6 instantiation of an Adj-SID <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span><a href="#section-4-2.1.2.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.T</td>
<td class="text-left" rowspan="1" colspan="1">Endpoint with specific IPv6 table lookup</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DX6</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.4.2.1">Endpoint with decapsulation and IPv6 cross-connect<a href="#section-4-2.1.4.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.4.2.2">e.g., IPv6-L3VPN (equivalent to per-CE VPN label)<a href="#section-4-2.1.4.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DX4</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.5.2.1">Endpoint with decapsulation and IPv4 cross-connect<a href="#section-4-2.1.5.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.5.2.2">e.g., IPv4-L3VPN (equivalent to per-CE VPN label)<a href="#section-4-2.1.5.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT6</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.6.2.1">Endpoint with decapsulation and specific IPv6 table lookup<a href="#section-4-2.1.6.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.6.2.2">e.g., IPv6-L3VPN (equivalent to per-VRF VPN label)<a href="#section-4-2.1.6.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT4</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.7.2.1">Endpoint with decapsulation and specific IPv4 table lookup<a href="#section-4-2.1.7.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.7.2.2">e.g., IPv4-L3VPN (equivalent to per-VRF VPN label)<a href="#section-4-2.1.7.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT46</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.8.2.1">Endpoint with decapsulation and specific IP table lookup<a href="#section-4-2.1.8.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.8.2.2">e.g., IP-L3VPN (equivalent to per-VRF VPN label)<a href="#section-4-2.1.8.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DX2</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.9.2.1">Endpoint with decapsulation and L2 cross-connect<a href="#section-4-2.1.9.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.9.2.2">e.g., L2VPN use case<a href="#section-4-2.1.9.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DX2V</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.10.2.1">Endpoint with decapsulation and VLAN L2 table lookup<a href="#section-4-2.1.10.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.10.2.2">e.g., EVPN Flexible Cross-connect use case<a href="#section-4-2.1.10.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT2U</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.11.2.1">Endpoint with decapsulation and unicast MAC L2 table lookup<a href="#section-4-2.1.11.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.11.2.2">e.g., EVPN Bridging Unicast use case<a href="#section-4-2.1.11.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT2M</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.12.2.1">Endpoint with decapsulation and L2 table flooding<a href="#section-4-2.1.12.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.12.2.2">e.g., EVPN Bridging Broadcast, Unknown Unicast, and Multicast (BUM) use case with Ethernet Segment Identifier (ESI) filtering<a href="#section-4-2.1.12.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.B6.Encaps</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.13.2.1">Endpoint bound to an SRv6 Policy with encapsulation<a href="#section-4-2.1.13.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.13.2.2">SRv6 instantiation of a Binding SID<a href="#section-4-2.1.13.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.B6.Encaps.Red</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.14.2.1">End.B6.Encaps with reduced SRH<a href="#section-4-2.1.14.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.14.2.2">SRv6 instantiation of a Binding SID<a href="#section-4-2.1.14.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.BM</td>
<td class="text-left" rowspan="1" colspan="1">
<p id="section-4-2.1.15.2.1">Endpoint bound to an SR-MPLS Policy<a href="#section-4-2.1.15.2.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4-2.1.15.2.2">SRv6 instantiation of an SR-MPLS Binding SID<a href="#section-4-2.1.15.2.2" class="pilcrow">ΒΆ</a></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="section-4-3">The list is not exhaustive. In practice, any behavior can be attached
to a local SID; for example, a node N can bind a SID to a local Virtual
Machine (VM) or container that can apply any complex processing on the
packet, provided there is an SRv6 Endpoint Behavior codepoint allocated
for the processing.<a href="#section-4-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4-4">When an SRv6-capable node (N) receives an IPv6 packet whose
destination address matches a FIB entry that represents a locally
instantiated SRv6 SID (S), the IPv6 header chain is processed as defined
in <span><a href="https://www.rfc-editor.org/rfc/rfc8200#section-4" class="relref">Section 4</a> of [<a href="#RFC8200" class="xref">RFC8200</a>]</span>. For SRv6 SIDs
associated with an Endpoint behavior defined in this document, the SRH
and Upper-Layer header are processed as defined in the following
subsections.<a href="#section-4-4" class="pilcrow">ΒΆ</a></p>
<p id="section-4-5">The pseudocode describing these behaviors details local processing at
a node. An implementation of the pseudocode is compliant as long as the
externally observable wire protocol is as described by the
pseudocode.<a href="#section-4-5" class="pilcrow">ΒΆ</a></p>
<p id="section-4-6"><a href="#BehFlavors" class="xref">Section 4.16</a> defines flavors of some of these behaviors.<a href="#section-4-6" class="pilcrow">ΒΆ</a></p>
<p id="section-4-7"><a href="#iana_registry" class="xref">Section 10.2</a> of this document
defines the IANA registry used to maintain all these behaviors as well
as future ones defined in other documents.<a href="#section-4-7" class="pilcrow">ΒΆ</a></p>
<section id="section-4.1">
<h3 id="name-end-endpoint">
<a href="#section-4.1" class="section-number selfRef">4.1. </a><a href="#name-end-endpoint" class="section-name selfRef">End: Endpoint</a>
</h3>
<p id="section-4.1-1">The Endpoint behavior ("End" for short) is the most basic
behavior. It is the instantiation of a Prefix-SID <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>.<a href="#section-4.1-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.1-2">When N receives a packet whose IPv6 DA is S and S is a local End SID, N does the following:<a href="#section-4.1-2" class="pilcrow">ΒΆ</a></p>
<div id="section-4.1-3">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left == 0) {
S03. Stop processing the SRH, and proceed to process the next
header in the packet, whose type is identified by
the Next Header field in the routing header.
S04. }
S05. If (IPv6 Hop Limit <= 1) {
S06. Send an ICMP Time Exceeded message to the Source Address
with Code 0 (Hop limit exceeded in transit),
interrupt packet processing, and discard the packet.
S07. }
S08. max_LE = (Hdr Ext Len / 2) - 1
S09. If ((Last Entry > max_LE) or (Segments Left > Last Entry+1)) {
S10. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S11. }
S12. Decrement IPv6 Hop Limit by 1
S13. Decrement Segments Left by 1
S14. Update IPv6 DA with Segment List[Segments Left]
S15. Submit the packet to the egress IPv6 FIB lookup for
transmission to the new destination
S16. }
</pre><a href="#section-4.1-3" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.1-4">
<p id="section-4.1-4.1">Note:<a href="#section-4.1-4.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.1-4.2">The End behavior operates on the same FIB table (i.e.,
identified by VRF or L3 relay ID) associated to the packet. Hence, the FIB
lookup on line S15 is done in the same FIB table as the ingress interface.<a href="#section-4.1-4.2" class="pilcrow">ΒΆ</a></p>
</aside>
<div id="upper">
<section id="section-4.1.1">
<h4 id="name-upper-layer-header">
<a href="#section-4.1.1" class="section-number selfRef">4.1.1. </a><a href="#name-upper-layer-header" class="section-name selfRef">Upper-Layer Header</a>
</h4>
<p id="section-4.1.1-1">When processing the Upper-Layer header of a packet matching a FIB
entry locally instantiated as an End SID, N does the following:<a href="#section-4.1.1-1" class="pilcrow">ΒΆ</a></p>
<div id="section-4.1.1-2">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type is allowed by local configuration) {
S02. Proceed to process the Upper-Layer header
S03. } Else {
S04. Send an ICMP Parameter Problem to the Source Address
with Code 4 (SR Upper-layer Header Error)
and Pointer set to the offset of the Upper-Layer header,
interrupt packet processing, and discard the packet.
S05 }
</pre><a href="#section-4.1.1-2" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.1.1-3">Allowing the processing of specific Upper-Layer header types is
useful for Operations, Administration, and Maintenance (OAM). As an
example, an operator might permit pinging of SIDs. To do this, they
may enable local configuration to allow Upper-Layer header type 58
(ICMPv6).<a href="#section-4.1.1-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.1.1-4">It is <span class="bcp14">RECOMMENDED</span> that an implementation of local
configuration only allows Upper-Layer header processing of types
that do not result in the packet being forwarded (e.g., ICMPv6).<a href="#section-4.1.1-4" class="pilcrow">ΒΆ</a></p>
</section>
</div>
</section>
<section id="section-4.2">
<h3 id="name-endx-l3-cross-connect">
<a href="#section-4.2" class="section-number selfRef">4.2. </a><a href="#name-endx-l3-cross-connect" class="section-name selfRef">End.X: L3 Cross-Connect</a>
</h3>
<p id="section-4.2-1">The "Endpoint with L3 cross-connect" behavior ("End.X" for short) is a variant of the End behavior.<a href="#section-4.2-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.2-2">It is the SRv6 instantiation of an Adj-SID <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>, and its main use is for traffic-engineering policies.<a href="#section-4.2-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.2-3">Any SID instance of this behavior is associated with a set, J, of
one or more L3 adjacencies.<a href="#section-4.2-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.2-4">When N receives a packet destined to S and S is a local End.X SID, the line S15 from the End processing is replaced by the following:<a href="#section-4.2-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.2-5">
<pre class="sourcecode lang-pseudocode">
S15. Submit the packet to the IPv6 module for transmission
to the new destination via a member of J
</pre><a href="#section-4.2-5" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.2-6">
<p id="section-4.2-6.1">Note:<a href="#section-4.2-6.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.2-6.2"> S15. If the set J contains several L3 adjacencies, then one element
of the set is selected based on a hash of the packet's header (see <a href="#OpsFlowLabel" class="xref">Section 7</a>).<a href="#section-4.2-6.2" class="pilcrow">ΒΆ</a></p>
</aside>
<p id="section-4.2-7">If a node N has 30 outgoing interfaces to 30 neighbors, usually the
operator would explicitly instantiate 30 End.X SIDs at N: one per
L3 adjacency to a neighbor. Potentially, more End.X could be
explicitly defined (groups of L3 adjacencies to the same neighbor
or to different neighbors).<a href="#section-4.2-7" class="pilcrow">ΒΆ</a></p>
<p id="section-4.2-8">Note that if N has an outgoing interface bundle I to a neighbor Q
made of 10 member links, N might allocate up to 11 End.X local SIDs:
one for the bundle itself and then up to one for each L2 member
link. The flows steered using the End.X SID corresponding to the
bundle itself get load-balanced across the member links via hashing
while the flows steered using the End.X SID corresponding to a member
link get steered over that specific member link alone.<a href="#section-4.2-8" class="pilcrow">ΒΆ</a></p>
<p id="section-4.2-9">When the End.X behavior is associated with a BGP Next-Hop, it is
the SRv6 instantiation of the BGP peering segments <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>.<a href="#section-4.2-9" class="pilcrow">ΒΆ</a></p>
<p id="section-4.2-10">When processing the Upper-Layer header of a packet matching a FIB
entry locally instantiated as an End.X SID, process the packet as per
<a href="#upper" class="xref">Section 4.1.1</a>.<a href="#section-4.2-10" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-4.3">
<h3 id="name-endt-specific-ipv6-table-lo">
<a href="#section-4.3" class="section-number selfRef">4.3. </a><a href="#name-endt-specific-ipv6-table-lo" class="section-name selfRef">End.T: Specific IPv6 Table Lookup</a>
</h3>
<p id="section-4.3-1">The "Endpoint with specific IPv6 table lookup" behavior ("End.T" for
short) is a variant of the End behavior.<a href="#section-4.3-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.3-2">The End.T behavior is used for multi-table operation in the
core. For this reason, an instance of the End.T behavior is associated
with an IPv6 FIB table T.<a href="#section-4.3-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.3-3">When N receives a packet destined to S and S is a local End.T SID,
the line S15 from the End processing is replaced by the following:<a href="#section-4.3-3" class="pilcrow">ΒΆ</a></p>
<div id="section-4.3-4">
<pre class="sourcecode lang-pseudocode">
S15.1. Set the packet's associated FIB table to T
S15.2. Submit the packet to the egress IPv6 FIB lookup for
transmission to the new destination
</pre><a href="#section-4.3-4" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.3-5">When processing the Upper-Layer header of a packet matching a FIB entry locally instantiated as an End.T SID, process the packet as per <a href="#upper" class="xref">Section 4.1.1</a>.<a href="#section-4.3-5" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-4.4">
<h3 id="name-enddx6-decapsulation-and-ip">
<a href="#section-4.4" class="section-number selfRef">4.4. </a><a href="#name-enddx6-decapsulation-and-ip" class="section-name selfRef">End.DX6: Decapsulation and IPv6 Cross-Connect</a>
</h3>
<p id="section-4.4-1">The "Endpoint with decapsulation and IPv6 cross-connect" behavior ("End.DX6" for short) is a variant of the End.X behavior.<a href="#section-4.4-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.4-2">One of the applications of the End.DX6 behavior is the L3VPNv6 use case where a FIB lookup in a specific tenant table at the egress Provider Edge (PE) is not required. This is equivalent to the per-CE VPN label in MPLS <span>[<a href="#RFC4364" class="xref">RFC4364</a>]</span>.<a href="#section-4.4-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.4-3">The End.DX6 SID <span class="bcp14">MUST</span> be the last segment in an SR Policy, and it is associated with one or more L3 IPv6 adjacencies J.<a href="#section-4.4-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.4-4">When N receives a packet destined to S and S is a local End.DX6 SID, N does the following:<a href="#section-4.4-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.4-5">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left != 0) {
S03. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S04. }
S05. Proceed to process the next header in the packet
S06. }
</pre><a href="#section-4.4-5" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.4-6">When processing the Upper-Layer header of a packet matching a FIB entry locally instantiated as an End.DX6 SID, N does the following:<a href="#section-4.4-6" class="pilcrow">ΒΆ</a></p>
<div id="section-4.4-7">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 41(IPv6) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Forward the exposed IPv6 packet to the L3 adjacency J
S04. } Else {
S05. Process as per Section 4.1.1
S06. }
</pre><a href="#section-4.4-7" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.4-8">
<p id="section-4.4-8.1">Note:<a href="#section-4.4-8.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.4-8.2">
S01. "41" refers to "IPv6 encapsulation" as defined in the IANA
"Assigned Internet Protocol Numbers" registry.<a href="#section-4.4-8.2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.4-8.3">
S03. If the End.DX6 SID is bound to an array of L3 adjacencies, then one entry
of the array is selected based on the hash of the packet's header (see <a href="#OpsFlowLabel" class="xref">Section 7</a>).<a href="#section-4.4-8.3" class="pilcrow">ΒΆ</a></p>
</aside>
</section>
<section id="section-4.5">
<h3 id="name-enddx4-decapsulation-and-ip">
<a href="#section-4.5" class="section-number selfRef">4.5. </a><a href="#name-enddx4-decapsulation-and-ip" class="section-name selfRef">End.DX4: Decapsulation and IPv4 Cross-Connect</a>
</h3>
<p id="section-4.5-1">The "Endpoint with decapsulation and IPv4 cross-connect" behavior
("End.DX4" for short) is a variant of the End.X behavior.<a href="#section-4.5-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.5-2">One of the applications of the End.DX4 behavior is the L3VPNv4 use
case where a FIB lookup in a specific tenant table at the egress PE is
not required. This is equivalent to the per-CE VPN label in MPLS <span>[<a href="#RFC4364" class="xref">RFC4364</a>]</span>.<a href="#section-4.5-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.5-3">The End.DX4 SID <span class="bcp14">MUST</span> be the last segment in an SR
Policy, and it is associated with one or more L3 IPv4 adjacencies
J.<a href="#section-4.5-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.5-4">When N receives a packet destined to S and S is a local End.DX4
SID, N does the following:<a href="#section-4.5-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.5-5">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left != 0) {
S03. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S04. }
S05. Proceed to process the next header in the packet
S06. }
</pre><a href="#section-4.5-5" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.5-6">When processing the Upper-Layer header of a packet matching a FIB entry locally instantiated as an End.DX4 SID, N does the following:<a href="#section-4.5-6" class="pilcrow">ΒΆ</a></p>
<div id="section-4.5-7">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 4(IPv4) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Forward the exposed IPv4 packet to the L3 adjacency J
S04. } Else {
S05. Process as per Section 4.1.1
S06. }
</pre><a href="#section-4.5-7" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.5-8">
<p id="section-4.5-8.1">Note:<a href="#section-4.5-8.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.5-8.2">
S01. "4" refers to "IPv4 encapsulation" as defined in the IANA
"Assigned Internet Protocol Numbers" registry.<a href="#section-4.5-8.2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.5-8.3">
S03. If the End.DX4 SID is bound to an array of L3 adjacencies, then one entry
of the array is selected based on the hash of the packet's header (see <a href="#OpsFlowLabel" class="xref">Section 7</a>).<a href="#section-4.5-8.3" class="pilcrow">ΒΆ</a></p>
</aside>
</section>
<section id="section-4.6">
<h3 id="name-enddt6-decapsulation-and-sp">
<a href="#section-4.6" class="section-number selfRef">4.6. </a><a href="#name-enddt6-decapsulation-and-sp" class="section-name selfRef">End.DT6: Decapsulation and Specific IPv6 Table Lookup</a>
</h3>
<p id="section-4.6-1">The "Endpoint with decapsulation and specific IPv6 table lookup"
behavior ("End.DT6" for short) is a variant of the End.T behavior.<a href="#section-4.6-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.6-2">One of the applications of the End.DT6 behavior is the
L3VPNv6 use case where a FIB
lookup in a specific tenant table at the egress PE is required. This
is equivalent to the per-VRF VPN label in MPLS <span>[<a href="#RFC4364" class="xref">RFC4364</a>]</span>.<a href="#section-4.6-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.6-3">Note that an End.DT6 may be defined for the main IPv6 table, in
which case an End.DT6 supports the equivalent of an IPv6-in-IPv6
decapsulation (without VPN/tenant implication).<a href="#section-4.6-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.6-4">The End.DT6 SID <span class="bcp14">MUST</span> be the last segment in an SR
Policy, and a SID instance is associated with an IPv6 FIB table T.<a href="#section-4.6-4" class="pilcrow">ΒΆ</a></p>
<p id="section-4.6-5">When N receives a packet destined to S and S is a local End.DT6 SID, N does the following:<a href="#section-4.6-5" class="pilcrow">ΒΆ</a></p>
<div id="section-4.6-6">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left != 0) {
S03. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S04. }
S05. Proceed to process the next header in the packet
S06. }
</pre><a href="#section-4.6-6" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.6-7">When processing the Upper-Layer header of a packet matching a FIB entry locally instantiated as an End.DT6 SID, N does the following:<a href="#section-4.6-7" class="pilcrow">ΒΆ</a></p>
<div id="section-4.6-8">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 41(IPv6) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Set the packet's associated FIB table to T
S04. Submit the packet to the egress IPv6 FIB lookup for
transmission to the new destination
S05. } Else {
S06. Process as per Section 4.1.1
S07. }
</pre><a href="#section-4.6-8" class="pilcrow">ΒΆ</a>
</div>
</section>
<section id="section-4.7">
<h3 id="name-enddt4-decapsulation-and-sp">
<a href="#section-4.7" class="section-number selfRef">4.7. </a><a href="#name-enddt4-decapsulation-and-sp" class="section-name selfRef">End.DT4: Decapsulation and Specific IPv4 Table Lookup</a>
</h3>
<p id="section-4.7-1">The "Endpoint with decapsulation and specific IPv4 table lookup" behavior ("End.DT4" for short) is a variant of the End.T behavior.<a href="#section-4.7-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.7-2">One of the applications of the End.DT4 behavior is the L3VPNv4 use case where a FIB lookup in a specific tenant table at the egress PE is required. This is equivalent to the per-VRF VPN label in MPLS <span>[<a href="#RFC4364" class="xref">RFC4364</a>]</span>.<a href="#section-4.7-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.7-3">Note that an End.DT4 may be defined for the main IPv4 table, in which case an End.DT4 supports the equivalent of an IPv4-in-IPv6 decapsulation (without VPN/tenant implication).<a href="#section-4.7-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.7-4">The End.DT4 SID <span class="bcp14">MUST</span> be the last segment in an SR Policy, and a SID instance is associated with an IPv4 FIB table T.<a href="#section-4.7-4" class="pilcrow">ΒΆ</a></p>
<p id="section-4.7-5">When N receives a packet destined to S and S is a local End.DT4 SID, N does the following:<a href="#section-4.7-5" class="pilcrow">ΒΆ</a></p>
<div id="section-4.7-6">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left != 0) {
S03. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S04. }
S05. Proceed to process the next header in the packet
S06. }
</pre><a href="#section-4.7-6" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.7-7">When processing the Upper-Layer header of a packet matching a FIB entry locally instantiated as an End.DT4 SID, N does the following:<a href="#section-4.7-7" class="pilcrow">ΒΆ</a></p>
<div id="section-4.7-8">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 4(IPv4) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Set the packet's associated FIB table to T
S04. Submit the packet to the egress IPv4 FIB lookup for
transmission to the new destination
S05. } Else {
S06. Process as per Section 4.1.1
S07. }
</pre><a href="#section-4.7-8" class="pilcrow">ΒΆ</a>
</div>
</section>
<section id="section-4.8">
<h3 id="name-enddt46-decapsulation-and-s">
<a href="#section-4.8" class="section-number selfRef">4.8. </a><a href="#name-enddt46-decapsulation-and-s" class="section-name selfRef">End.DT46: Decapsulation and Specific IP Table Lookup</a>
</h3>
<p id="section-4.8-1">The "Endpoint with decapsulation and specific IP table lookup"
behavior ("End.DT46" for short) is a variant of the End.DT4 and End.DT6
behavior.<a href="#section-4.8-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.8-2">One of the applications of the End.DT46 behavior is the L3VPN
use case where a FIB lookup in a specific IP tenant table at the
egress PE is required. This is equivalent to the single per-VRF VPN label
(for IPv4 and IPv6) in MPLS <span>[<a href="#RFC4364" class="xref">RFC4364</a>]</span>.<a href="#section-4.8-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.8-3">Note that an End.DT46 may be defined for the main IP table, in which
case an End.DT46 supports the equivalent of an IP-in-IPv6
decapsulation (without VPN/tenant implication).<a href="#section-4.8-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.8-4">The End.DT46 SID <span class="bcp14">MUST</span> be the last segment in an SR
Policy, and a SID instance is associated with an IPv4 FIB table T4 and
an IPv6 FIB table T6.<a href="#section-4.8-4" class="pilcrow">ΒΆ</a></p>
<p id="section-4.8-5">When N receives a packet destined to S and S is a local End.DT46
SID, N does the following:<a href="#section-4.8-5" class="pilcrow">ΒΆ</a></p>
<div id="section-4.8-6">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left != 0) {
S03. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S04. }
S05. Proceed to process the next header in the packet
S06. }
</pre><a href="#section-4.8-6" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.8-7">When processing the Upper-Layer header of a packet matching a FIB entry locally instantiated as an End.DT46 SID, N does the following:<a href="#section-4.8-7" class="pilcrow">ΒΆ</a></p>
<div id="section-4.8-8">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 4(IPv4) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Set the packet's associated FIB table to T4
S04. Submit the packet to the egress IPv4 FIB lookup for
transmission to the new destination
S05. } Else if (Upper-Layer header type == 41(IPv6) ) {
S06. Remove the outer IPv6 header with all its extension headers
S07. Set the packet's associated FIB table to T6
S08. Submit the packet to the egress IPv6 FIB lookup for
transmission to the new destination
S09. } Else {
S10. Process as per Section 4.1.1
S11. }
</pre><a href="#section-4.8-8" class="pilcrow">ΒΆ</a>
</div>
</section>
<section id="section-4.9">
<h3 id="name-enddx2-decapsulation-and-l2">
<a href="#section-4.9" class="section-number selfRef">4.9. </a><a href="#name-enddx2-decapsulation-and-l2" class="section-name selfRef">End.DX2: Decapsulation and L2 Cross-Connect</a>
</h3>
<p id="section-4.9-1">The "Endpoint with decapsulation and L2 cross-connect" behavior
("End.DX2" for short) is a variant of the Endpoint behavior.<a href="#section-4.9-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.9-2">One of the applications of the End.DX2 behavior is the L2VPN <span>[<a href="#RFC4664" class="xref">RFC4664</a>]</span> / EVPN Virtual Private Wire Service (VPWS) <span>[<a href="#RFC7432" class="xref">RFC7432</a>]</span> <span>[<a href="#RFC8214" class="xref">RFC8214</a>]</span> use case.<a href="#section-4.9-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.9-3">The End.DX2 SID <span class="bcp14">MUST</span> be the last segment in an SR Policy, and it is associated with one outgoing interface I.<a href="#section-4.9-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.9-4">When N receives a packet destined to S and S is a local End.DX2 SID, N does the following:<a href="#section-4.9-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.9-5">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left != 0) {
S03. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S04. }
S05. Proceed to process the next header in the packet
S06. }
</pre><a href="#section-4.9-5" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.9-6">When processing the Upper-Layer header of a packet matching a FIB entry locally instantiated as an End.DX2 SID, N does the following:<a href="#section-4.9-6" class="pilcrow">ΒΆ</a></p>
<div id="section-4.9-7">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 143(Ethernet) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Forward the Ethernet frame to the OIF I
S04. } Else {
S05. Process as per Section 4.1.1
S06. }
</pre><a href="#section-4.9-7" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.9-8">
<p id="section-4.9-8.1">Note:<a href="#section-4.9-8.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.9-8.2">S01. IANA has allocated value "143" for "Ethernet"
<span>[<a href="#IEEE.802.3_2018" class="xref">IEEE.802.3_2018</a>]</span> in the "Assigned
Internet Protocol Numbers" registry (see <a href="#ianaethernet" class="xref">Section 10.1</a>).<a href="#section-4.9-8.2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.9-8.3">
S03. An End.DX2 behavior could be customized to expect a specific IEEE header
(e.g., VLAN tag) and rewrite the egress IEEE header before forwarding on the
outgoing interface.<a href="#section-4.9-8.3" class="pilcrow">ΒΆ</a></p>
</aside>
<p id="section-4.9-9">Note that an End.DX2 SID may also be associated with a bundle of
outgoing interfaces.<a href="#section-4.9-9" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-4.10">
<h3 id="name-enddx2v-decapsulation-and-v">
<a href="#section-4.10" class="section-number selfRef">4.10. </a><a href="#name-enddx2v-decapsulation-and-v" class="section-name selfRef">End.DX2V: Decapsulation and VLAN L2 Table Lookup</a>
</h3>
<p id="section-4.10-1">The "Endpoint with decapsulation and VLAN L2 table lookup" behavior
("End.DX2V" for short) is a variant of the End.DX2 behavior.<a href="#section-4.10-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.10-2">One of the applications of the End.DX2V behavior is the EVPN
Flexible Cross-connect use case. The End.DX2V behavior is used to
perform a lookup of the Ethernet frame VLANs in a particular L2
table. Any SID instance of this behavior is associated with an L2
table T.<a href="#section-4.10-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.10-3">When N receives a packet whose IPv6 DA is S and S is a local
End.DX2 SID, the processing is identical to the End.DX2 behavior
except for the Upper-Layer header processing, which is modified as
follows:<a href="#section-4.10-3" class="pilcrow">ΒΆ</a></p>
<div id="section-4.10-4">
<pre class="sourcecode lang-pseudocode">
S03. Look up the exposed VLANs in L2 table T, and forward
via the matched table entry.
</pre><a href="#section-4.10-4" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.10-5">
<p id="section-4.10-5.1">Note:<a href="#section-4.10-5.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.10-5.2"> S03. An End.DX2V behavior could be customized to expect a specific VLAN
format and rewrite the egress VLAN header before forwarding on the outgoing
interface.<a href="#section-4.10-5.2" class="pilcrow">ΒΆ</a></p>
</aside>
</section>
<section id="section-4.11">
<h3 id="name-enddt2u-decapsulation-and-u">
<a href="#section-4.11" class="section-number selfRef">4.11. </a><a href="#name-enddt2u-decapsulation-and-u" class="section-name selfRef">End.DT2U: Decapsulation and Unicast MAC L2 Table Lookup</a>
</h3>
<p id="section-4.11-1">The "Endpoint with decapsulation and unicast MAC L2 table lookup"
behavior ("End.DT2U" for short) is a variant of the End behavior.<a href="#section-4.11-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.11-2">One of the applications of the End.DT2U behavior is the EVPN
Bridging Unicast <span>[<a href="#RFC7432" class="xref">RFC7432</a>]</span>. Any SID
instance of the End.DT2U behavior is associated with an L2 table
T.<a href="#section-4.11-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.11-3">When N receives a packet whose IPv6 DA is S and S is a local
End.DT2U SID, the processing is identical to the End.DX2 behavior
except for the Upper-Layer header processing, which is as follows:<a href="#section-4.11-3" class="pilcrow">ΒΆ</a></p>
<div id="section-4.11-4">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 143(Ethernet) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Learn the exposed MAC Source Address in L2 table T
S04. Look up the exposed MAC Destination Address in L2 table T
S05. If (matched entry in T) {
S06. Forward via the matched table T entry
S07. } Else {
S08. Forward via all L2 OIFs in table T
S09. }
S10. } Else {
S11. Process as per Section 4.1.1
S12. }
</pre><a href="#section-4.11-4" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.11-5">
<p id="section-4.11-5.1">Note:<a href="#section-4.11-5.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.11-5.2">S01. IANA has allocated value "143" for "Ethernet" in
the "Assigned Internet Protocol Numbers" registry (see <a href="#ianaethernet" class="xref">Section 10.1</a>).<a href="#section-4.11-5.2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.11-5.3">
S03. In EVPN <span>[<a href="#RFC7432" class="xref">RFC7432</a>]</span>, the learning of the
exposed MAC Source Address is done via the control plane. In L2VPN Virtual Private LAN Service (VPLS) <span>[<a href="#RFC4761" class="xref">RFC4761</a>]</span> <span>[<a href="#RFC4762" class="xref">RFC4762</a>]</span>,
reachability is obtained by standard learning bridge functions in the data
plane.<a href="#section-4.11-5.3" class="pilcrow">ΒΆ</a></p>
</aside>
</section>
<section id="section-4.12">
<h3 id="name-enddt2m-decapsulation-and-l">
<a href="#section-4.12" class="section-number selfRef">4.12. </a><a href="#name-enddt2m-decapsulation-and-l" class="section-name selfRef">End.DT2M: Decapsulation and L2 Table Flooding</a>
</h3>
<p id="section-4.12-1">The "Endpoint with decapsulation and L2 table flooding" behavior
("End.DT2M" for short) is a variant of the End.DT2U behavior.<a href="#section-4.12-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.12-2">Two of the applications of the End.DT2M behavior are the EVPN
Bridging of Broadcast, Unknown Unicast, and Multicast (BUM) traffic
with Ethernet Segment Identifier (ESI) filtering <span>[<a href="#RFC7432" class="xref">RFC7432</a>]</span> and the EVPN Ethernet-Tree
(E-Tree) <span>[<a href="#RFC8317" class="xref">RFC8317</a>]</span> use cases.<a href="#section-4.12-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.12-3">Any SID instance of this behavior is associated with an L2 table
T. The behavior also takes an argument: "Arg.FE2". This argument
provides a local mapping to ESI for split-horizon filtering of the
received traffic to exclude a specific OIF (or set of OIFs) from L2
table T flooding. The allocation of the argument values is local to
the SR Segment Endpoint Node instantiating this behavior, and the signaling of
the argument to other nodes for the EVPN functionality occurs via the
control plane.<a href="#section-4.12-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.12-4">When N receives a packet whose IPv6 DA is S and S is a local
End.DT2M SID, the processing is identical to the End.DX2 behavior
except for the Upper-Layer header processing, which is as follows:<a href="#section-4.12-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.12-5">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 143(Ethernet) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Learn the exposed MAC Source Address in L2 table T
S04. Forward via all L2 OIFs excluding those associated with the
identifier Arg.FE2
S05. } Else {
S06. Process as per Section 4.1.1
S07. }
</pre><a href="#section-4.12-5" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.12-6">
<p id="section-4.12-6.1">Note:<a href="#section-4.12-6.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.12-6.2">S01. IANA has allocated value "143" for "Ethernet" in
the "Assigned Internet Protocol Numbers" registry (see <a href="#ianaethernet" class="xref">Section 10.1</a>).<a href="#section-4.12-6.2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.12-6.3">
S03. In EVPN <span>[<a href="#RFC7432" class="xref">RFC7432</a>]</span>, the learning of the
exposed MAC Source Address is done via the control plane. In L2VPN VPLS <span>[<a href="#RFC4761" class="xref">RFC4761</a>]</span> <span>[<a href="#RFC4762" class="xref">RFC4762</a>]</span>,
reachability is obtained by standard learning bridge functions in the data
plane.<a href="#section-4.12-6.3" class="pilcrow">ΒΆ</a></p>
</aside>
</section>
<section id="section-4.13">
<h3 id="name-endb6encaps-endpoint-bound-">
<a href="#section-4.13" class="section-number selfRef">4.13. </a><a href="#name-endb6encaps-endpoint-bound-" class="section-name selfRef">End.B6.Encaps: Endpoint Bound to an SRv6 Policy with Encapsulation</a>
</h3>
<p id="section-4.13-1">This is a variation of the End behavior.<a href="#section-4.13-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.13-2">One of its applications is to express scalable traffic-engineering policies across multiple domains. It is one of the SRv6 instantiations of a Binding SID <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>.<a href="#section-4.13-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.13-3">Any SID instance of this behavior is associated with an SR Policy B and a source address A.<a href="#section-4.13-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.13-4">When N receives a packet whose IPv6 DA is S and S is a local End.B6.Encaps SID, N does the following:<a href="#section-4.13-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.13-5">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left == 0) {
S03. Stop processing the SRH, and proceed to process the next
header in the packet, whose type is identified by
the Next Header field in the routing header.
S04. }
S05. If (IPv6 Hop Limit <= 1) {
S06. Send an ICMP Time Exceeded message to the Source Address
with Code 0 (Hop limit exceeded in transit),
interrupt packet processing, and discard the packet.
S07. }
S08. max_LE = (Hdr Ext Len / 2) - 1
S09. If ((Last Entry > max_LE) or (Segments Left > Last Entry+1)) {
S10. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S11. }
S12. Decrement IPv6 Hop Limit by 1
S13. Decrement Segments Left by 1
S14. Update IPv6 DA with Segment List[Segments Left]
S15. Push a new IPv6 header with its own SRH containing B
S16. Set the outer IPv6 SA to A
S17. Set the outer IPv6 DA to the first SID of B
S18. Set the outer Payload Length, Traffic Class, Flow Label,
Hop Limit, and Next Header fields
S19. Submit the packet to the egress IPv6 FIB lookup for
transmission to the new destination
S20. }
</pre><a href="#section-4.13-5" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-4.13-6">
<p id="section-4.13-6.1">Note:<a href="#section-4.13-6.1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.13-6.2">
S15. The SRH <span class="bcp14">MAY</span> be omitted when the SRv6 Policy B only contains one SID and there is no need to use any flag, tag, or TLV.<a href="#section-4.13-6.2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.13-6.3">
S18. The Payload Length, Traffic Class, Hop Limit, and Next Header fields are set as per <span>[<a href="#RFC2473" class="xref">RFC2473</a>]</span>. The Flow Label is computed as per <span>[<a href="#RFC6437" class="xref">RFC6437</a>]</span>.<a href="#section-4.13-6.3" class="pilcrow">ΒΆ</a></p>
</aside>
<p id="section-4.13-7">When processing the Upper-Layer header of a packet matching a FIB
entry locally instantiated as an End.B6.Encaps SID, process the packet
as per <a href="#upper" class="xref">Section 4.1.1</a>.<a href="#section-4.13-7" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-4.14">
<h3 id="name-endb6encapsred-endb6encaps-">
<a href="#section-4.14" class="section-number selfRef">4.14. </a><a href="#name-endb6encapsred-endb6encaps-" class="section-name selfRef">End.B6.Encaps.Red: End.B6.Encaps with Reduced SRH</a>
</h3>
<p id="section-4.14-1">This is an optimization of the End.B6.Encaps behavior.<a href="#section-4.14-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.14-2">End.B6.Encaps.Red reduces the size of the SRH by one SID by excluding the first SID in the SRH of the new IPv6 header. Thus, the first segment is only placed in the IPv6 Destination Address of the new IPv6 header, and the packet is forwarded according to it.<a href="#section-4.14-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.14-3">The SRH Last Entry field is set as defined in <span><a href="https://www.rfc-editor.org/rfc/rfc8754#section-4.1.1" class="relref">Section 4.1.1</a> of [<a href="#RFC8754" class="xref">RFC8754</a>]</span>.<a href="#section-4.14-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.14-4">The SRH <span class="bcp14">MAY</span> be omitted when the SRv6 Policy only contains one SID and there is no need to use any flag, tag, or TLV.<a href="#section-4.14-4" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-4.15">
<h3 id="name-endbm-endpoint-bound-to-an-">
<a href="#section-4.15" class="section-number selfRef">4.15. </a><a href="#name-endbm-endpoint-bound-to-an-" class="section-name selfRef">End.BM: Endpoint Bound to an SR-MPLS Policy</a>
</h3>
<p id="section-4.15-1">The "Endpoint bound to an SR-MPLS Policy" behavior ("End.BM" for short) is a variant of the End behavior.<a href="#section-4.15-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.15-2">The End.BM behavior is required to express scalable traffic-engineering policies across multiple domains where some domains support the MPLS instantiation of Segment Routing. This is an SRv6 instantiation of an SR-MPLS Binding SID <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>.<a href="#section-4.15-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.15-3">Any SID instance of this behavior is associated with an SR-MPLS Policy B.<a href="#section-4.15-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.15-4">When N receives a packet whose IPv6 DA is S and S is a local End.BM SID, N does the following:<a href="#section-4.15-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.15-5">
<pre class="sourcecode lang-pseudocode">
S01. When an SRH is processed {
S02. If (Segments Left == 0) {
S03. Stop processing the SRH, and proceed to process the next
header in the packet, whose type is identified by
the Next Header field in the routing header.
S04. }
S05. If (IPv6 Hop Limit <= 1) {
S06. Send an ICMP Time Exceeded message to the Source Address
with Code 0 (Hop limit exceeded in transit),
interrupt packet processing, and discard the packet.
S07. }
S08. max_LE = (Hdr Ext Len / 2) - 1
S09. If ((Last Entry > max_LE) or (Segments Left > Last Entry+1)) {
S10. Send an ICMP Parameter Problem to the Source Address
with Code 0 (Erroneous header field encountered)
and Pointer set to the Segments Left field,
interrupt packet processing, and discard the packet.
S11. }
S12. Decrement IPv6 Hop Limit by 1
S13. Decrement Segments Left by 1
S14. Update IPv6 DA with Segment List[Segments Left]
S15. Push the MPLS label stack for B
S16. Submit the packet to the MPLS engine for transmission
S17. }
</pre><a href="#section-4.15-5" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.15-6">When processing the Upper-Layer header of a packet matching a FIB entry locally instantiated as an End.BM SID, process the packet as per <a href="#upper" class="xref">Section 4.1.1</a>.<a href="#section-4.15-6" class="pilcrow">ΒΆ</a></p>
</section>
<div id="BehFlavors">
<section id="section-4.16">
<h3 id="name-flavors">
<a href="#section-4.16" class="section-number selfRef">4.16. </a><a href="#name-flavors" class="section-name selfRef">Flavors</a>
</h3>
<p id="section-4.16-1">The Penultimate Segment Pop (PSP) of the SRH, Ultimate Segment Pop (USP) of the SRH, and Ultimate Segment Decapsulation (USD) flavors are variants of the End, End.X, and End.T behaviors. The End, End.X, and End.T behaviors can support these flavors either individually or in combinations.<a href="#section-4.16-1" class="pilcrow">ΒΆ</a></p>
<section id="section-4.16.1">
<h4 id="name-psp-penultimate-segment-pop">
<a href="#section-4.16.1" class="section-number selfRef">4.16.1. </a><a href="#name-psp-penultimate-segment-pop" class="section-name selfRef">PSP: Penultimate Segment Pop of the SRH</a>
</h4>
<section id="section-4.16.1.1">
<h5 id="name-guidelines">
<a href="#section-4.16.1.1" class="section-number selfRef">4.16.1.1. </a><a href="#name-guidelines" class="section-name selfRef">Guidelines</a>
</h5>
<p id="section-4.16.1.1-1">SR Segment Endpoint Nodes advertise the SIDs instantiated on
them via control-plane protocols as described in <a href="#cp" class="xref">Section 8</a>. Different behavior IDs are allocated for
flavored and unflavored SIDs (see <a href="#endpoint_cp_types" class="xref">Table 6</a>).<a href="#section-4.16.1.1-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.1-2">An SR Segment Endpoint Node that offers both PSP- and
non-PSP-flavored behavior advertises them as two different
SIDs.<a href="#section-4.16.1.1-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.1-3">The SR Segment Endpoint Node only advertises the PSP flavor if
the operator enables this capability at the node.<a href="#section-4.16.1.1-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.1-4">The PSP operation is deterministically controlled by the SR
source node.<a href="#section-4.16.1.1-4" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.1-5">A PSP-flavored SID is used by the SR source node when it needs
to instruct the penultimate SR Segment Endpoint Node listed in the
SRH to remove the SRH from the IPv6 header.<a href="#section-4.16.1.1-5" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-4.16.1.2">
<h5 id="name-definition">
<a href="#section-4.16.1.2" class="section-number selfRef">4.16.1.2. </a><a href="#name-definition" class="section-name selfRef">Definition</a>
</h5>
<p id="section-4.16.1.2-1">SR Segment Endpoint Nodes receive the IPv6 packet with the
Destination Address field of the IPv6 header equal to its SID
address.<a href="#section-4.16.1.2-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.2-2">A penultimate SR Segment Endpoint Node is one that, as part of
the SID processing, copies the last SID from the SRH into the IPv6
Destination Address and decrements the Segments Left value from
one to zero.<a href="#section-4.16.1.2-2" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.2-3">The PSP operation only takes place at a penultimate SR Segment
Endpoint Node and does not happen at any transit node. When a SID
of PSP flavor is processed at a non-penultimate SR Segment
Endpoint Node, the PSP behavior is not performed as described in
the pseudocode below since Segments Left would not be zero.<a href="#section-4.16.1.2-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.2-4">The SRH processing of the End, End.X, and End.T behaviors are
modified: after the instruction "S14. Update IPv6 DA with Segment
List[Segments Left]" is executed, the following instructions must
be executed as well:<a href="#section-4.16.1.2-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.16.1.2-5">
<pre class="sourcecode lang-pseudocode">
S14.1. If (Segments Left == 0) {
S14.2. Update the Next Header field in the preceding header to
the Next Header value from the SRH
S14.3. Decrease the IPv6 header Payload Length by
8*(Hdr Ext Len+1)
S14.4. Remove the SRH from the IPv6 extension header chain
S14.5. }
</pre><a href="#section-4.16.1.2-5" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.16.1.2-6">The usage of PSP does not increase the MTU of the IPv6 packet
and hence does not have any impact on the Path MTU (PMTU)
discovery mechanism.<a href="#section-4.16.1.2-6" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.2-7">As a reminder, <span><a href="https://www.rfc-editor.org/rfc/rfc8754#section-5" class="relref">Section 5</a> of [<a href="#RFC8754" class="xref">RFC8754</a>]</span> defines the SR Deployment Model
within the SR Domain <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>. Within this framework, the Authentication
Header (AH) is not used to secure the SRH as described in <span><a href="https://www.rfc-editor.org/rfc/rfc8754#section-7.5" class="relref">Section 7.5</a> of [<a href="#RFC8754" class="xref">RFC8754</a>]</span>. Hence, the discussion of applicability of PSP
along with AH usage is beyond the scope of this document.<a href="#section-4.16.1.2-7" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.2-8">In the context of this specification, the End, End.X, and End.T
behaviors with PSP do not contravene <span><a href="https://www.rfc-editor.org/rfc/rfc8200#section-4" class="relref">Section 4</a> of [<a href="#RFC8200" class="xref">RFC8200</a>]</span> because the
destination address of the incoming packet is the address of the
node executing the behavior.<a href="#section-4.16.1.2-8" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-4.16.1.3">
<h5 id="name-use-case">
<a href="#section-4.16.1.3" class="section-number selfRef">4.16.1.3. </a><a href="#name-use-case" class="section-name selfRef">Use Case</a>
</h5>
<p id="section-4.16.1.3-1">One use case for the PSP functionality is streamlining the operation of an egress border router.<a href="#section-4.16.1.3-1" class="pilcrow">ΒΆ</a></p>
<span id="name-psp-use-case-topology"></span><div id="fig-psp">
<figure id="figure-1">
<div class="artwork art-text alignLeft" id="section-4.16.1.3-2.1">
<pre>
+----------------------------------------------------+
| |
+-+-+ +--+ +--+ +--+ +-+-+
|iPE+-------->+R2+-------->+R3+-------->+R4+-------->+ePE|
| R1| +--+ +--+ +--+ |R5 |
+-+-+ +-----+ +-----+ +-----+ +-----+ +-+-+
| |IPv6 | |IPv6 | |IPv6 | |IPv6 | |
| |DA=R3| |DA=R3| |DA=R5| |DA=R5| |
| +-----+ +-----+ +-----+ +-----+ |
| | SRH | | SRH | | IP | | IP | |
| |SL=1 | |SL=1 | +-----+ +-----+ |
| | R5 | | R5 | |
| +-----+ +-----+ |
| | IP | | IP | |
| +-----+ +-----+ |
| |
+----------------------------------------------------+
</pre>
</div>
<figcaption><a href="#figure-1" class="selfRef">Figure 1</a>:
<a href="#name-psp-use-case-topology" class="selfRef">PSP Use Case Topology</a>
</figcaption></figure>
</div>
<p id="section-4.16.1.3-3">In the above illustration, for a packet sent from the ingress
provider edge (iPE) to the egress provider edge (ePE), node R3 is an
intermediate traffic-engineering waypoint and is the penultimate
segment endpoint router; this node copies the last segment from the
SRH into the IPv6 Destination Address and decrements Segments Left to
0. The Software-Defined Networking (SDN) controller knows that no
other node after R3 needs to inspect the SRH, and it instructs R3 to
remove the exhausted SRH from the packet by using a PSP-flavored
SID.<a href="#section-4.16.1.3-3" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.1.3-4">The benefits for the egress PE are straightforward:<a href="#section-4.16.1.3-4" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-4.16.1.3-5.1">As part of the decapsulation process, the
egress PE is required to parse and remove fewer bytes from the
packet.<a href="#section-4.16.1.3-5.1" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-4.16.1.3-5.2">If a lookup on an upper-layer IP header is required (e.g.,
per-VRF VPN), the header is more likely to be within the memory
accessible to the lookup engine in the forwarding ASIC
(Application-Specific Integrated Circuit).<a href="#section-4.16.1.3-5.2" class="pilcrow">ΒΆ</a>
</li>
</ul>
</section>
</section>
<section id="section-4.16.2">
<h4 id="name-usp-ultimate-segment-pop-of">
<a href="#section-4.16.2" class="section-number selfRef">4.16.2. </a><a href="#name-usp-ultimate-segment-pop-of" class="section-name selfRef">USP: Ultimate Segment Pop of the SRH</a>
</h4>
<p id="section-4.16.2-1">The SRH processing of the End, End.X, and End.T behaviors are modified; the instructions S02-S04 are substituted by the following ones:<a href="#section-4.16.2-1" class="pilcrow">ΒΆ</a></p>
<div id="section-4.16.2-2">
<pre class="sourcecode lang-pseudocode">
S02. If (Segments Left == 0) {
S03.1. Update the Next Header field in the preceding header to
the Next Header value of the SRH
S03.2. Decrease the IPv6 header Payload Length by
8*(Hdr Ext Len+1)
S03.3. Remove the SRH from the IPv6 extension header chain
S03.4. Proceed to process the next header in the packet
S04. }
</pre><a href="#section-4.16.2-2" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.16.2-3">One of the applications of the USP flavor is when a packet with an SRH is destined to an application on hosts with smartNICs ("Smart Network Interface Cards") implementing SRv6. The USP flavor is used to remove the consumed SRH from the extension header chain before sending the packet to the host.<a href="#section-4.16.2-3" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-4.16.3">
<h4 id="name-usd-ultimate-segment-decaps">
<a href="#section-4.16.3" class="section-number selfRef">4.16.3. </a><a href="#name-usd-ultimate-segment-decaps" class="section-name selfRef">USD: Ultimate Segment Decapsulation</a>
</h4>
<p id="section-4.16.3-1">The Upper-Layer header processing of the End, End.X, and End.T behaviors are modified as follows:<a href="#section-4.16.3-1" class="pilcrow">ΒΆ</a></p>
<p id="section-4.16.3-2">End:<a href="#section-4.16.3-2" class="pilcrow">ΒΆ</a></p>
<div id="section-4.16.3-3">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 41(IPv6) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Submit the packet to the egress IPv6 FIB lookup for
transmission to the new destination
S04. } Else if (Upper-Layer header type == 4(IPv4) ) {
S05. Remove the outer IPv6 header with all its extension headers
S06. Submit the packet to the egress IPv4 FIB lookup for
transmission to the new destination
S07. Else {
S08. Process as per Section 4.1.1
S09. }
</pre><a href="#section-4.16.3-3" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.16.3-4">End.T:<a href="#section-4.16.3-4" class="pilcrow">ΒΆ</a></p>
<div id="section-4.16.3-5">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 41(IPv6) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Set the packet's associated FIB table to T
S04. Submit the packet to the egress IPv6 FIB lookup for
transmission to the new destination
S05. } Else if (Upper-Layer header type == 4(IPv4) ) {
S06. Remove the outer IPv6 header with all its extension headers
S07. Set the packet's associated FIB table to T
S08. Submit the packet to the egress IPv4 FIB lookup for
transmission to the new destination
S09. Else {
S10. Process as per Section 4.1.1
S11. }
</pre><a href="#section-4.16.3-5" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.16.3-6">End.X:<a href="#section-4.16.3-6" class="pilcrow">ΒΆ</a></p>
<div id="section-4.16.3-7">
<pre class="sourcecode lang-pseudocode">
S01. If (Upper-Layer header type == 41(IPv6) ||
Upper-Layer header type == 4(IPv4) ) {
S02. Remove the outer IPv6 header with all its extension headers
S03. Forward the exposed IP packet to the L3 adjacency J
S04. } Else {
S05. Process as per Section 4.1.1
S06. }
</pre><a href="#section-4.16.3-7" class="pilcrow">ΒΆ</a>
</div>
<p id="section-4.16.3-8">One of the applications of the USD flavor is the case of a
Topology Independent Loop-Free Alternate (TI-LFA) in P routers with
encapsulation. The USD flavor allows the last SR Segment Endpoint Node
in the repair path list to decapsulate the IPv6 header added at the
TI-LFA Point of Local Repair and forward the inner packet.<a href="#section-4.16.3-8" class="pilcrow">ΒΆ</a></p>
</section>
</section>
</div>
</section>
</div>
<section id="section-5">
<h2 id="name-sr-policy-headend-behaviors">
<a href="#section-5" class="section-number selfRef">5. </a><a href="#name-sr-policy-headend-behaviors" class="section-name selfRef">SR Policy Headend Behaviors</a>
</h2>
<p id="section-5-1">This section describes a set of SRv6 Policy Headend <span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span> behaviors.<a href="#section-5-1" class="pilcrow">ΒΆ</a></p>
<span id="name-sr-policy-headend-behaviors-2"></span><div id="headend">
<table class="center" id="table-2">
<caption>
<a href="#table-2" class="selfRef">Table 2</a>:
<a href="#name-sr-policy-headend-behaviors-2" class="selfRef">SR Policy Headend Behaviors</a>
</caption>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1">H.Encaps
</td>
<td class="text-left" rowspan="1" colspan="1">SR Headend with Encapsulation in an SR Policy
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">H.Encaps.Red
</td>
<td class="text-left" rowspan="1" colspan="1">H.Encaps with Reduced Encapsulation
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">H.Encaps.L2
</td>
<td class="text-left" rowspan="1" colspan="1">H.Encaps Applied to Received L2 Frames
</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">H.Encaps.L2.Red
</td>
<td class="text-left" rowspan="1" colspan="1">H.Encaps.Red Applied to Received L2 Frames
</td>
</tr>
</tbody>
</table>
</div>
<p id="section-5-3">This list is not exhaustive, and future documents may define additional behaviors.<a href="#section-5-3" class="pilcrow">ΒΆ</a></p>
<section id="section-5.1">
<h3 id="name-hencaps-sr-headend-with-enc">
<a href="#section-5.1" class="section-number selfRef">5.1. </a><a href="#name-hencaps-sr-headend-with-enc" class="section-name selfRef">H.Encaps: SR Headend with Encapsulation in an SR Policy</a>
</h3>
<p id="section-5.1-1">Node N receives two packets P1=(A, B2) and P2=(A,B2)(B3, B2, B1;
SL=1). B2 is neither a local address nor SID of N.<a href="#section-5.1-1" class="pilcrow">ΒΆ</a></p>
<p id="section-5.1-2">Node N is configured with an IPv6 address T (e.g., assigned to its
loopback).<a href="#section-5.1-2" class="pilcrow">ΒΆ</a></p>
<p id="section-5.1-3">N steers the transit packets P1 and P2 into an SRv6
Policy with a Source Address T and a segment list <S1, S2,
S3>.<a href="#section-5.1-3" class="pilcrow">ΒΆ</a></p>
<p id="section-5.1-4">The H.Encaps encapsulation behavior is defined as follows:<a href="#section-5.1-4" class="pilcrow">ΒΆ</a></p>
<div id="section-5.1-5">
<pre class="sourcecode lang-pseudocode">
S01. Push an IPv6 header with its own SRH
S02. Set outer IPv6 SA = T and outer IPv6 DA to the first SID
in the segment list
S03. Set outer Payload Length, Traffic Class, Hop Limit, and
Flow Label fields
S04. Set the outer Next Header value
S05. Decrement inner IPv6 Hop Limit or IPv4 TTL
S06. Submit the packet to the IPv6 module for transmission to S1
</pre><a href="#section-5.1-5" class="pilcrow">ΒΆ</a>
</div>
<aside id="section-5.1-6">
<p id="section-5.1-6.1">Note:<a href="#section-5.1-6.1" class="pilcrow">ΒΆ</a></p>
<p id="section-5.1-6.2">
S03: As described in <span>[<a href="#RFC2473" class="xref">RFC2473</a>]</span> and <span>[<a href="#RFC6437" class="xref">RFC6437</a>]</span>.<a href="#section-5.1-6.2" class="pilcrow">ΒΆ</a></p>
</aside>
<p id="section-5.1-7">After the H.Encaps behavior, P1' and P2' respectively look like:<a href="#section-5.1-7" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-5.1-8.1">(T, S1) (S3, S2, S1; SL=2) (A, B2)<a href="#section-5.1-8.1" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-5.1-8.2">(T, S1) (S3, S2, S1; SL=2) (A, B2) (B3, B2, B1; SL=1)<a href="#section-5.1-8.2" class="pilcrow">ΒΆ</a>
</li>
</ul>
<p id="section-5.1-9">The received packet is encapsulated unmodified (with the exception of the IPv4 TTL or IPv6 Hop Limit that is decremented as described in <span>[<a href="#RFC2473" class="xref">RFC2473</a>]</span>).<a href="#section-5.1-9" class="pilcrow">ΒΆ</a></p>
<p id="section-5.1-10">The H.Encaps behavior is valid for any kind of L3 traffic. This behavior is commonly used for L3VPN with IPv4 and IPv6 deployments. It may be also used for TI-LFA <span>[<a href="#I-D.ietf-rtgwg-segment-routing-ti-lfa" class="xref">SR-TI-LFA</a>]</span> at the Point of Local Repair.<a href="#section-5.1-10" class="pilcrow">ΒΆ</a></p>
<p id="section-5.1-11">The push of the SRH <span class="bcp14">MAY</span> be omitted when the SRv6
Policy only contains one segment and there is no need to use any flag,
tag, or TLV.<a href="#section-5.1-11" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-5.2">
<h3 id="name-hencapsred-hencaps-with-red">
<a href="#section-5.2" class="section-number selfRef">5.2. </a><a href="#name-hencapsred-hencaps-with-red" class="section-name selfRef">H.Encaps.Red: H.Encaps with Reduced Encapsulation</a>
</h3>
<p id="section-5.2-1">The H.Encaps.Red behavior is an optimization of the H.Encaps behavior.<a href="#section-5.2-1" class="pilcrow">ΒΆ</a></p>
<p id="section-5.2-2">H.Encaps.Red reduces the length of the SRH by excluding the first
SID in the SRH of the pushed IPv6 header. The first SID is only placed
in the Destination Address field of the pushed IPv6 header.<a href="#section-5.2-2" class="pilcrow">ΒΆ</a></p>
<p id="section-5.2-3">After the H.Encaps.Red behavior, P1' and P2' respectively look like:<a href="#section-5.2-3" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-5.2-4.1">(T, S1) (S3, S2; SL=2) (A, B2)<a href="#section-5.2-4.1" class="pilcrow">ΒΆ</a>
</li>
<li class="normal" id="section-5.2-4.2">(T, S1) (S3, S2; SL=2) (A, B2) (B3, B2, B1; SL=1)<a href="#section-5.2-4.2" class="pilcrow">ΒΆ</a>
</li>
</ul>
<p id="section-5.2-5">The push of the SRH <span class="bcp14">MAY</span> be omitted when the SRv6 Policy only contains one segment and there is no need to use any flag, tag, or TLV.<a href="#section-5.2-5" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-5.3">
<h3 id="name-hencapsl2-hencaps-applied-t">
<a href="#section-5.3" class="section-number selfRef">5.3. </a><a href="#name-hencapsl2-hencaps-applied-t" class="section-name selfRef">H.Encaps.L2: H.Encaps Applied to Received L2 Frames</a>
</h3>
<p id="section-5.3-1">The H.Encaps.L2 behavior encapsulates a received Ethernet <span>[<a href="#IEEE.802.3_2018" class="xref">IEEE.802.3_2018</a>]</span> frame and its attached VLAN header, if present, in an IPv6 packet with an SRH. The Ethernet frame becomes the payload of the new IPv6 packet.<a href="#section-5.3-1" class="pilcrow">ΒΆ</a></p>
<p id="section-5.3-2">The Next Header field of the SRH <span class="bcp14">MUST</span> be set to 143.<a href="#section-5.3-2" class="pilcrow">ΒΆ</a></p>
<p id="section-5.3-3">The push of the SRH <span class="bcp14">MAY</span> be omitted when the SRv6
Policy only contains one segment and there is no need to use any flag,
tag, or TLV.<a href="#section-5.3-3" class="pilcrow">ΒΆ</a></p>
<p id="section-5.3-4">The encapsulating node <span class="bcp14">MUST</span> remove the preamble (if
any) and frame check sequence (FCS) from the Ethernet frame upon
encapsulation, and the decapsulating node <span class="bcp14">MUST</span>
regenerate, as required, the preamble and FCS before forwarding the
Ethernet frame.<a href="#section-5.3-4" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-5.4">
<h3 id="name-hencapsl2red-hencapsred-app">
<a href="#section-5.4" class="section-number selfRef">5.4. </a><a href="#name-hencapsl2red-hencapsred-app" class="section-name selfRef">H.Encaps.L2.Red: H.Encaps.Red Applied to Received L2 Frames</a>
</h3>
<p id="section-5.4-1">The H.Encaps.L2.Red behavior is an optimization of the H.Encaps.L2 behavior.<a href="#section-5.4-1" class="pilcrow">ΒΆ</a></p>
<p id="section-5.4-2">H.Encaps.L2.Red reduces the length of the SRH by excluding the first SID in the SRH of the pushed IPv6 header. The first SID is only placed in the Destination Address field of the pushed IPv6 header.<a href="#section-5.4-2" class="pilcrow">ΒΆ</a></p>
<p id="section-5.4-3">The push of the SRH <span class="bcp14">MAY</span> be omitted when the SRv6 Policy only contains one segment and there is no need to use any flag, tag, or TLV.<a href="#section-5.4-3" class="pilcrow">ΒΆ</a></p>
</section>
</section>
<section id="section-6">
<h2 id="name-counters">
<a href="#section-6" class="section-number selfRef">6. </a><a href="#name-counters" class="section-name selfRef">Counters</a>
</h2>
<p id="section-6-1">A node supporting this document <span class="bcp14">SHOULD</span> implement a pair of traffic counters (one for packets and one for bytes) per local SID entry, for traffic that matched that SID and was processed successfully (i.e., packets that generate ICMP Error Messages or are dropped are not counted). The retrieval of these counters from MIB, NETCONF/YANG, or any other data structure is outside the scope of this document.<a href="#section-6-1" class="pilcrow">ΒΆ</a></p>
</section>
<div id="OpsFlowLabel">
<section id="section-7">
<h2 id="name-flow-based-hash-computation">
<a href="#section-7" class="section-number selfRef">7. </a><a href="#name-flow-based-hash-computation" class="section-name selfRef">Flow-Based Hash Computation</a>
</h2>
<p id="section-7-1">When a flow-based selection within a set needs to be performed, the
IPv6 Source Address, the IPv6 Destination Address, and the IPv6 Flow
Label of the outer IPv6 header <span class="bcp14">MUST</span> be included in the
flow-based hash.<a href="#section-7-1" class="pilcrow">ΒΆ</a></p>
<p id="section-7-2">This may occur in any of the following scenarios:<a href="#section-7-2" class="pilcrow">ΒΆ</a></p>
<ul class="normal">
<li class="normal" id="section-7-3.1">
<p id="section-7-3.1.1">A FIB lookup is performed and multiple ECMP paths
exist to the updated destination address.<a href="#section-7-3.1.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="normal" id="section-7-3.2">
<p id="section-7-3.2.1">End.X, End.DX4, or End.DX6 is bound to an array of adjacencies.<a href="#section-7-3.2.1" class="pilcrow">ΒΆ</a></p>
</li>
<li class="normal" id="section-7-3.3">
<p id="section-7-3.3.1">The packet is steered in an SR Policy whose selected
path has multiple SID lists.<a href="#section-7-3.3.1" class="pilcrow">ΒΆ</a></p>
</li>
</ul>
<p id="section-7-4">Additionally, any transit router in an SRv6 domain includes the outer
flow label in its ECMP flow-based hash <span>[<a href="#RFC6437" class="xref">RFC6437</a>]</span>.<a href="#section-7-4" class="pilcrow">ΒΆ</a></p>
</section>
</div>
<div id="cp">
<section id="section-8">
<h2 id="name-control-plane">
<a href="#section-8" class="section-number selfRef">8. </a><a href="#name-control-plane" class="section-name selfRef">Control Plane</a>
</h2>
<p id="section-8-1">In an SDN environment, one expects the controller to explicitly
provision the SIDs and/or discover them as part of a service discovery
function. Applications residing on top of the controller could then
discover the required SIDs and combine them to form a distributed
network program.<a href="#section-8-1" class="pilcrow">ΒΆ</a></p>
<p id="section-8-2">The concept of "SRv6 Network Programming" refers to the capability of
an application to encode any complex program as a set of individual
functions distributed through the network. Some functions relate to
underlay SLA, others to overlay/tenant, and others to complex
applications residing in VMs and containers.<a href="#section-8-2" class="pilcrow">ΒΆ</a></p>
<p id="section-8-3">While not necessary for an SDN control plane, the remainder of this
section provides a high-level illustrative overview of how control-plane
protocols may be involved with SRv6. Their specification is outside the
scope of this document.<a href="#section-8-3" class="pilcrow">ΒΆ</a></p>
<div id="igp">
<section id="section-8.1">
<h3 id="name-igp">
<a href="#section-8.1" class="section-number selfRef">8.1. </a><a href="#name-igp" class="section-name selfRef">IGP</a>
</h3>
<p id="section-8.1-1">The End, End.T, and End.X SIDs express topological behaviors and
hence are expected to be signaled in the IGP together with the flavors
PSP, USP, and USD. The IGP should also advertise the Maximum SID
Depth (MSD) capability of the node for each type of SRv6 operation --
in particular, the SR source (e.g., H.Encaps), intermediate endpoint
(e.g., End and End.X), and final endpoint (e.g., End.DX4 and End.DT6)
behaviors. These capabilities are factored in by an SR source node (or
a controller) during the SR Policy computation.<a href="#section-8.1-1" class="pilcrow">ΒΆ</a></p>
<p id="section-8.1-2">The presence of SIDs in the IGP does not imply any routing semantics to the addresses represented by these SIDs. The routing reachability to an IPv6 address is solely governed by the non-SID-related IGP prefix reachability information that includes locators. Routing is neither governed nor influenced in any way by a SID advertisement in the IGP.<a href="#section-8.1-2" class="pilcrow">ΒΆ</a></p>
<p id="section-8.1-3">These SIDs provide important topological behaviors for the IGP to
build Fast Reroute (FRR) solutions based on TI-LFA <span>[<a href="#I-D.ietf-rtgwg-segment-routing-ti-lfa" class="xref">SR-TI-LFA</a>]</span> and
for TE processes relying on an IGP topology database to build SR
Policies.<a href="#section-8.1-3" class="pilcrow">ΒΆ</a></p>
</section>
</div>
<section id="section-8.2">
<h3 id="name-bgp-ls">
<a href="#section-8.2" class="section-number selfRef">8.2. </a><a href="#name-bgp-ls" class="section-name selfRef">BGP-LS</a>
</h3>
<p id="section-8.2-1">BGP-LS provides the functionality for topology discovery that
includes the SRv6 capabilities of the nodes, their locators, and
locally instantiated SIDs. This enables controllers or applications to
build an inter-domain topology that can be used for computation of SR
Policies using the SRv6 SIDs.<a href="#section-8.2-1" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-8.3">
<h3 id="name-bgp-ip-vpn-evpn">
<a href="#section-8.3" class="section-number selfRef">8.3. </a><a href="#name-bgp-ip-vpn-evpn" class="section-name selfRef">BGP IP/VPN/EVPN</a>
</h3>
<p id="section-8.3-1">The End.DX4, End.DX6, End.DT4, End.DT6, End.DT46, End.DX2,
End.DX2V, End.DT2U, and End.DT2M SIDs can be signaled in BGP.<a href="#section-8.3-1" class="pilcrow">ΒΆ</a></p>
<p id="section-8.3-2">In some scenarios, an egress PE advertising a VPN route might wish
to abstract the specific behavior bound to the SID from the ingress PE
and other routers in the network. In such case, the SID may be
advertised using the Opaque SRv6 Endpoint Behavior codepoint defined
in <a href="#endpoint_cp_types" class="xref">Table 6</a>. The details of
such control-plane signaling mechanisms are out of the scope of this
document.<a href="#section-8.3-2" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-8.4">
<h3 id="name-summary">
<a href="#section-8.4" class="section-number selfRef">8.4. </a><a href="#name-summary" class="section-name selfRef">Summary</a>
</h3>
<p id="section-8.4-1">The following table summarizes which SID behaviors
may be signaled in which control-plane protocol.<a href="#section-8.4-1" class="pilcrow">ΒΆ</a></p>
<span id="name-srv6-locally-instantiated-s"></span><div id="localsid_signaling">
<table class="center" id="table-3">
<caption>
<a href="#table-3" class="selfRef">Table 3</a>:
<a href="#name-srv6-locally-instantiated-s" class="selfRef">SRv6 Locally Instantiated SIDs Signaling</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1"></th>
<th class="text-center" rowspan="1" colspan="1">IGP</th>
<th class="text-center" rowspan="1" colspan="1">BGP-LS</th>
<th class="text-center" rowspan="1" colspan="1">BGP IP/VPN/EVPN</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1">End (PSP, USP, USD)</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.X (PSP, USP, USD)</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.T (PSP, USP, USD)</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DX6</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DX4</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT6</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT4</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT46</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DX2</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DX2V</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT2U</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.DT2M</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.B6.Encaps</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.B6.Encaps.Red</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">End.B6.BM</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
</tbody>
</table>
</div>
<p id="section-8.4-3">The following table summarizes which SR Policy Headend capabilities
may be signaled in which control-plane protocol.<a href="#section-8.4-3" class="pilcrow">ΒΆ</a></p>
<span id="name-srv6-policy-headend-behavio"></span><div id="transit_signaling">
<table class="center" id="table-4">
<caption>
<a href="#table-4" class="selfRef">Table 4</a>:
<a href="#name-srv6-policy-headend-behavio" class="selfRef">SRv6 Policy Headend Behaviors Signaling</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1"></th>
<th class="text-center" rowspan="1" colspan="1">IGP</th>
<th class="text-center" rowspan="1" colspan="1">BGP-LS</th>
<th class="text-center" rowspan="1" colspan="1">BGP IP/VPN/EVPN</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1">H.Encaps</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">H.Encaps.Red</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">H.Encaps.L2</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">H.Encaps.L2.Red</td>
<td class="text-center" rowspan="1" colspan="1"></td>
<td class="text-center" rowspan="1" colspan="1">X</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
</tbody>
</table>
</div>
<p id="section-8.4-5">The previous table describes generic capabilities. It does not
describe specific instantiated SR Policies.<a href="#section-8.4-5" class="pilcrow">ΒΆ</a></p>
<p id="section-8.4-6">For example, a BGP-LS advertisement of H.Encaps behavior would
describe the capability of node N to perform H.Encaps
behavior. Specifically, it would describe how many SIDs could be
pushed by N without significant performance degradation.<a href="#section-8.4-6" class="pilcrow">ΒΆ</a></p>
<p id="section-8.4-7"></p>
<p id="section-8.4-8">As a reminder, an SR Policy is always assigned a Binding SID
<span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>. Binding SIDs are also advertised
in BGP-LS as shown in <a href="#localsid_signaling" class="xref">Table 3</a>. Hence, <a href="#transit_signaling" class="xref">Table 4</a> only focuses on the generic capabilities related to
H.Encaps.<a href="#section-8.4-8" class="pilcrow">ΒΆ</a></p>
</section>
</section>
</div>
<section id="section-9">
<h2 id="name-security-considerations">
<a href="#section-9" class="section-number selfRef">9. </a><a href="#name-security-considerations" class="section-name selfRef">Security Considerations</a>
</h2>
<p id="section-9-1">The security considerations for Segment Routing are discussed in
<span>[<a href="#RFC8402" class="xref">RFC8402</a>]</span>. <span><a href="https://www.rfc-editor.org/rfc/rfc8754#section-5" class="relref">Section 5</a> of [<a href="#RFC8754" class="xref">RFC8754</a>]</span> describes the SR
Deployment Model and the requirements for securing the SR Domain. The
security considerations of <span>[<a href="#RFC8754" class="xref">RFC8754</a>]</span> also cover topics
such as attack vectors and their mitigation mechanisms that also apply
the behaviors introduced in this document. Together, they describe the
required security mechanisms that allow establishment of an SR domain of
trust. Having such a well-defined trust boundary is necessary in order
to operate SRv6-based services for internal traffic while preventing any
external traffic from accessing or exploiting the SRv6-based services.
Care and rigor in IPv6 address allocation for use for SRv6 SID
allocations and network infrastructure addresses, as distinct from IPv6
addresses allocated for end users and systems (as illustrated in <span><a href="https://www.rfc-editor.org/rfc/rfc8754#section-5.1" class="relref">Section 5.1</a> of [<a href="#RFC8754" class="xref">RFC8754</a>]</span>),
can provide the clear distinction between internal and external address
space that is required to maintain the integrity and security of the
SRv6 Domain. Additionally, <span>[<a href="#RFC8754" class="xref">RFC8754</a>]</span>
defines a Hashed Message Authentication Code (HMAC) TLV permitting SR
Segment Endpoint Nodes in the SR domain to verify that the SRH applied to a
packet was selected by an authorized party and to ensure that the
segment list is not modified after generation, regardless of the number
of segments in the segment list. When enabled by local configuration,
HMAC processing occurs at the beginning of SRH processing as defined in
<span><a href="https://www.rfc-editor.org/rfc/rfc8754#section-2.1.2.1" class="relref">Section 2.1.2.1</a> of [<a href="#RFC8754" class="xref">RFC8754</a>]</span>.<a href="#section-9-1" class="pilcrow">ΒΆ</a></p>
<p id="section-9-2">This document introduces SRv6 Endpoint and SR Policy Headend
behaviors for implementation on SRv6-capable nodes in the network. The
definition of the SR Policy Headend should be consistent with the
specific behavior used and any local configuration (as specified in
<a href="#upper" class="xref">Section 4.1.1</a>). As such, this document does not introduce any
new security considerations.<a href="#section-9-2" class="pilcrow">ΒΆ</a></p>
<p id="section-9-3">The SID behaviors specified in this document have the same HMAC TLV
handling and mutability properties with regard to the Flags, Tag, and Segment List
field as the SID behavior specified in <span>[<a href="#RFC8754" class="xref">RFC8754</a>]</span>.<a href="#section-9-3" class="pilcrow">ΒΆ</a></p>
</section>
<section id="section-10">
<h2 id="name-iana-considerations">
<a href="#section-10" class="section-number selfRef">10. </a><a href="#name-iana-considerations" class="section-name selfRef">IANA Considerations</a>
</h2>
<div id="ianaethernet">
<section id="section-10.1">
<h3 id="name-ethernet-next-header-type">
<a href="#section-10.1" class="section-number selfRef">10.1. </a><a href="#name-ethernet-next-header-type" class="section-name selfRef">Ethernet Next Header Type</a>
</h3>
<p id="section-10.1-1">IANA has allocated "Ethernet" (value 143) in the "Assigned
Internet Protocol Numbers" registry (see <span><<a href="https://www.iana.org/assignments/protocol-numbers/">https://www.iana.org/assignments/protocol-numbers/</a>></span>).
Value 143 in the Next Header field of an IPv6 header or any extension
header indicates that the payload is an Ethernet frame <span>[<a href="#IEEE.802.3_2018" class="xref">IEEE.802.3_2018</a>]</span>.<a href="#section-10.1-1" class="pilcrow">ΒΆ</a></p>
</section>
</div>
<div id="iana_registry">
<section id="section-10.2">
<h3 id="name-srv6-endpoint-behaviors-reg">
<a href="#section-10.2" class="section-number selfRef">10.2. </a><a href="#name-srv6-endpoint-behaviors-reg" class="section-name selfRef">SRv6 Endpoint Behaviors Registry</a>
</h3>
<p id="section-10.2-1">IANA has created a new top-level registry
called "Segment Routing" (see <span><<a href="https://www.iana.org/assignments/segment-routing/">https://www.iana.org/assignments/segment-routing/</a>></span>). This
registry serves as a top-level registry for all
Segment Routing subregistries.<a href="#section-10.2-1" class="pilcrow">ΒΆ</a></p>
<p id="section-10.2-2">Additionally, IANA has created a new subregistry called "SRv6 Endpoint Behaviors"
under the top-level "Segment Routing" registry. This
subregistry maintains 16-bit identifiers for the SRv6 Endpoint
behaviors. This registry is established to provide consistency for
control-plane protocols that need to refer to these behaviors. These
values are not encoded in the function bits within a SID.<a href="#section-10.2-2" class="pilcrow">ΒΆ</a></p>
<div id="iana_policy">
<section id="section-10.2.1">
<h4 id="name-registration-procedures">
<a href="#section-10.2.1" class="section-number selfRef">10.2.1. </a><a href="#name-registration-procedures" class="section-name selfRef">Registration Procedures</a>
</h4>
<p id="section-10.2.1-1">The range of the registry is 0-65535 (0x0000-0xFFFF). The table below contains the allocation ranges and
registration policies <span>[<a href="#RFC8126" class="xref">RFC8126</a>]</span> for each:<a href="#section-10.2.1-1" class="pilcrow">ΒΆ</a></p>
<span id="name-registration-procedures-2"></span><div id="endpoint_cp_codepoint_ranges">
<table class="center" id="table-5">
<caption>
<a href="#table-5" class="selfRef">Table 5</a>:
<a href="#name-registration-procedures-2" class="selfRef">Registration Procedures</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1">Range</th>
<th class="text-center" rowspan="1" colspan="1">Range (Hex)</th>
<th class="text-center" rowspan="1" colspan="1">Registration Procedures</th>
<th class="text-center" rowspan="1" colspan="1">Note</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1">0</td>
<td class="text-center" rowspan="1" colspan="1">0x0000</td>
<td class="text-center" rowspan="1" colspan="1">Reserved</td>
<td class="text-center" rowspan="1" colspan="1">Not to be allocated</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">1-32767</td>
<td class="text-center" rowspan="1" colspan="1">0x0001-0x7FFF</td>
<td class="text-center" rowspan="1" colspan="1">First Come First Served</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">32768-34815</td>
<td class="text-center" rowspan="1" colspan="1">0x8000-0x87FF</td>
<td class="text-center" rowspan="1" colspan="1">Private Use</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">34816-65534</td>
<td class="text-center" rowspan="1" colspan="1">0x8800-0xFFFE</td>
<td class="text-center" rowspan="1" colspan="1">Reserved</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">65535</td>
<td class="text-center" rowspan="1" colspan="1">0xFFFF</td>
<td class="text-center" rowspan="1" colspan="1">Reserved</td>
<td class="text-center" rowspan="1" colspan="1">Opaque</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
<section id="section-10.2.2">
<h4 id="name-initial-registrations">
<a href="#section-10.2.2" class="section-number selfRef">10.2.2. </a><a href="#name-initial-registrations" class="section-name selfRef">Initial Registrations</a>
</h4>
<p id="section-10.2.2-1">The initial registrations for the subregistry are as follows:<a href="#section-10.2.2-1" class="pilcrow">ΒΆ</a></p>
<span id="name-initial-registrations-2"></span><div id="endpoint_cp_types">
<table class="center" id="table-6">
<caption>
<a href="#table-6" class="selfRef">Table 6</a>:
<a href="#name-initial-registrations-2" class="selfRef">Initial Registrations</a>
</caption>
<thead>
<tr>
<th class="text-left" rowspan="1" colspan="1">Value</th>
<th class="text-center" rowspan="1" colspan="1">Hex</th>
<th class="text-center" rowspan="1" colspan="1">Endpoint Behavior</th>
<th class="text-center" rowspan="1" colspan="1">Reference</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-left" rowspan="1" colspan="1">0</td>
<td class="text-center" rowspan="1" colspan="1">0x0000</td>
<td class="text-center" rowspan="1" colspan="1">Reserved</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">1</td>
<td class="text-center" rowspan="1" colspan="1">0x0001</td>
<td class="text-center" rowspan="1" colspan="1">End</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">2</td>
<td class="text-center" rowspan="1" colspan="1">0x0002</td>
<td class="text-center" rowspan="1" colspan="1">End with PSP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">3</td>
<td class="text-center" rowspan="1" colspan="1">0x0003</td>
<td class="text-center" rowspan="1" colspan="1">End with USP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">4</td>
<td class="text-center" rowspan="1" colspan="1">0x0004</td>
<td class="text-center" rowspan="1" colspan="1">End with PSP & USP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">5</td>
<td class="text-center" rowspan="1" colspan="1">0x0005</td>
<td class="text-center" rowspan="1" colspan="1">End.X</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">6</td>
<td class="text-center" rowspan="1" colspan="1">0x0006</td>
<td class="text-center" rowspan="1" colspan="1">End.X with PSP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">7</td>
<td class="text-center" rowspan="1" colspan="1">0x0007</td>
<td class="text-center" rowspan="1" colspan="1">End.X with USP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">8</td>
<td class="text-center" rowspan="1" colspan="1">0x0008</td>
<td class="text-center" rowspan="1" colspan="1">End.X with PSP & USP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">9</td>
<td class="text-center" rowspan="1" colspan="1">0x0009</td>
<td class="text-center" rowspan="1" colspan="1">End.T</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">10</td>
<td class="text-center" rowspan="1" colspan="1">0x000A</td>
<td class="text-center" rowspan="1" colspan="1">End.T with PSP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">11</td>
<td class="text-center" rowspan="1" colspan="1">0x000B</td>
<td class="text-center" rowspan="1" colspan="1">End.T with USP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">12</td>
<td class="text-center" rowspan="1" colspan="1">0x000C</td>
<td class="text-center" rowspan="1" colspan="1">End.T with PSP & USP</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">13</td>
<td class="text-center" rowspan="1" colspan="1">0x000D</td>
<td class="text-center" rowspan="1" colspan="1">Unassigned</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">14</td>
<td class="text-center" rowspan="1" colspan="1">0x000E</td>
<td class="text-center" rowspan="1" colspan="1">End.B6.Encaps</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">15</td>
<td class="text-center" rowspan="1" colspan="1">0x000F</td>
<td class="text-center" rowspan="1" colspan="1">End.BM</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">16</td>
<td class="text-center" rowspan="1" colspan="1">0x0010</td>
<td class="text-center" rowspan="1" colspan="1">End.DX6</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">17</td>
<td class="text-center" rowspan="1" colspan="1">0x0011</td>
<td class="text-center" rowspan="1" colspan="1">End.DX4</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">18</td>
<td class="text-center" rowspan="1" colspan="1">0x0012</td>
<td class="text-center" rowspan="1" colspan="1">End.DT6</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">19</td>
<td class="text-center" rowspan="1" colspan="1">0x0013</td>
<td class="text-center" rowspan="1" colspan="1">End.DT4</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">20</td>
<td class="text-center" rowspan="1" colspan="1">0x0014</td>
<td class="text-center" rowspan="1" colspan="1">End.DT46</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">21</td>
<td class="text-center" rowspan="1" colspan="1">0x0015</td>
<td class="text-center" rowspan="1" colspan="1">End.DX2</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">22</td>
<td class="text-center" rowspan="1" colspan="1">0x0016</td>
<td class="text-center" rowspan="1" colspan="1">End.DX2V</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">23</td>
<td class="text-center" rowspan="1" colspan="1">0x0017</td>
<td class="text-center" rowspan="1" colspan="1">End.DT2U</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">24</td>
<td class="text-center" rowspan="1" colspan="1">0x0018</td>
<td class="text-center" rowspan="1" colspan="1">End.DT2M</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">25</td>
<td class="text-center" rowspan="1" colspan="1">0x0019</td>
<td class="text-center" rowspan="1" colspan="1">Reserved</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">26</td>
<td class="text-center" rowspan="1" colspan="1">0x001A</td>
<td class="text-center" rowspan="1" colspan="1">Unassigned</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">27</td>
<td class="text-center" rowspan="1" colspan="1">0x001B</td>
<td class="text-center" rowspan="1" colspan="1">End.B6.Encaps.Red</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">28</td>
<td class="text-center" rowspan="1" colspan="1">0x001C</td>
<td class="text-center" rowspan="1" colspan="1">End with USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">29</td>
<td class="text-center" rowspan="1" colspan="1">0x001D</td>
<td class="text-center" rowspan="1" colspan="1">End with PSP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">30</td>
<td class="text-center" rowspan="1" colspan="1">0x001E</td>
<td class="text-center" rowspan="1" colspan="1">End with USP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">31</td>
<td class="text-center" rowspan="1" colspan="1">0x001F</td>
<td class="text-center" rowspan="1" colspan="1">End with PSP, USP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">32</td>
<td class="text-center" rowspan="1" colspan="1">0x0020</td>
<td class="text-center" rowspan="1" colspan="1">End.X with USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">33</td>
<td class="text-center" rowspan="1" colspan="1">0x0021</td>
<td class="text-center" rowspan="1" colspan="1">End.X with PSP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">34</td>
<td class="text-center" rowspan="1" colspan="1">0x0022</td>
<td class="text-center" rowspan="1" colspan="1">End.X with USP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">35</td>
<td class="text-center" rowspan="1" colspan="1">0x0023</td>
<td class="text-center" rowspan="1" colspan="1">End.X with PSP, USP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">36</td>
<td class="text-center" rowspan="1" colspan="1">0x0024</td>
<td class="text-center" rowspan="1" colspan="1">End.T with USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">37</td>
<td class="text-center" rowspan="1" colspan="1">0x0025</td>
<td class="text-center" rowspan="1" colspan="1">End.T with PSP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">38</td>
<td class="text-center" rowspan="1" colspan="1">0x0026</td>
<td class="text-center" rowspan="1" colspan="1">End.T with USP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">39</td>
<td class="text-center" rowspan="1" colspan="1">0x0027</td>
<td class="text-center" rowspan="1" colspan="1">End.T with PSP, USP & USD</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">40-32766</td>
<td class="text-center" rowspan="1" colspan="1">0x0028-0x7FFE</td>
<td class="text-center" rowspan="1" colspan="1">Unassigned</td>
<td class="text-center" rowspan="1" colspan="1"></td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">32767</td>
<td class="text-center" rowspan="1" colspan="1">0x7FFF</td>
<td class="text-center" rowspan="1" colspan="1">The SID defined in RFC 8754</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986, RFC 8754</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">32768-34815</td>
<td class="text-center" rowspan="1" colspan="1">0x8000-0x87FF</td>
<td class="text-center" rowspan="1" colspan="1">Reserved for Private Use</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">34816-65534</td>
<td class="text-center" rowspan="1" colspan="1">0x8800-0xFFFE</td>
<td class="text-center" rowspan="1" colspan="1">Reserved</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
<tr>
<td class="text-left" rowspan="1" colspan="1">65535</td>
<td class="text-center" rowspan="1" colspan="1">0xFFFF</td>
<td class="text-center" rowspan="1" colspan="1">Opaque</td>
<td class="text-center" rowspan="1" colspan="1">RFC 8986</td>
</tr>
</tbody>
</table>
</div>
</section>
</section>
</div>
</section>
<section id="section-11">
<h2 id="name-references">
<a href="#section-11" class="section-number selfRef">11. </a><a href="#name-references" class="section-name selfRef">References</a>
</h2>
<section id="section-11.1">
<h3 id="name-normative-references">
<a href="#section-11.1" class="section-number selfRef">11.1. </a><a href="#name-normative-references" class="section-name selfRef">Normative References</a>
</h3>
<dl class="references">
<dt id="IEEE.802.3_2018">[IEEE.802.3_2018]</dt>
<dd>
<span class="refAuthor">IEEE</span>, <span class="refTitle">"IEEE Standard for Ethernet"</span>, <span class="refContent">IEEE 802.3-2018</span>, <span class="seriesInfo">DOI 10.1109/IEEESTD.2018.8457469</span>, <time datetime="2018-08-31" class="refDate">31 August 2018</time>, <span><<a href="https://ieeexplore.ieee.org/document/8457469">https://ieeexplore.ieee.org/document/8457469</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC2119">[RFC2119]</dt>
<dd>
<span class="refAuthor">Bradner, S.</span>, <span class="refTitle">"Key words for use in RFCs to Indicate Requirement Levels"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 2119</span>, <span class="seriesInfo">DOI 10.17487/RFC2119</span>, <time datetime="1997-03" class="refDate">March 1997</time>, <span><<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC2473">[RFC2473]</dt>
<dd>
<span class="refAuthor">Conta, A.</span><span class="refAuthor"> and S. Deering</span>, <span class="refTitle">"Generic Packet Tunneling in IPv6 Specification"</span>, <span class="seriesInfo">RFC 2473</span>, <span class="seriesInfo">DOI 10.17487/RFC2473</span>, <time datetime="1998-12" class="refDate">December 1998</time>, <span><<a href="https://www.rfc-editor.org/info/rfc2473">https://www.rfc-editor.org/info/rfc2473</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC6437">[RFC6437]</dt>
<dd>
<span class="refAuthor">Amante, S.</span><span class="refAuthor">, Carpenter, B.</span><span class="refAuthor">, Jiang, S.</span><span class="refAuthor">, and J. Rajahalme</span>, <span class="refTitle">"IPv6 Flow Label Specification"</span>, <span class="seriesInfo">RFC 6437</span>, <span class="seriesInfo">DOI 10.17487/RFC6437</span>, <time datetime="2011-11" class="refDate">November 2011</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6437">https://www.rfc-editor.org/info/rfc6437</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8174">[RFC8174]</dt>
<dd>
<span class="refAuthor">Leiba, B.</span>, <span class="refTitle">"Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"</span>, <span class="seriesInfo">BCP 14</span>, <span class="seriesInfo">RFC 8174</span>, <span class="seriesInfo">DOI 10.17487/RFC8174</span>, <time datetime="2017-05" class="refDate">May 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8200">[RFC8200]</dt>
<dd>
<span class="refAuthor">Deering, S.</span><span class="refAuthor"> and R. Hinden</span>, <span class="refTitle">"Internet Protocol, Version 6 (IPv6) Specification"</span>, <span class="seriesInfo">STD 86</span>, <span class="seriesInfo">RFC 8200</span>, <span class="seriesInfo">DOI 10.17487/RFC8200</span>, <time datetime="2017-07" class="refDate">July 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8200">https://www.rfc-editor.org/info/rfc8200</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8402">[RFC8402]</dt>
<dd>
<span class="refAuthor">Filsfils, C., Ed.</span><span class="refAuthor">, Previdi, S., Ed.</span><span class="refAuthor">, Ginsberg, L.</span><span class="refAuthor">, Decraene, B.</span><span class="refAuthor">, Litkowski, S.</span><span class="refAuthor">, and R. Shakir</span>, <span class="refTitle">"Segment Routing Architecture"</span>, <span class="seriesInfo">RFC 8402</span>, <span class="seriesInfo">DOI 10.17487/RFC8402</span>, <time datetime="2018-07" class="refDate">July 2018</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8402">https://www.rfc-editor.org/info/rfc8402</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8754">[RFC8754]</dt>
<dd>
<span class="refAuthor">Filsfils, C., Ed.</span><span class="refAuthor">, Dukes, D., Ed.</span><span class="refAuthor">, Previdi, S.</span><span class="refAuthor">, Leddy, J.</span><span class="refAuthor">, Matsushima, S.</span><span class="refAuthor">, and D. Voyer</span>, <span class="refTitle">"IPv6 Segment Routing Header (SRH)"</span>, <span class="seriesInfo">RFC 8754</span>, <span class="seriesInfo">DOI 10.17487/RFC8754</span>, <time datetime="2020-03" class="refDate">March 2020</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8754">https://www.rfc-editor.org/info/rfc8754</a>></span>. </dd>
<dd class="break"></dd>
</dl>
</section>
<section id="section-11.2">
<h3 id="name-informative-references">
<a href="#section-11.2" class="section-number selfRef">11.2. </a><a href="#name-informative-references" class="section-name selfRef">Informative References</a>
</h3>
<dl class="references">
<dt id="RFC4193">[RFC4193]</dt>
<dd>
<span class="refAuthor">Hinden, R.</span><span class="refAuthor"> and B. Haberman</span>, <span class="refTitle">"Unique Local IPv6 Unicast Addresses"</span>, <span class="seriesInfo">RFC 4193</span>, <span class="seriesInfo">DOI 10.17487/RFC4193</span>, <time datetime="2005-10" class="refDate">October 2005</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4193">https://www.rfc-editor.org/info/rfc4193</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4364">[RFC4364]</dt>
<dd>
<span class="refAuthor">Rosen, E.</span><span class="refAuthor"> and Y. Rekhter</span>, <span class="refTitle">"BGP/MPLS IP Virtual Private Networks (VPNs)"</span>, <span class="seriesInfo">RFC 4364</span>, <span class="seriesInfo">DOI 10.17487/RFC4364</span>, <time datetime="2006-02" class="refDate">February 2006</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4364">https://www.rfc-editor.org/info/rfc4364</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4664">[RFC4664]</dt>
<dd>
<span class="refAuthor">Andersson, L., Ed.</span><span class="refAuthor"> and E. Rosen, Ed.</span>, <span class="refTitle">"Framework for Layer 2 Virtual Private Networks (L2VPNs)"</span>, <span class="seriesInfo">RFC 4664</span>, <span class="seriesInfo">DOI 10.17487/RFC4664</span>, <time datetime="2006-09" class="refDate">September 2006</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4664">https://www.rfc-editor.org/info/rfc4664</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4761">[RFC4761]</dt>
<dd>
<span class="refAuthor">Kompella, K., Ed.</span><span class="refAuthor"> and Y. Rekhter, Ed.</span>, <span class="refTitle">"Virtual Private LAN Service (VPLS) Using BGP for Auto-Discovery and Signaling"</span>, <span class="seriesInfo">RFC 4761</span>, <span class="seriesInfo">DOI 10.17487/RFC4761</span>, <time datetime="2007-01" class="refDate">January 2007</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4761">https://www.rfc-editor.org/info/rfc4761</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4762">[RFC4762]</dt>
<dd>
<span class="refAuthor">Lasserre, M., Ed.</span><span class="refAuthor"> and V. Kompella, Ed.</span>, <span class="refTitle">"Virtual Private LAN Service (VPLS) Using Label Distribution Protocol (LDP) Signaling"</span>, <span class="seriesInfo">RFC 4762</span>, <span class="seriesInfo">DOI 10.17487/RFC4762</span>, <time datetime="2007-01" class="refDate">January 2007</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4762">https://www.rfc-editor.org/info/rfc4762</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC7432">[RFC7432]</dt>
<dd>
<span class="refAuthor">Sajassi, A., Ed.</span><span class="refAuthor">, Aggarwal, R.</span><span class="refAuthor">, Bitar, N.</span><span class="refAuthor">, Isaac, A.</span><span class="refAuthor">, Uttaro, J.</span><span class="refAuthor">, Drake, J.</span><span class="refAuthor">, and W. Henderickx</span>, <span class="refTitle">"BGP MPLS-Based Ethernet VPN"</span>, <span class="seriesInfo">RFC 7432</span>, <span class="seriesInfo">DOI 10.17487/RFC7432</span>, <time datetime="2015-02" class="refDate">February 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7432">https://www.rfc-editor.org/info/rfc7432</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8126">[RFC8126]</dt>
<dd>
<span class="refAuthor">Cotton, M.</span><span class="refAuthor">, Leiba, B.</span><span class="refAuthor">, and T. Narten</span>, <span class="refTitle">"Guidelines for Writing an IANA Considerations Section in RFCs"</span>, <span class="seriesInfo">BCP 26</span>, <span class="seriesInfo">RFC 8126</span>, <span class="seriesInfo">DOI 10.17487/RFC8126</span>, <time datetime="2017-06" class="refDate">June 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8126">https://www.rfc-editor.org/info/rfc8126</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8214">[RFC8214]</dt>
<dd>
<span class="refAuthor">Boutros, S.</span><span class="refAuthor">, Sajassi, A.</span><span class="refAuthor">, Salam, S.</span><span class="refAuthor">, Drake, J.</span><span class="refAuthor">, and J. Rabadan</span>, <span class="refTitle">"Virtual Private Wire Service Support in Ethernet VPN"</span>, <span class="seriesInfo">RFC 8214</span>, <span class="seriesInfo">DOI 10.17487/RFC8214</span>, <time datetime="2017-08" class="refDate">August 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8214">https://www.rfc-editor.org/info/rfc8214</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8317">[RFC8317]</dt>
<dd>
<span class="refAuthor">Sajassi, A., Ed.</span><span class="refAuthor">, Salam, S.</span><span class="refAuthor">, Drake, J.</span><span class="refAuthor">, Uttaro, J.</span><span class="refAuthor">, Boutros, S.</span><span class="refAuthor">, and J. Rabadan</span>, <span class="refTitle">"Ethernet-Tree (E-Tree) Support in Ethernet VPN (EVPN) and Provider Backbone Bridging EVPN (PBB-EVPN)"</span>, <span class="seriesInfo">RFC 8317</span>, <span class="seriesInfo">DOI 10.17487/RFC8317</span>, <time datetime="2018-01" class="refDate">January 2018</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8317">https://www.rfc-editor.org/info/rfc8317</a>></span>. </dd>
<dd class="break"></dd>
<dt id="I-D.ietf-rtgwg-segment-routing-ti-lfa">[SR-TI-LFA]</dt>
<dd>
<span class="refAuthor">Litkowski, S.</span><span class="refAuthor">, Bashandy, A.</span><span class="refAuthor">, Filsfils, C.</span><span class="refAuthor">, Francois, P.</span><span class="refAuthor">, Decraene, B.</span><span class="refAuthor">, and D. Voyer</span>, <span class="refTitle">"Topology Independent Fast Reroute using Segment Routing"</span>, <span class="refContent">Work in Progress</span>, <span class="seriesInfo">Internet-Draft, draft-ietf-rtgwg-segment-routing-ti-lfa-06</span>, <time datetime="2021-02-01" class="refDate">1 February 2021</time>, <span><<a href="https://tools.ietf.org/html/draft-ietf-rtgwg-segment-routing-ti-lfa-06">https://tools.ietf.org/html/draft-ietf-rtgwg-segment-routing-ti-lfa-06</a>></span>. </dd>
<dd class="break"></dd>
<dt id="I-D.filsfils-spring-srv6-net-pgm-illustration">[SRV6-NET-PGM-ILLUST]</dt>
<dd>
<span class="refAuthor">Filsfils, C.</span><span class="refAuthor">, Camarillo, P., Ed.</span><span class="refAuthor">, Li, Z.</span><span class="refAuthor">, Matsushima, S.</span><span class="refAuthor">, Decraene, B.</span><span class="refAuthor">, Steinberg, D.</span><span class="refAuthor">, Lebrun, D.</span><span class="refAuthor">, Raszuk, R.</span><span class="refAuthor">, and J. Leddy</span>, <span class="refTitle">"Illustrations for SRv6 Network Programming"</span>, <span class="refContent">Work in Progress</span>, <span class="seriesInfo">Internet-Draft, draft-filsfils-spring-srv6-net-pgm-illustration-03</span>, <time datetime="2020-09-25" class="refDate">25 September 2020</time>, <span><<a href="https://tools.ietf.org/html/draft-filsfils-spring-srv6-net-pgm-illustration-03">https://tools.ietf.org/html/draft-filsfils-spring-srv6-net-pgm-illustration-03</a>></span>. </dd>
<dd class="break"></dd>
</dl>
</section>
</section>
<div id="Acknowledgements">
<section id="section-appendix.a">
<h2 id="name-acknowledgements">
<a href="#name-acknowledgements" class="section-name selfRef">Acknowledgements</a>
</h2>
<p id="section-appendix.a-1">The authors would like to acknowledge <span class="contact-name">Stefano Previdi</span>, <span class="contact-name">Dave Barach</span>, <span class="contact-name">Mark Townsley</span>, <span class="contact-name">Peter Psenak</span>, <span class="contact-name">Thierry Couture</span>, <span class="contact-name">Kris Michielsen</span>, <span class="contact-name">Paul Wells</span>, <span class="contact-name">Robert Hanzl</span>, <span class="contact-name">Dan Ye</span>, <span class="contact-name">Gaurav Dawra</span>, <span class="contact-name">Faisal Iqbal</span>, <span class="contact-name">Jaganbabu Rajamanickam</span>, <span class="contact-name">David Toscano</span>, <span class="contact-name">Asif Islam</span>, <span class="contact-name">Jianda Liu</span>, <span class="contact-name">Yunpeng Zhang</span>, <span class="contact-name">Jiaoming Li</span>, <span class="contact-name">Narendra A.K</span>, <span class="contact-name">Mike Mc Gourty</span>, <span class="contact-name">Bhupendra Yadav</span>, <span class="contact-name">Sherif Toulan</span>, <span class="contact-name">Satish Damodaran</span>, <span class="contact-name">John Bettink</span>, <span class="contact-name">Kishore Nandyala Veera Venk</span>, <span class="contact-name">Jisu Bhattacharya</span>, <span class="contact-name">Saleem Hafeez</span>, and <span class="contact-name">Brian Carpenter</span>.<a href="#section-appendix.a-1" class="pilcrow">ΒΆ</a></p>
</section>
</div>
<section id="section-appendix.b">
<h2 id="name-contributors">
<a href="#name-contributors" class="section-name selfRef">Contributors</a>
</h2>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Daniel Bernier</span></div>
<div dir="auto" class="left"><span class="org">Bell Canada</span></div>
<div dir="auto" class="left"><span class="country-name">Canada</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:daniel.bernier@bell.ca" class="email">daniel.bernier@bell.ca</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Dirk Steinberg</span></div>
<div dir="auto" class="left"><span class="org">Lapishills Consulting Limited</span></div>
<div dir="auto" class="left"><span class="country-name">Cyprus</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:dirk@lapishills.com" class="email">dirk@lapishills.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Robert Raszuk</span></div>
<div dir="auto" class="left"><span class="org">Bloomberg LP</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:robert@raszuk.net" class="email">robert@raszuk.net</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Bruno Decraene</span></div>
<div dir="auto" class="left"><span class="org">Orange</span></div>
<div dir="auto" class="left"><span class="country-name">France</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:bruno.decraene@orange.com" class="email">bruno.decraene@orange.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Bart Peirens</span></div>
<div dir="auto" class="left"><span class="org">Proximus</span></div>
<div dir="auto" class="left"><span class="country-name">Belgium</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:bart.peirens@proximus.com" class="email">bart.peirens@proximus.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Hani Elmalky</span></div>
<div dir="auto" class="left"><span class="org">Google</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:helmalky@google.com" class="email">helmalky@google.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Prem Jonnalagadda</span></div>
<div dir="auto" class="left"><span class="org">Barefoot Networks</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:prem@barefootnetworks.com" class="email">prem@barefootnetworks.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Milad Sharif</span></div>
<div dir="auto" class="left"><span class="org">SambaNova Systems</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:milad.sharif@sambanova.ai" class="email">milad.sharif@sambanova.ai</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">David Lebrun</span></div>
<div dir="auto" class="left"><span class="org">Google</span></div>
<div dir="auto" class="left"><span class="country-name">Belgium</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:dlebrun@google.com" class="email">dlebrun@google.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Stefano Salsano</span></div>
<div dir="auto" class="left"><span class="org">Universita di Roma "Tor Vergata"</span></div>
<div dir="auto" class="left"><span class="country-name">Italy</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:stefano.salsano@uniroma2.it" class="email">stefano.salsano@uniroma2.it</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Ahmed AbdelSalam</span></div>
<div dir="auto" class="left"><span class="org">Gran Sasso Science Institute</span></div>
<div dir="auto" class="left"><span class="country-name">Italy</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:ahmed.abdelsalam@gssi.it" class="email">ahmed.abdelsalam@gssi.it</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Gaurav Naik</span></div>
<div dir="auto" class="left"><span class="org">Drexel University</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:gn@drexel.edu" class="email">gn@drexel.edu</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Arthi Ayyangar</span></div>
<div dir="auto" class="left"><span class="org">Arrcus, Inc</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:arthi@arrcus.com" class="email">arthi@arrcus.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Satish Mynam</span></div>
<div dir="auto" class="left"><span class="org">Arrcus, Inc</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:satishm@arrcus.com" class="email">satishm@arrcus.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Wim Henderickx</span></div>
<div dir="auto" class="left"><span class="org">Nokia</span></div>
<div dir="auto" class="left"><span class="country-name">Belgium</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:wim.henderickx@nokia.com" class="email">wim.henderickx@nokia.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Shaowen Ma</span></div>
<div dir="auto" class="left"><span class="org">Juniper</span></div>
<div dir="auto" class="left"><span class="country-name">Singapore</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:mashao@juniper.net" class="email">mashao@juniper.net</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Ahmed Bashandy</span></div>
<div dir="auto" class="left"><span class="org">Individual</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:abashandy.ietf@gmail.com" class="email">abashandy.ietf@gmail.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Francois Clad</span></div>
<div dir="auto" class="left"><span class="org">Cisco Systems, Inc.</span></div>
<div dir="auto" class="left"><span class="country-name">France</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:fclad@cisco.com" class="email">fclad@cisco.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Kamran Raza</span></div>
<div dir="auto" class="left"><span class="org">Cisco Systems, Inc.</span></div>
<div dir="auto" class="left"><span class="country-name">Canada</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:skraza@cisco.com" class="email">skraza@cisco.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Darren Dukes</span></div>
<div dir="auto" class="left"><span class="org">Cisco Systems, Inc.</span></div>
<div dir="auto" class="left"><span class="country-name">Canada</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:ddukes@cisco.com" class="email">ddukes@cisco.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Patrice Brissete</span></div>
<div dir="auto" class="left"><span class="org">Cisco Systems, Inc.</span></div>
<div dir="auto" class="left"><span class="country-name">Canada</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:pbrisset@cisco.com" class="email">pbrisset@cisco.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Zafar Ali</span></div>
<div dir="auto" class="left"><span class="org">Cisco Systems, Inc.</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:zali@cisco.com" class="email">zali@cisco.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Ketan Talaulikar</span></div>
<div dir="auto" class="left"><span class="org">Cisco Systems, Inc.</span></div>
<div dir="auto" class="left"><span class="country-name">India</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:ketant@cisco.com" class="email">ketant@cisco.com</a>
</div>
</address>
</section>
<div id="authors-addresses">
<section id="section-appendix.c">
<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">Clarence Filsfils (<span class="role">editor</span>)</span></div>
<div dir="auto" class="left"><span class="org">Cisco Systems, Inc.</span></div>
<div dir="auto" class="left"><span class="country-name">Belgium</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:cf@cisco.com" class="email">cf@cisco.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Pablo Camarillo Garvia (<span class="role">editor</span>)</span></div>
<div dir="auto" class="left"><span class="org">Cisco Systems, Inc.</span></div>
<div dir="auto" class="left"><span class="country-name">Spain</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:pcamaril@cisco.com" class="email">pcamaril@cisco.com</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">John Leddy</span></div>
<div dir="auto" class="left"><span class="org">Akamai Technologies</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:john@leddy.net" class="email">john@leddy.net</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Daniel Voyer</span></div>
<div dir="auto" class="left"><span class="org">Bell Canada</span></div>
<div dir="auto" class="left"><span class="country-name">Canada</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:daniel.voyer@bell.ca" class="email">daniel.voyer@bell.ca</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Satoru Matsushima</span></div>
<div dir="auto" class="left"><span class="org">SoftBank</span></div>
<div dir="auto" class="left"><span class="country-name">Japan</span></div>
<div class="email">
<span>Email:</span>
<a href="mailto:satoru.matsushima@g.softbank.co.jp" class="email">satoru.matsushima@g.softbank.co.jp</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Zhenbin Li</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:lizhenbin@huawei.com" class="email">lizhenbin@huawei.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>
|