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
|
<pre>Network Working Group K. Smith
Request For Comments: 1934 Ascend Communications
Category: Informational April 1996
<span class="h1">Ascend's Multilink Protocol Plus (MP+)</span>
Status of This Memo
This memo provides information for the Internet community. This memo
does not specify an Internet standard of any kind. Distribution of
this memo is unlimited.
Abstract
This document proposes an extension to the PPP Multilink Protocol
(MP) [<a href="#ref-1" title=""The PPP Multilink Protocol (MP)"">1</a>]. Multilink Protocol Plus (MP+) is a new control protocol for
managing multiple data links that are bundled by MP.
Table Of Contents
<a href="#section-1">1</a>. Introduction.................................................<a href="#page-2">2</a>
<a href="#section-1.1">1.1</a> Functional Description...............................<a href="#page-2">2</a>
<a href="#section-1.2">1.2</a> Conventions..........................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. General Overview.............................................<a href="#page-3">3</a>
<a href="#section-2.1">2.1</a> Operation............................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. MP+ Frame Formats............................................<a href="#page-4">4</a>
<a href="#section-3.1">3.1</a> Error Control (EC) Layer.............................<a href="#page-6">6</a>
<a href="#section-3.1.1">3.1.1</a> Error Control State Machine..................<a href="#page-7">7</a>
<a href="#section-3.2">3.2</a> Multilink Plus Control Messages......................<a href="#page-9">9</a>
<a href="#section-3.3">3.3</a> Multilink Plus Message Formats......................<a href="#page-10">10</a>
<a href="#section-3.3.1">3.3.1</a> VERSION_EXCHANGE_REQ Message Format.........<a href="#page-10">10</a>
<a href="#section-3.3.2">3.3.2</a> VERSION_EXCHANGE_RSP Message Format.........<a href="#page-12">12</a>
<a href="#section-3.3.3">3.3.3</a> ADD_REQ Message Format......................<a href="#page-13">13</a>
<a href="#section-3.3.4">3.3.4</a> ADD_RSP Message Format......................<a href="#page-15">15</a>
<a href="#section-3.3.5">3.3.5</a> ADD_COMPLETE Message Format.................<a href="#page-16">16</a>
<a href="#section-3.3.6">3.3.6</a> REMOVE_REQ Message Format...................<a href="#page-17">17</a>
<a href="#section-3.3.7">3.3.7</a> REMOVE_RSP Message Format...................<a href="#page-17">17</a>
<a href="#section-3.3.8">3.3.8</a> REMOVE_COMPLETE Message Format..............<a href="#page-18">18</a>
<a href="#section-3.3.9">3.3.9</a> CLOSE_REQ Message Format....................<a href="#page-19">19</a>
<a href="#section-3.3.10">3.3.10</a> CLOSE_RSP Message Format....................<a href="#page-19">19</a>
<a href="#section-3.3.11">3.3.11</a> REMOTE_MGMT_REQ Message Format..............<a href="#page-20">20</a>
<a href="#section-3.3.12">3.3.12</a> REMOTE_MGMT_RSP Message Format..............<a href="#page-20">20</a>
<a href="#section-3.3.13">3.3.13</a> REMOTE_MGMT_RX_REQ Message Format...........<a href="#page-21">21</a>
<a href="#section-3.3.14">3.3.14</a> REMOTE_MGMT_TX_REQ Message Format...........<a href="#page-22">22</a>
<a href="#section-3.3.15">3.3.15</a> REMOTE_MGMT_TX_RSP Message Format...........<a href="#page-22">22</a>
<a href="#section-3.3.16">3.3.16</a> CLEAR_REQ Message Format....................<a href="#page-23">23</a>
<a href="#section-3.4">3.4</a> Events..............................................<a href="#page-23">23</a>
<span class="grey">Smith Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<a href="#section-3.5">3.5</a> State Machine.......................................<a href="#page-25">25</a>
<a href="#section-3.5.1">3.5.1</a> States......................................<a href="#page-25">25</a>
<a href="#section-3.5.2">3.5.2</a> Common Actions..............................<a href="#page-26">26</a>
<a href="#section-3.5.3">3.5.3</a> MP+STATE_INITIAL state machine..............<a href="#page-32">32</a>
<a href="#section-3.5.4">3.5.4</a> MP+STATE_IDLE state machine.................<a href="#page-35">35</a>
<a href="#section-3.5.5">3.5.5</a> MP+STATE_ADD state machine..................<a href="#page-37">37</a>
<a href="#section-3.5.6">3.5.6</a> MP+STATE_REMOVE state machine...............<a href="#page-41">41</a>
<a href="#section-3.5.7">3.5.7</a> MP+STATE_CLOSE state machine................<a href="#page-44">44</a>
<a href="#section-4">4</a>. PPP LCP Extensions..........................................<a href="#page-46">46</a>
<a href="#section-5">5</a>. Security Considerations.....................................<a href="#page-47">47</a>
<a href="#section-6">6</a>. References..................................................<a href="#page-47">47</a>
<a href="#section-7">7</a>. Author's Address............................................<a href="#page-47">47</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The PPP Multilink Protocol (MP), is a set of features that provide
inverse multiplexing at the packet/fragment level by bundling
multiple independent links between a fixed pair of systems, providing
a virtual link with greater bandwidth than any of the constituent
members.
Once multiple channels have been established MP is responsible for
managing channel use to insure in-sequence delivery of user packets.
MP+ is an extension to MP that adds an inband control channel to
provide a new level of session management and control.
MP+ also allows remote device management of (unconfigured) systems.
This feature allows a network operations center to dial into an
unconfigured system and remotely manage it, before ethernet
interface, IP address, and other LCP and system configuration
information is entered. (This does require local configuration of
the WAN interfaces to the extent required to answer an incoming
call).
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a> Functional Description</span>
The features of MP+ include:
* Ability to negotiate to add and subtract channels when bandwidth
needs change.
* Phone number management so calling stations need not know every
possible number; answering stations can manage their own resources.
* A simple remote management interface.
<span class="grey">Smith Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
To perform the above functions MP+ is split into a call management
layer and a reliable delivery layer. The call management layer is
the source and sink of MP+ control messages. The reliable delivery
layer adds a simple acknowledge and retry mechanism.
MP+ only takes network bandwidth when in the process of performing a
user request, e.g. adding and subtracting bandwidth.
NOTE: Neither MP, or MP+ define the process that makes the bandwidth
requirement determination. That is outside the scope of either of
these protocols and will likely be implementation dependent.
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a> Conventions</span>
The following language conventions are used in the items of
specification in this document:
MUST, SHALL or MANDATORY -- the item is an absolute requirement
of the specification.
SHOULD or RECOMMENDED -- the item should generally be followed
for all but exceptional circumstances.
MAY or OPTIONAL -- the item is truly optional and may be followed
or ignored according to the needs of the implementor.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. General Overview</span>
PPP
In order to establish communications over a point-to-point link,
each end of the PPP [<a href="#ref-2" title=""The Point-to-Point Protocol (PPP)"">2</a>] link must first send LCP packets to
configure the data link during link establishment phase. After
the link has been established, PPP provides for an authentication
phase.
MP The goal of multilink operation is to bundle multiple
independent links between a fixed pair of systems, providing a
virtual link with greater bandwidth than any of the constituent
members.
MP+ MP+ is also negotiated during initial LCP option negotiation. A
system indicates to its peer that it is willing to do MP+ by
sending the MP+ option as part of the initial LCP option
negotiation. The MP+ option MUST NOT be negotiated unless MP is
also negotiated. When used, MP+ adds a virtual unit-to-unit
control channel.
A peer may elect to:
<span class="grey">Smith Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Acknowledge both the MP and MP+ options, indicating that both MP and
MP+ will be used.
Acknowledge the MP option and reject the MP+ option. Operation will
fall back to MP.
Reject both options. Standard PPP will be used for this connection.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. Operation</span>
Standard PPP
In standard PPP the LCP negotiation phase is followed by an
optional authentication phase, and then one or more NCPs are
initiated.
PPP with MP The LCP negotiation phase and authentication phase are
identical to standard PPP. The ability to initiate an MP
aggregate data link is indicated by sending an MP option - as
described in [<a href="#ref-1" title=""The PPP Multilink Protocol (MP)"">1</a>].
PPP with MP and MP+ When MP+ is negotiated at LCP startup, the same
procedures are followed as when MP is negotiated alone. The MP+
LCP option is negotiated to indicate the ability to use the MP+
feature.The first connection between endpoints causes the MP+
process to be started for the connection.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. MP+ Frame Formats</span>
+---------------+---------------+
PPP Header: | Address 0xff | Control 0x03 |
+---------------+---------------+
| PID(H) 0x00 | PID(L) 0x73 |
+-+-+-+-+-------+---------------+
MP Header: |1|1|0|0|0|0|0|1| seq # high |
+-+-+-+-+-------+---------------+
| sequence number low bits |
+---------------+---------------+
| control data |
| . |
| . |
| . |
+---------------+---------------+
PPP FCS: | FCS |
+---------------+---------------+
Figure 1: Multilink Plus Frame Format (long sequence number format)
<span class="grey">Smith Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
+---------------+---------------+
PPP Header: | Address 0xff | Control 0x03 |
+---------------+---------------+
| PID(H) 0x00 | PID(L) 0x73 |
+-+-+-+-+-------+---------------+
MP Header: |1|1|0|1| sequence number |
+-+-+-+-+-------+---------------+
| control data |
| . |
| . |
| . |
+---------------+---------------+
PPP FCS: | FCS |
+---------------+---------------+
Figure 2: Multilink Plus Frame Format (short sequence number format)
MP+ frames use a similar structure to MP fragments.
The MP+ assigned PID is designated 00 73.
MP+ control uses the following two rules:
- MP+ control frames have their own sequence number space,
controlled by MP+.
- MP+ control frames MUST NOT be fragmented.
NOTE: Implementations of this protocol prior to the date of submission
of this specification to the IETF use the same PID as MP, but
sets the LSB of the reserved bits in the MP header to 1 - this
is how the MP+ packets are discriminated from MP fragments.
So the header of the MP+ packet looks like:
00 3d c1 ......
As compared to an MP packet that looks like:
00 3d c0 ...... or
00 3d 80 ...... or
00 3d 40 ......
<span class="grey">Smith Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Error Control (EC) Layer (MP+ control only)</span>
The error control layer that runs over the virtual inband channel is
as simple as it can get, while handling the possibility of errors on
the line.
An assumption is made that errors are infrequent, and that at the
same time messages are rarely, if ever, dropped on the floor. The
implication of this is that "timing out" on retransmission of
messages does no harm. If a message cannot get through, then it
simply is retried some number of times. After giving up, the only
recourse is to notify the call management layer (of MP) that the
session has died.
+---------------+---------------+
PPP Header: | Address 0xff | Control 0x03 |
+---------------+---------------+
| PID(H) 0x00 | PID(L) 0x73 |
+-+-+-+-+-------+---------------+
MP+ Header: |1|1|0|0|0|0|0|1| seq # high |
+-+-+-+-+-------+---------------+
| sequence number low bits |
+---------------+---------------+
EC Header: | Error Control Message Type |
| 32 bits reserved |
+---------------+---------------+
MP+ Data: | MP+ Message | May not be
| | present.
Figure 3: MP+ control message format (shown long sequence number
format)
Error Control Message Type:
1 DATA_MSG: This message contains MP+ data transferred
between the peers.
2 ACK_MSG: An acknowledgement of a previous data message.
When set to DATA_MSG, the remainder of the frame contains an MP+
Control message.
When set to ACK_MSG, the remainder of the frame consists only of the
PPP Frame Check Sum (FCS).
<span class="grey">Smith Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h4"><a class="selflink" id="section-3.1.1" href="#section-3.1.1">3.1.1</a>. Error Control State Machine</span>
This layer is controlled by a simple state machine. There are three
states:
Stopped There is no connection between peers.
Idle There is a connection between peers;
no unacknowledged messages pending.
Pending There is a connection between peers;
awaiting an acknowledgement to the
last message sent.
Messages from the call management layer are queued for transmission
whenever the link is in the pending state. For simplicity, only
one outstanding message may be in the link at any given time. The
entire procedure is defined in table 1.
Event State
______________________________________________________________________
Stopped Idle Pending
======================================================================
Start 1,Idle -,* -,*
______________________________________________________________________
Received ACK_MSG ** 2,Start 5,Idle|Pending
current tx sequence number
______________________________________________________________________
Received ACK_MSG ** -,* -,*
last tx sequence number
______________________________________________________________________
Received ACK_MSG ** 2,Start 2,Start
other tx sequence number
______________________________________________________________________
Received DATA_MSG ** 6,* 6,*
current rx sequence number
______________________________________________________________________
Received DATA_MSG ** 7,* 7,*
previous rx sequence number
______________________________________________________________________
Received DATA_MSG ** 2,Start 2,Start
other rx sequence number
______________________________________________________________________
Receive Invalid Frame ** 2,Start 2,Start
______________________________________________________________________
Retransmit Timer Expire ** ** 4,Start|*
______________________________________________________________________
<span class="grey">Smith Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
______________________________________________________________________
Transmit Request from call -,* 3,Pending 8,*
management layer
______________________________________________________________________
Stop 9,Start 9,Start 9,Start
______________________________________________________________________
Table 1: Error Control State Machine
Legend:
- No action
* Stay in same state
** Invalid or meaningless event for state, ignored.
Notes:
[<a id="ref-1">1</a>] Data from the call management layer will always be copied before
being queued for transmission. The call management layer is
responsible for its own buffers.
[<a id="ref-2">2</a>] MP always copies data for transmission and returns immediately.
Any buffers allocated to build control messages MUST be released
immediately upon return from MP transmission requests.
Actions:
1 Reset rx sequence number
Reset tx sequence number
Reset tx retransmit count
Stop retransmit timer
2 Report error to user
Stop retransmit timer
Stop frame transmit timer
Free buffers
3 Save call management message in pending transmit queue
Build DATA_MSG from first message in pending transmit
queue using current tx sequence number.
Send message to MP for transmission.
Reset tx retransmit count
<span class="grey">Smith Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
4 Increment tx retransmit count
If tx retransmit count >= RETRANSMIT_COUNT
Action 2 (followed by state change to the Start state)
else
Build DATA_MSG from first message in pending
transmit queue using current tx sequence number.
Send message to MP for transmission.
5 Dequeue first element on pending transmit queue and release
its buffer
Increment the tx sequence number
Stop the retransmit timer
if pending transmit queue not empty
Build DATA_MSG from first message in pending
transmit queue using current tx sequence number.
Send message to MP for transmission.
Reset tx retransmit count
6 Build ACK_MSG using the current rx sequence number
Send ack message to MP for transmission
Pass message to call managment layer
Increment rx sequence number
7 Build ACK_MSG using the previous rx sequence number
Send the ack message to MP for transmission
8 Add the message to the end of the pending transmit queue
9 Stop retransmit timer
Free buffers
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Multilink Plus Control Messages</span>
Message Type Value
VERSION_EXCHANGE_REQ 1
VERSION_EXCHANGE_RSP 2
ADD_REQ 3
ADD_RSP 4
ADD_COMPLETE 5
REMOVE_REQ 6
REMOVE_RSP 7
REMOVE_COMPLETE 8
CLOSE_REQ 9
CLOSE_RSP 10
REMOTE_MGMT_REQ 11
REMOTE_MGMT_RSP 12
REMOTE_MGMT_RX_REQ 13
REMOTE_MGMT_TX_REQ 14
<span class="grey">Smith Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
REMOTE_MGMT_TX_RSP 15
CLEAR_REQ 16
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Multilink Plus Message Formats</span>
The fields of all messages defined here MUST be encoded/decoded in
Network Byte Order (big endian).
<span class="h4"><a class="selflink" id="section-3.3.1" href="#section-3.3.1">3.3.1</a>. VERSION_EXCHANGE_REQ Message Format</span>
The version exchange message is sent by the call originator to inform
the answerer the version of the MP+ protocol being used as well as
any other information that may need to be conveyed outside of the
normal PPP parameter negotiation.
+---------------+---------------+
| Message type |
| 0x00000001 |
+---------------+---------------+
| Protocol Version |
+---------------+---------------+
| Protocol Revision |
+---------------+---------------+
| Session Identifier |
+---------------+---------------+
| Hardware Type |
+---------------+---------------+
| Nailed Mode |
+---------------+---------------+
| Use Multiple Trunk Groups |
+---------------+---------------+
| Descriptor Length |
+---------------+---------------+
| Descriptor |
+---------------+---------------+
Figure 4: Version Exchange Request
A message sent from call originator to call answerer specifying the
callers protocol version and other state info and requesting the
answerer to respond with its version info.
Protocol Version:
caller MP+ protocol version number.
2 octets fixed length (initially 1)
<span class="grey">Smith Informational [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Protocol Revision:
caller MP+ protocol revision number.
2 octets fixed length (initially 4)
Session Identifier:
A non-zero identifier unique to the caller.
2 octets fixed length.
Hardware Type:
caller hardware type (can be vendor defined).
2 octets fixed length.
Nailed Mode:
caller nailed mode from the session profile.
2 octets fixed length.
Use Multiple Trunk Groups:
non-zero if the call may use channels from multiple trunk
groups.
2 octets fixed length
Descriptor Length:
length of the end point descriptor.
2 octets fixed length
Descriptor:
the end point descriptor. This field allows for vendor
specific identification of the peer.
Variable length as defined above.
<span class="grey">Smith Informational [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h4"><a class="selflink" id="section-3.3.2" href="#section-3.3.2">3.3.2</a>. VERSION_EXCHANGE_RSP Message Format</span>
The version exchange response message is sent by the call answerer in
response to a version exchange request message. The answerer uses
the message to inform the caller the version of the MP+ protocol
being used as well as any other information that needs to be conveyed
outside of the normal PPP parameter negotiation.
+---------------+---------------+
| Message type |
| 0x00000002 |
+---------------+---------------+
| Protocol Version |
+---------------+---------------+
| Protocol Revision |
+---------------+---------------+
| Session Identifier |
+---------------+---------------+
| Hardware Type |
+---------------+---------------+
| Nailed Mode |
+---------------+---------------+
| Use Multiple Trunk Groups |
+---------------+---------------+
| Descriptor Length |
+---------------+---------------+
| Descriptor |
+---------------+---------------+
Figure 5: Version Exchange Response
A message sent from call answerer to the call originator specifying
the answerers protocol version and other state info. Sent in
response to receiving a version exchange request.
Protocol Version:
caller MP+ protocol version number.
2 octets fixed length (initially 1)
Protocol Revision:
caller MP+ protocol revision number.
2 octets fixed length (initially 4)
Session Identifier:
A non-zero identifier unique to the answerer.
2 octets fixed length.
<span class="grey">Smith Informational [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Hardware Type:
caller hardware type (can be vendor defined).
2 octets fixed length.
Nailed Mode:
caller nailed mode from the session profile.
2 octets fixed length.
Use Multiple Trunk Groups:
non-zero if call may use channels from multiple trunk groups.
2 octets fixed length
Descriptor Length:
length of the remote descriptor in 4-octet units.
2 octets fixed length
Descriptor:
the remote unit descriptor. This field allows for vendor
specific identification of the peer.
Variable length Nx4 octets long - total length defined above.
<span class="h4"><a class="selflink" id="section-3.3.3" href="#section-3.3.3">3.3.3</a>. ADD_REQ Message Format</span>
A message of this type is sent by either caller or answerer to
initiate an increase of bandwidth. When sent by the caller the
request is asking for permission to dial a certain number of
channels; the response will contain permission and the phone numbers
of the channels to dial. When sent by the answerer, this message
contains the phone numbers to dial. The message looks like:
+---------------+---------------+
| Message type |
| 0x00000003 |
+---------------+---------------+
| Number of channels requested |
+---------------+---------------+
| Number of phone numbers |
+---------------+---------------+
| A phone number list for |
| each phone number |
| . |
| . |
| . |
+---------------+---------------+
Figure 6: Add Request
<span class="grey">Smith Informational [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
A message sent by either caller or answerer to request that additional
bandwidth be added to a session.
Number of channels requested:
The maximum number of channels to add.
2 octets fixed length.
Number of phone numbers:
The number of phone numbers provided. This
value will always be zero when the caller
initiates an add and will be at least
Number of channels requested when the answerer
initiates the add.
2 octets fixed length.
Phone number list:
A list of up to 32 phone number lists
containing the phone numbers to call.
Each description is of fixed length as described below:
Each phone number is represented by a phone number list.
The format of a phone number list is:
+---------------+---------------+
| in use flag |
+---------------+---------------+
| call service type |
+---------------+---------------+
| Phone number |
| 20 octets |
| plus null terminator |
| (21 octet total) |
| |
| |
| |
| |
| |
| |
| +---------------+
| | Must be 0 |
+---------------+---------------+
| must be 0 |
+---------------+---------------+
Figure 7: Phone number list
<span class="grey">Smith Informational [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
A structure containing information about a connection within the
system.
in use flag:
non-zero if the phone number indicated
in this descriptor is currently in use.
2 octets fixed length
call service type:
Defines the type of service, switched, nailed,
or other, associated with a phone number.
1 Nailed
2 Switched
>=3 Undefined
Phone number:
The null terminated phone number of this channel.
Fixed length 21 octets. Each octet contains IA5 character
representation of a digit (or #, *).
Must be 0:
Filler to force alignment to 32-bit boundary.
<span class="h4"><a class="selflink" id="section-3.3.4" href="#section-3.3.4">3.3.4</a> ADD_RSP Message Format</span>
A message of this type gives permission to dial some number of
channels and, when sent by the answerer of the original call, gives
the phone numbers of channels to dial.
+---------------+---------------+
| Message type |
| 0x00000004 |
+---------------+---------------+
| Number of channels allowed |
+---------------+---------------+
| Number of phone numbers |
+---------------+---------------+
| A phone number list for |
| each phone number |
| . |
| . |
| . |
+---------------+---------------+
Figure 8: Add Response
<span class="grey">Smith Informational [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
A message sent by either caller or answerer to indicate the number of
channels that may be added to a session.
Number of channels allowed:
The actual number of channels to add. This
may be less than the number requested.
2 octets fixed length.
Number of phone numbers:
The number of phone numbers provided. This
value will always be zero when sent by the
caller and will be at least channelCount
when sent by the answerer.
2 octets fixed length.
Phone number list:
A list of up to 32 phone number lists
containing the phone numbers to call.
Each description is of fixed length as described above.
<span class="h4"><a class="selflink" id="section-3.3.5" href="#section-3.3.5">3.3.5</a>. ADD_COMPLETE Message Format</span>
This message is sent by the caller to the answerer after all calls
have been placed. The message is used to notify the answerer that
the add transaction is complete and it may return to the idle state.
+---------------+---------------+
| Message type |
| 0x00000005 |
+---------------+---------------+
| Channels added |
+---------------+---------------+
| Must be zero |
+---------------+---------------+
Figure 9: Add Complete
A message sent by caller to indicate the number of channels that were
added successfully. This message was added in MP+ Version 1.1.
Channels added:
The actual number of channels added.
2 octets fixed length
Must be zero:
Padding to 32-bit boundary.
2 octets fixed length
<span class="grey">Smith Informational [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h4"><a class="selflink" id="section-3.3.6" href="#section-3.3.6">3.3.6</a>. REMOVE_REQ Message Format</span>
A message of this type is sent when a peer decides, for any reason,
to remove channels from use. The purpose of the message is to tell
the remote end of the remove and give it a chance to adjust the
number of channels to remove.
+---------------+---------------+
| Message type |
| 0x00000006 |
+---------------+---------------+
| Number of channels to remove |
+---------------+---------------+
| Must be zero |
+---------------+---------------+
Figure 10: Remove Request
A message sent by either caller or answerer to request that bandwidth
be removed from a session.
Number of channels to remove:
The maximum number of channels to remove.
2 octets fixed length
Must be zero:
Padding to 32-bit boundary.
2 octets fixed length
<span class="h4"><a class="selflink" id="section-3.3.7" href="#section-3.3.7">3.3.7</a>. REMOVE_RSP Message Format</span>
This message is sent in response to a remove request. The responder
specifies the number of channels that can be removed. If the
response specifies 0 channels the remove is cancelled.
+---------------+---------------+
| Message type |
| 0x00000007 |
+---------------+---------------+
| Number of channels to remove |
+---------------+---------------+
| Must be zero |
+---------------+---------------+
Figure 11: Remove Response
<span class="grey">Smith Informational [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
A message sent in response to a remove request specifying the number
of channels that the peer agrees can be removed.
Number of channels to remove:
The maximum number of channels to remove.
May be zero, in which case the remove is
cancelled.
2 octets fixed length
Must be zero:
Padding to 32-bit boundary.
2 octets fixed length
<span class="h4"><a class="selflink" id="section-3.3.8" href="#section-3.3.8">3.3.8</a>. REMOVE_COMPLETE Message Format</span>
This message is sent by the initiator of a remove transaction when
the agreed upon number of channels have been removed. The message is
used to notify the peer that the remove transaction is complete and
it may return to the idle state.
+---------------+---------------+
| Message type |
| 0x00000008 |
+---------------+---------------+
| Number of channels removed |
+---------------+---------------+
| Must be zero |
+---------------+---------------+
Figure 12: Remove Complete
A message sent by the caller or answerer to indicate how many channels
were actually removed. This message was added in MP+ CM version 1.1.
Number of channels removed:
The number of channels that were removed.
2 octets fixed length
Must be zero:
Padding to 32-bit boundary.
2 octets fixed length
<span class="grey">Smith Informational [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h4"><a class="selflink" id="section-3.3.9" href="#section-3.3.9">3.3.9</a>. CLOSE_REQ Message Format</span>
This message is sent when the peer requests to close the whole
session. This is typically due to a configuration option that
indicates when a system should request to close the session (an
example being, a link has been idle for greater than a preconfigured
time period).
+---------------+---------------+
| Message type |
| 0x00000009 |
+---------------+---------------+
Figure 13: MP+ close request.
There are no data fields associated with this message.
<span class="h4"><a class="selflink" id="section-3.3.10" href="#section-3.3.10">3.3.10</a>. CLOSE_RSP Message Format</span>
If the peer agrees that closing the session is acceptable based on
it's own configuration (an example reject reason would be that the
peer is configured with a *minimum* number of channels to keep
active).
+---------------+---------------+
| Message type |
| 0x0000000a |
+---------------+---------------+
| OK To Close |
+---------------+---------------+
| Must be zero |
+---------------+---------------+
Figure 14: MP+ close response
The response to a close request. May be sent by caller or answerer.
OK To Close:
If non-zero, peer said I can close all channels.
2 octets fixed length
Must be zero:
Padding to 32-bit boundary.
2 octets fixed length
<span class="grey">Smith Informational [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h4"><a class="selflink" id="section-3.3.11" href="#section-3.3.11">3.3.11</a>. REMOTE_MGMT_REQ Message Format</span>
This message is sent from a master station to a slave station when
the master wishes to manage the remote station. The message is also
used to cancel remote management once it's been started.
+---------------+---------------+
| Message type |
| 0x0000000b |
+---------------+---------------+
| Mode |
+---------------+---------------+
| Must be zero |
+---------------+---------------+
Figure 15: Remote Management Request
A message sent from master to slave to initiate or clear a remote
management session.
Mode:
One to start session. Zero to stop session.
2 octets fixed length
Must be zero:
Padding to 32-bit boundary.
2 octets fixed length
<span class="h4"><a class="selflink" id="section-3.3.12" href="#section-3.3.12">3.3.12</a>. REMOTE_MGMT_RSP Message Format</span>
The slave side of a remote management session has the opportunity to
reject remote management. The master side is informed of accept/deny
status via the remote management response.
+---------------+---------------+
| Message type |
| 0x0000000c |
+---------------+---------------+
| Mode |
+---------------+---------------+
Figure 16: Remote Management Response
A message sent from slave to master to allow or deny initiation of a
remote management session.
<span class="grey">Smith Informational [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Mode:
One to accept session. Zero to deny session.
2 octets fixed length
Must be zero:
Padding to 32-bit boundary.
2 octets fixed length
<span class="h4"><a class="selflink" id="section-3.3.13" href="#section-3.3.13">3.3.13</a>. REMOTE_MGMT_RX_REQ Message Format</span>
This message type is used to convey keyboard input from the
management master to be processed by the management slave. The
message format consists of an octet count (in network byte order) and
then an array of octets to be processed. It looks like:
+---------------+---------------+
| Message type |
| 0x0000000d |
+---------------+---------------+
| character count |
+---------------+---------------+
| array of characters |
| . |
| . |
| . |
+---------------+---------------+
Figure 17: Remote Management Receive Request
A message sent from master to slave, conveying keystrokes typed on the
masters keyboard that will be processed by the slave.
character count:
Number of characters to process.
2 octets fixed length
array of characters:
Array of characters to process.
<span class="grey">Smith Informational [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h4"><a class="selflink" id="section-3.3.14" href="#section-3.3.14">3.3.14</a>. REMOTE_MGMT_TX_REQ Message Format</span>
The remote management slave conveys output to be displayed on the
masters terminal with a remote management transmit request message.
Only one message may be outstanding. The next transmit request may
not be sent until the previous has been acknowledged.
+---------------+---------------+
| Message type |
| 0x0000000e |
+---------------+---------------+
| character count |
+---------------+---------------+
| array of characters |
| . |
| . |
| . |
+---------------+---------------+
Figure 18: Remote Management Transmit Request
A message sent from slave to master, conveying output to be output on
the master's display.
Character count:
Number of characters to process.
2 octets fixed length
array of characters:
Array of characters to process.
<span class="h4"><a class="selflink" id="section-3.3.15" href="#section-3.3.15">3.3.15</a>. REMOTE_MGMT_TX_RSP Message Format</span>
This message is used to acknowledge remote management transmit
requests. The slave may send the next transmit request once this
message has been received.
+---------------+---------------+
| Message type |
| 0x0000000f |
+---------------+---------------+
Figure 19: Remote Management Transmit Response
There are no data fields associated with this message.
<span class="grey">Smith Informational [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h4"><a class="selflink" id="section-3.3.16" href="#section-3.3.16">3.3.16</a>. CLEAR_REQ Message Format</span>
A message sent to initiate a friendly shutdown of an MP+ link. The
sender will stop sending data immediately. The receiver of the
message will also stop sending user data and start a clean shutdown
of all NCPs and the LCP of each member link of the bundle. When the
last member link terminates, the session is completely closed.
+---------------+---------------+
| Message type |
| 0x00000010 |
+---------------+---------------+
Figure 20: Clear Request
There are no data fields associated with this message.
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Events</span>
The MP+ state machine is event driven. Reception of an event triggers
an action and possibly a state change. The events processed by the
MP+ state machine can be roughly classed into two types:
Events that originate within the unit, e.g. notification that a
call has cleared, an MP+ session may be started, etc.
Events that originate with the reception of an MP+ control
message from the peer unit.
Both types are processed by the state machine in the sequence they
occurred. The events processed are:
MP+START_SESSION: Notification from PPP/MP that an
MP+ session is starting.
MP+SESSION_DOWN: Notification from the error-control
layer that end-to-end connectivity
has been lost and control messages can
not be delivered.
MP+SESSION_TERM: Session termination notification from
PPP/MP. This event is not sent until
the last channel of a multi-channel
session is cleared.
MP+TIMER_EXPIRED: Timers are used in various states and
sub-states. This event is signaled whenever
a timer expires.
<span class="grey">Smith Informational [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
MP+CALL_COMPLETE: A call placed during an add request has
completed. The call may have succeeded or
failed.
MP+UTILIZATION: Notification from MP/PPP that link
utilization has crossed a threshold and that
channels may need to be added/removed.
(The number of channels to add/remove will be
passed with the notification).
MP+RX_VERSION_REQ: A Version Exchange request message has
been received from the peer.
MP+RX_VERSION_RSP: A Version Exchange response message has
been received from the peer.
MP+ADD_REQ: An Add request message has been received
from the peer.
MP+ADD_RSP: An Add response message has been received
from the peer.
MP+ADD_COMP: An Add Complete message has been received
from the peer.
MP+REMOVE_REQ: A Remove request message has been received
from the peer.
MP+REMOVE_RSP: A Remove response message has been
received from the peer.
MP+REMOVE_COMP: A Remove Complete message has been received
from the peer.
MP+RX_RM_REQ: A Remote Management request has been received
from the peer.
MP+RX_RM_RSP: A Remote Management response has been received
from the peer.
MP+RX_RM_RX_REQ: A Remote Management Receive Request has been
received from the far end.
MP+RX_RM_TX_REQ: A Remote Management Transmit Request has
been received from the peer.
<span class="grey">Smith Informational [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
MP+RX_RM_TX_RSP: A Remote Management Transmit Response has
been received from the peer.
MP+RX_CLEAR: A request to shut down the session has been
received from the peer.
MP+CLOSE_REQ: A Close Request message has been received
from the peer.
MP+CLOSE_RSP: A Close Response message has been received
from the peer.
MP+START_RM Request to start a remote management session
with this station being the master.
MP+SEND_RMS: Request to send data to a remote management
master from a slave.
MP+SEND_RMM: Request to send data to a remote management
slave from a master.
MP+RECV_RMM: Request to send an ack to a remote management
slave for data received from the slave.
MP+STOP_RM: Request to stop a remote management session.
<span class="h3"><a class="selflink" id="section-3.5" href="#section-3.5">3.5</a>. State Machine</span>
<span class="h4"><a class="selflink" id="section-3.5.1" href="#section-3.5.1">3.5.1</a> States</span>
To ease readability and understanding the major states are considered
as separate state machines, each having two to four sub-states. The
sub-states are named by the letters, A, B, C, and D. State
information is maintained for every interface.
The major states are:
MP+STATE_INITIAL: The state of an unused session. Session table
entries are intialized to this state at startup
and return to this state when sessions are
terminated.
MP+STATE_IDLE: The state of an active session that is not
performing any MP+ function.
MP+STATE_ADD: The state of a session when an add transaction is
in progress.
<span class="grey">Smith Informational [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
MP+STATE_REMOVE: The state of a session when a remove transaction is
in progress.
MP+STATE_CLOSE: The state of a session that is in the process of
being closed.
State transitions are triggered by the reception of an event. Tables
2 through 6 contain the state tables for the major states. All state
tables use the following symbols.
- No action
* Stay in same state
+ Target state is defined by the action taken
** An error has occurred, log an error message but no
state change.
States and sub-state transitions are noted as state:sub-state, e.g.,
initial:A. Alternative transitions are listed on separate lines.
<span class="h4"><a class="selflink" id="section-3.5.2" href="#section-3.5.2">3.5.2</a> Common Actions</span>
Some actions are common to all states, they are defined here.
Error Close Action
Called to close a session when an error occurs. Actions are:
[<a id="ref-1">1</a>] Stop timer if running.
[<a id="ref-2">2</a>] Log an error message.
[<a id="ref-3">3</a>] Close the MP+EC layer for this session.
[<a id="ref-4">4</a>] Close MP for this session
[<a id="ref-5">5</a>] Clean up, restore state variables to their initial state.
Term Action
Processed when a MP+SESSION_TERM event occurs in most states.
Actions are:
[<a id="ref-1">1</a>] Stop timer if running.
[<a id="ref-2">2</a>] Close the MP+EC layer for this session.
<span class="grey">Smith Informational [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
[<a id="ref-3">3</a>] Call the passed termination callback function if not null.
[<a id="ref-4">4</a>] Clean up, restore state variables to their initial state.
Ignore Action
We don't care about this event in this state. Do nothing.
Timer Action
This action is called when a timer expires in one of the on-line
states. The timer is used to implement add and remove locks. A
lock is set when an add or remove fails and is not cleared until
a bandwidth change or the timer expires. This keeps us from
retrying add's and subtracts until there is a likelyhood that it
will succeed.
[<a id="ref-1">1</a>] Check add lock flag.
[<a id="ref-1">1</a>] If set an add lock occured last timeout period so
triple the timeout value (to a max of 81 minutes).
[<a id="ref-2">2</a>] If not set restore the timeout value to its initial
value of one minute.
[<a id="ref-2">2</a>] Clear the add lock flag.
[<a id="ref-3">3</a>] Clear the remove lock flag.
[<a id="ref-4">4</a>] Restart the retry timer.
Enter Remove [local] Action
The local unit is initiating a remove transaction. The desired
bandwidth is given.
[<a id="ref-1">1</a>] Restart the idle timer.
[<a id="ref-2">2</a>] Calculate number of channels to remove (difference between
number in use and number in desired).
[<a id="ref-3">3</a>] Build and send a remove request and send to remote.
[<a id="ref-4">4</a>] Go to REMOVE:A.
<span class="grey">Smith Informational [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Enter Remove [remote] Action
The remote unit is initiating a remove transaction. The incoming
message contains the number of channels to remove.
[<a id="ref-1">1</a>] Restart the idle timer.
[<a id="ref-2">2</a>] Request the number of channels required. If greater than the
number available after removing the number of channels indicated
in the incoming message reduce the number of channels to remove
and set a remove lock.
[<a id="ref-3">3</a>] Build a remove response message indicating the number of
channels we will allow the requester to remove and send to the
remote.
[<a id="ref-4">4</a>] Go to REMOVE:B.
Enter Add [local] Action
The local unit is initiating an add transaction. We are given
the number of channels desired. The steps are:
[<a id="ref-1">1</a>] Restart the idle timer.
[<a id="ref-2">2</a>] Calculate number of channels to add (difference between
number desired and number in use).
[<a id="ref-3">3</a>] Reserve number of channels, retrieving their phone numbers.
[<a id="ref-4">4</a>] If number of channels reserved less than the number desired
set an add lock.
[<a id="ref-5">5</a>] If number of channels reserved greater than zero.
[<a id="ref-1">1</a>] Build an add request. If the answerer the request
includes the phone numbers for the caller to dial.
[<a id="ref-2">2</a>] If caller, go to ADD:A.
[<a id="ref-3">3</a>] If answerer, go to ADD:C.
[<a id="ref-6">6</a>] Go to IDLE state.
<span class="grey">Smith Informational [Page 28]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-29" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Enter Remove [remote] Action
The remote unit is initiating a remove transaction. The
incoming message contains the number of channels to remove.
[<a id="ref-1">1</a>] Clear the remove lock.
[<a id="ref-2">2</a>] Restart the idle timer.
[<a id="ref-3">3</a>] Request the number of channels required. If greater
than the number available after removing the number of
channels indicated in the incoming message reduce the
number of channels to remove.
[<a id="ref-4">4</a>] Build a remove response message indicating the number
of channels we will allow the requester to remove and
send to the remote.
[<a id="ref-5">5</a>] Go to REMOVE, sub-state B.
Enter Add [remote answerer] Action
We've received a message from the remote requesting that
bandwidth be added. The message contains the number of
channels to add. Since the remote is the answerer, the mes-
sage also contains the phone nubmers to dial. We may dial
less than the number requested.
[<a id="ref-1">1</a>] Restart idle timer.
[<a id="ref-2">2</a>] If the number of channels requested will put us over
the maximum number of channels allowed for the session
reduce the channel count.
[<a id="ref-3">3</a>] For each channel to add,
[<a id="ref-1">1</a>] Integrate the phone number returned from the
answerer with the original phone number dialed.
[<a id="ref-2">2</a>] Request that a session be extended by dialing
the integrated phone number. A callback is
passed with the request so call success or fail-
ure can be reported back to MP+.
[<a id="ref-4">4</a>] Go to ADD:B. Note: This change must actu-
ally occur before requesting the first outgoing call.
If not, the callback could be called (and ignored)
because the session is not in the correct state.
<span class="grey">Smith Informational [Page 29]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-30" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Enter Add [remote caller] Action
We've received a message from the remote requesting that
bandwidth be added. The message contains the number of
channels to add. Since the remote is the caller, it needs
us to send the phone numbers to dial. We may send fewer
phone numbers than requested
[<a id="ref-1">1</a>] Restart idle timer.
[<a id="ref-2">2</a>] If the number of channels requested will put us over
the maximum number of channels allowed for the session
reduce the channel count.
[<a id="ref-3">3</a>] Reserve the adjusted number of channels, retrieving
their phone numbers.
[<a id="ref-4">4</a>] If the number of channels reserved is less than the
adjusted number requested.
[<a id="ref-5">5</a>] Build an add response message, including the phone
numbers for the channels we will let the caller add
and send it to the far end.
[<a id="ref-6">6</a>] Go to ADD:C.
Enter Idle Action
The IDLE state is entered at the end of normal transactions.
At entry the current status of the connection should be
checked and new transactions initiated if necessary. To be
safe, we can also use this state as a catch all place to
release any bandwidth reserved for adds. The functions to
perform are:
[<a id="ref-1">1</a>] Restart the idle timer using the current retry value.
[<a id="ref-2">2</a>] Release any reserved bandwidth not actually in use.
[<a id="ref-3">3</a>] Check if bandwidth change reqested during last trans-
action. If change indicated:
[<a id="ref-1">1</a>] Query channel counts.
[<a id="ref-2">2</a>] If current bandwidth less than suggested band-
width and removes are not locked, store the
requested bandwidth and initiate a remove trans-
action (Enter Remove Action).
<span class="grey">Smith Informational [Page 30]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-31" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
[<a id="ref-3">3</a>] If current bandwidth greater than suggested
bandwidth and adds are not locked:
[<a id="ref-1">1</a>] Store the requested bandwidth.
[<a id="ref-2">2</a>] Intiate an add transaction (Enter Add
[local] Action).
[<a id="ref-4">4</a>] Go to the IDLE state.
Remote Management Request Action
We received a request to start/stop remote management.
If this is a start request
If we can/allow remote management:
Build and send a Remote management response Allow
message.
Else
Build and send a Remote management response Deny
message.
Else (this is a stop)
Notify the remote management slave process to terminate.
Remote Management Response Action
We received a response to our remote management start request.
If the response was an Allow response
Notify the remote management master process, we can
start sending keystrokes/commands
Else
The peer denied the request, so notify the remote
management master process of failure.
Remote Management Receive Data Action
We (the slave) received data from the remote management master.
Pass the received data to the remote management slave process.
This is typically keystroke data received from the remote user
interface.
Remote Management Transmit Data Action
We (the master) received data from the remote management slave.
Pass the received data to the remote management master process.
This is typically screen-updates to be passed to the user
interface.
<span class="grey">Smith Informational [Page 31]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-32" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Remote Management Transmit Data Response Action
We (the slave) received an ack to data we previously sent to the
master. Notify the remote management slave process so that it
can queue further transmissions.
Remote management (Master) start Action
Build a REMOTE_MGMT_REQ start message and send to the far end.
Send a proceeding message to the RM master process.
Remote management (Slave) data Action
Build a REMOTE_MGMT_TX_REQ message with the data passed from
the remote management slave process, send it to the far end.
Remote management (Master) data Action
Build a REMOTE_MGMT_RX_REQ message with data passed from the
remote management master process, send it to the far end.
Remote management data acknowledgement Action
Build a REMOTE_MGMT_TX_RSP message and send it so the slave can
send the next block. There is no data associated with this
message.
Remote management (Master) stop Action
Build a REMOTE_MGMT_REQ stop message and send to the far end.
<span class="h4"><a class="selflink" id="section-3.5.3" href="#section-3.5.3">3.5.3</a>. MP+STATE_INITIAL state machine</span>
All sessions start from this state, sub-state A. The state is not
exited until version exchange succeeds.
The sub-states are:
A Initial state
B Sent version request, waiting for version response.
C Waiting for version request.
<span class="grey">Smith Informational [Page 32]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-33" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Event Sub-state
______________________________________________________________________
A B C
======================================================================
MP+START_SESSION 1,+ ** **
______________________________________________________________________
MP+SESSION_DOWN ** 2,Initial:A 2,Initial:A
______________________________________________________________________
MP+SESSION_TERM ** 3,Initial:A 3,Initial:A
______________________________________________________________________
MP+TIMER_EXPIRED ** 4,Initial:A 7,Initial:B
______________________________________________________________________
MP+RX_VERSION_REQ ** 8,Initial:A 5,+
______________________________________________________________________
MP+RX_VERSION_RSP ** 6,+ **
______________________________________________________________________
MP+START_RM 9,* 9,* 9,*
______________________________________________________________________
All other events ** ** **
______________________________________________________________________
Table 2: Initial State Machine
Actions:
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a> Start timer, 60 seconds if originator, 30 seconds if answerer.</span>
Start MP+
If originator
Build and send version exchange request
Go to INITIAL, sub-state B.
Go to INITIAL, sub-state C.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a> Do </span>Error Close Action, go to INITIAL, sub-state A.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a> Do </span>Term Action, go to INITIAL, sub-state A.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a> Do </span>Error Close Action, go to INITIAL, sub-state A.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a> Stop the idle timer.</span>
Compare protocol versions, if they do not match Do Error Close
Action, go to INITIAL, sub-state A.
<span class="grey">Smith Informational [Page 33]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-34" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Store off info received from remote.
Build a version exchange response and send to remote end.
Do Enter Idle Action which causes a state change.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a> Stop the retry timer.</span>
Compare protocol versions, if they do not match Do Error Close
Action, go to INITIAL, sub-state A.
Store off info received from remote.
Check the base channel count in the callers profile.
If greater than 1
Set the requested bandwidth to the base channel count.
Do Enter Add Caller action which causes a state change.
Do Enter Idle Action which causes a state change.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a> Both sides think they are the answerer. This is possible if both</span>
<span class="h2"> dial each other at the same time and the first channel that</span>
completed PPP negotiation happened to be the channel associated
with the incoming call on both units. We resolve this by trying
to become the originator.
If both sides try to become the originator the one with the
largest endpoint discriminator will fall back to being the
answerer.
Restart Idle timer at 60 seconds
Build and send Version Exchange Request message
Go to Initial:B
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a> Both sides think they are the originator. This can happen if</span>
<span class="h2"> both dial each other at the same time and the first channel</span>
that completed PPP negotiation happened to be the channel
associated with the originating call on both units. MP+
determines which will be the caller and which the answerer by
comparing the endpoind discriminator in the version exchange
request with the local endpoint discriminator. The unit with
the smaller endpoint is arbitrarily called the originator. The
actions are:
<span class="grey">Smith Informational [Page 34]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-35" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Compare local endpoint discriminator with endpoint discrimator
in message.
If local endpoint discriminator is less than the remote value
we are the caller, ignore the incoming message.
Otherwise, if local endpoint discriminator is greater than the
remote value we are the answerer:
Compare protocol versions, if they do not match
Do Error Close Action, go to INITIAL, sub-state A.
Store off info received from remote.
Build a version exchange response and send to remote end.
Do Enter Idle Action which causes a state change.
If the two values match, there is a problem, Do Error Close
Action,go to INITIAL, sub-state A.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a> Log an error message.</span>
<span class="h2"> Notify the user interface of remote management failure.</span>
<span class="h4"><a class="selflink" id="section-3.5.4" href="#section-3.5.4">3.5.4</a>. MP+STATE_IDLE state machine</span>
The Idle state is the state of an active session with no call
management activity in progress.
There are no sub-states.
Event State
_____________________________________________
A
=============================================
MP+SESSION_DOWN 1,Initial:A
_____________________________________________
MP+SESSION_TERM 2,Initial:A
_____________________________________________
MP+TIMER_EXPIRED 3,*
_____________________________________________
MP+UTILIZATION 4,+
_____________________________________________
MP+RX_ADD_REQ 5,+
_____________________________________________
MP+RX_REMOVE_REQ 6,Remove:B
_____________________________________________
MP+RX_RM_REQ 7,+
<span class="grey">Smith Informational [Page 35]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-36" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
_____________________________________________
MP+RX_RM_RSP 8,+
_____________________________________________
MP+RX_RM_RX_REQ 9,+
_____________________________________________
MP+RX_RM_TX_REQ 10,+
_____________________________________________
MP+RX_RM_TX_RSP 11,+
_____________________________________________
MP+RX_CLOSE_REQ 12,+
_____________________________________________
MP+START_RM 13,*
_____________________________________________
MP+SEND_RMS 14,*
_____________________________________________
MP+SEND_RMM 15,*
_____________________________________________
MP+RECV_RMM 16,*
_____________________________________________
MP+STOP_RM 17,*
_____________________________________________
All other events **
_____________________________________________
Table 3: Idle State Machine
Actions:
1 Do Error Close Action, go to INITIAL, sub-state A.
2 Do Term Action, go to INITIAL, sub-state A.
3 Do Timer Action.
4 Note that a bandwidth change has been reqested.
Do Enter Idle Action which may cause a state change.
5 If we are the caller:
Do Enter Add [remote answerer] Action.
Else
Do Enter Add [remote caller] Action.
6 Do Enter Remove [remote] Action
7 Do Remote Management Request Action
8 Do Remote Management Response Action
<span class="grey">Smith Informational [Page 36]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-37" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
9 Do Remote Management Receive Data Action
10 Do Remote Management Transmit Data Action
11 Do Remote Management Transmit Data Response Action
12 Clear remove lock.
If local recommended channels == 0, then:
send a Close Response message with OK To Close
set to TRUE.
Else
send a Close Response message with OK To Close
set to FALSE.
Do Enter Idle Action.
13 Do Remote management (Master) start Action
14 Do Remote management (Slave) data Action
15 Do Remote management (Master) data Action
16 Do Remote management data acknowledgement Action
17 Do Remote management (Master) stop Action
<span class="h4"><a class="selflink" id="section-3.5.5" href="#section-3.5.5">3.5.5</a>. MP+STATE_ADD state machine</span>
The add state is used by both caller and answerer when an add
transaction is in progress.
The sub-states are:
A Add request sent to answerer, waiting for add response
from the answerer.
B Caller waiting for call complete notification for calls
placed.
C Answerer waiting for add complete message from caller.
<span class="grey">Smith Informational [Page 37]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-38" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Event Sub-state
______________________________________________________________________
A B C
======================================================================
MP+SESSION_DOWN 1,Initial:A 7,Closing:A 1,Initial:A
______________________________________________________________________
MP+SESSION_TERM 2,Initial:A 7,Closing:B 2,Initial:A
______________________________________________________________________
MP+TIMER_EXPIRED 3,+ 3,+ 3,+
______________________________________________________________________
MP+UTILIZATION 4,* 4,* 4,*
______________________________________________________________________
MP+CALL_COMPLETE ** 8,Idle:A **
______________________________________________________________________
MP+RX_VERSION_REQ -,* ** **
______________________________________________________________________
MP+ADD_REQ 5,Add:B ** **
______________________________________________________________________
MP+ADD_RSP 6,+ ** **
______________________________________________________________________
MP+ADD_COMP ** ** 9,Idle:A
______________________________________________________________________
MP+RX_RM_REQ 10,+ 10,+ 10,+
______________________________________________________________________
MP+RX_RM_RSP 11,+ 11,+ 11,+
______________________________________________________________________
MP+RX_RM_RX_REQ 12,+ 12,+ 12,+
______________________________________________________________________
MP+RX_RM_TX_REQ 13,+ 13,+ 13,+
______________________________________________________________________
MP+RX_RM_TX_RSP 14,+ 14,+ 14,+
______________________________________________________________________
MP+RX_REMOVE_REQ -,* ** **
______________________________________________________________________
MP+START_RM 15,* 15,* 15,*
______________________________________________________________________
MP+SEND_RMS 16,* 16,* 16,*
______________________________________________________________________
MP+SEND_RMM 17,* 17,* 17,*
______________________________________________________________________
MP+RECV_RMM 18,* 18,* 18,*
______________________________________________________________________
MP+STOP_RM 19,* 19,* 19,*
______________________________________________________________________
All other events ** ** **
______________________________________________________________________
Table 4: Add State Machine
<span class="grey">Smith Informational [Page 38]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-39" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Actions:
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a> Phone numbers (may) have been reserved, they must be released</span>
<span class="h2"> before the normal error processing occurs.</span>
Release all reserved phone numbers
Do Error Close Action.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a> Phone nubmers (may) have been reserved, they must be released</span>
<span class="h2"> before the normal close processing occurs.</span>
Release all reserved phone numbers
Do Term Action.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a> Do </span>Timer Action
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a> Note that a bandwidth change has been reqested. This will be</span>
<span class="h2"> processed the next time IDLE state is entered.</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a> An add collision has occured. </span>Since the answerer has sent phone
numbers we will try to use what he as sent, within the limits of
the local system.
Compare local channels to add with current channels to
add.
If the local channels to add is less than the remote
channels to add
If the remote number of channels requested will
put us over the maximum number of channels
allowed for the session reduce the channel count
and set an add lock.
Re-reserve the channels. If the number reserved
are less than the number of phone numbers
provided by the far end, set an add lock and
reduce the number of channels to add to what we
could reserve.
Now treat the remote add request as if it were an add
response and process by:
Integrate the phone number returned from the
answerer with the original phone number dialed.
<span class="grey">Smith Informational [Page 39]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-40" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Request that a session be extended by dialing
the integrated phone number. A callback is
passed with the request so call success or
failure can be reported back to MP+.
Go to ADD:B. Note: This change must actually
occur before requesting the first outgoing call.
If not, the callback could be called (and
ignored) because the session is not in the
correct state.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a> If the answerer provided fewer phone numbers than requested set</span>
<span class="h2"> an add lock.</span>
If the number of channels is zero send an add complete message
(there's nothing to do) and go to the IDLE state.
For each phone number returned
Integrate the phone number returned from the answerer
with the original phone number dialed.
Request that a session be extended by dialing the
integrated phone number. A callback is passed with the
request so call success or failure can be reported back
to MP+.
Go to ADD:B. Note: This change must actually occur before
requesting the first outgoing call. If not, the callback could
be called (and ignored) because the session is not in the correct
state.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a> Restart idle timer for abort.</span>
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a> Increment the count of calls completed.</span>
If the call succeeded, increment the count of calls that
succeeded.
If the count of calls completed equals the number of calls placed
If number of calls completed is not the same as the
nubmer that succeeded set an add lock.
Build an add complete message and send it to the far end.
If at least one channel was added clear any remove lock.
<span class="grey">Smith Informational [Page 40]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-41" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Go to the IDLE state.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a> If number of channels requested not equal to number connected</span>
<span class="h2"> set add lock.</span>
If at least one channel was added clear any remove lock.
Go to the IDLE state.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a> Do Remote Management Request Action</span>
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a> Do Remote Management Response Action</span>
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a> Do Remote Management Receive Data Action</span>
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a> Do Remote Management Transmit Data Action</span>
<span class="h2"><a class="selflink" id="section-14" href="#section-14">14</a> Do Remote Management Transmit Data Response Action</span>
<span class="h2"><a class="selflink" id="section-15" href="#section-15">15</a> Do Remote management (Master) start Action</span>
<span class="h2"><a class="selflink" id="section-16" href="#section-16">16</a> Do Remote management (Slave) data Action</span>
<span class="h2"><a class="selflink" id="section-17" href="#section-17">17</a> Do Remote management (Master) data Action</span>
<span class="h2"><a class="selflink" id="section-18" href="#section-18">18</a> Do Remote management data acknowledgement Action</span>
<span class="h2"><a class="selflink" id="section-19" href="#section-19">19</a> Do Remote management (Master) stop Action</span>
<span class="h4"><a class="selflink" id="section-3.5.6" href="#section-3.5.6">3.5.6</a>. MP+STATE_REMOVE state machine</span>
The state of a session while processing a remove transaction.
The sub-states are:
A Remove request sent, waiting for remove response
B Remove response sent, waiting for remove complete
<span class="grey">Smith Informational [Page 41]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-42" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Event Sub-state
_________________________________________________________
A B
=========================================================
MP+SESSION_DOWN 1,Initial:A 1,Initial:A
_________________________________________________________
MP+SESSION_TERM 2,Initial:A 2,Initial:A
_________________________________________________________
MP+TIMER_EXPIRED 3,+ 3,+
_________________________________________________________
MP+UTILIZATION 4,* 4,*
_________________________________________________________
MP+RX_ADD_REQ 5,+ **
_________________________________________________________
MP+RX_REMOVE_REQ 6,+ **
_________________________________________________________
MP+RX_REMOVE_RSP 7,Idle:A **
_________________________________________________________
MP+RX_REMOVE_COMP ** 8,Idle:A
_________________________________________________________
MP+RX_CLOSE_REQ -,* **
_________________________________________________________
MP+RX_RM_REQ 9,* 9,*
_________________________________________________________
MP+RX_RM_RSP 10,* 10,*
_________________________________________________________
MP+RX_RM_RX_REQ 11,* 11,*
_________________________________________________________
MP+RX_RM_TX_REQ 12,* 12,*
_________________________________________________________
MP+RX_RM_TX_RSP 13,* 13,*
_________________________________________________________
MP+START_RM 14,* 14,*
_________________________________________________________
MP+SEND_RMS 15,* 15,*
_________________________________________________________
MP+SEND_RMM 16,* 16,*
_________________________________________________________
MP+RECV_RMM 17,* 17,*
_________________________________________________________
MP+STOP_RM 18,* 18,*
_________________________________________________________
All other events ** **
_________________________________________________________
Table 5: Remove State Machine
<span class="grey">Smith Informational [Page 42]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-43" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
Actions:
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a> Do </span>Error Close Action
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a> Do </span>Term Action
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a> Do </span>Timer Action
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a> Note that a bandwidth change has been reqested. This will be</span>
<span class="h2"> processed the next time IDLE state is entered.</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a> Our remove conflicted with the remote end Add. </span>The add takes
preference.
Set a remove lock.
If we are the caller Do Enter Add [remote answerer] Action .
Otherwise Do Enter Add [remote caller] Action .
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a> Two remove requests collided. </span>We give preference to the caller
(an arbitrary decision).
If caller, ignore message.
Else
Check maximum number of channels needed by the local end.
Reduce the requested remove count and set a remove lock if
necessary.
Build and send a remove response to the remote.
Go to Remove:B.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a> Compare the number of channels requested with the number allowed</span>
<span class="h2"> in the response. If fewer allowed set a remove lock.</span>
Look at the current bandwidth. If the number to remove would
bring the current bendwidth below requirements reduce the number
of channels to remove.
If still channels to remove:
Remove the channels.
Clear any add lock.
Send a remove complete indicating the number of channels removed.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a> If at least one channel was removed clear any add lock.</span>
<span class="grey">Smith Informational [Page 43]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-44" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a> Do Remote Management Request Action</span>
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a> Do Remote Management Response Action</span>
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a> Do Remote Management Receive Data Action</span>
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a> Do Remote Management Transmit Data Action</span>
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a> Do Remote Management Transmit Data Response Action</span>
<span class="h2"><a class="selflink" id="section-14" href="#section-14">14</a> Do Remote management (Master) start Action</span>
<span class="h2"><a class="selflink" id="section-15" href="#section-15">15</a> Do Remote management (Slave) data Action</span>
<span class="h2"><a class="selflink" id="section-16" href="#section-16">16</a> Do Remote management (Master) data Action</span>
<span class="h2"><a class="selflink" id="section-17" href="#section-17">17</a> Do Remote management data acknowledgement Action</span>
<span class="h2"><a class="selflink" id="section-18" href="#section-18">18</a> Do Remote management (Master) stop Action</span>
<span class="h4"><a class="selflink" id="section-3.5.7" href="#section-3.5.7">3.5.7</a>. MP+STATE_CLOSE state machine</span>
The close state is used when we are gracefully closing a session or
when we were notified that a session terminated mid-transaction.
The sub-states are:
A Waiting for call complete after session down notification
B Waiting for call complete after session terminate
notification.
C Waiting for close response after session close request
sent.
Event Sub-state
______________________________________________________________________
A B C
======================================================================
MP+SESSION_DOWN ** -,* 7,Initial:A
______________________________________________________________________
MP+SESSION_TERM 1,Close:B ** 8,Initial:A
______________________________________________________________________
MP+TIMER_EXPIRED 2,Initial:A 5,Initial:A 6,*
______________________________________________________________________
MP+UTILIZATION -,* -,* 9,*
______________________________________________________________________
MP+CALL_COMPLETE 3,+ 6,Initial:A **
______________________________________________________________________
MP+ADD_REQ ** -,* 10,+
<span class="grey">Smith Informational [Page 44]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-45" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
______________________________________________________________________
MP+REMOVE_REQ ** ** 11,Remove:B
______________________________________________________________________
MP+CLOSE_REQ -,* -,* 12,*
______________________________________________________________________
MP+CLOSE_RSP -,* -,* 13,+
______________________________________________________________________
MP+START_RM 4,* 4,* 4,*
______________________________________________________________________
All other events ** ** **
______________________________________________________________________
Table 6: Close State Machine
Actions:
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a> The session was closed while waiting for call completes.</span>
<span class="h2"> Just go to Close:B.</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a> We timed out waiting for completes. </span>Just process the link down,
now.
Do Error Close Action.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a> Increment the number of calls complete.</span>
If equal to the number of calls placed then:
Do Error Close Action, go to Initial:A.
Else
No state change.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a> Log an error message.</span>
<span class="h2"> Notify the user interface of remote management failure.</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a> We didn't get all the notifications that we expect. </span>Give up and
close the session anyway. Do Term Action .
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a> Increment the number of calls complete.</span>
If equal to the number of calls placed then:
Do Term Action, go to Initial:A.
Else
No state change
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a> Do Error Close Action</span>
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a> Do Term Action</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a> Note that a bandwidth change has been reqested. This will be</span>
<span class="grey">Smith Informational [Page 45]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-46" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
processed the next time IDLE state is entered.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a> This is an Add & Close collision. Add wins. Perform current</span>
<span class="h2"> remote add action.</span>
If we are originator
Do Add [Remote Answerer] Action
else
Do Add [Remote Caller] Action
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a> This is a Remove & Close collision, the Remove will win:</span>
<span class="h2"> Set remove lock to FALSE</span>
Do Remove [Remote] Action.
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a> This is a Close collision. But since we both agree:</span>
<span class="h2"> If we are originator</span>
Send a Close Response with okToClose set to TRUE.
Else
Send a Close Response with okToClose set to FALSE.
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a> If Close Response is received with okToClear is TRUE then:</span>
<span class="h2"> Do Term Action</span>
Else
set remove lock to TRUE and do Enter Idle Action.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. PPP LCP Extensions</span>
MP+ Configuration Option
The Multilink Protocol Plus introduces the use of an additional LCP
Configuration Option:
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| type = 22 | length = 4 | Currently unused |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 21: MP+ Option
Type - 22.
NOTE: The current implementation uses option 0. This is not an
assigned number, so an IANA assigned official identifier has been
obtained (22).
The option, when sent to a peer, advises the peer that:
the unit is capable of running the MP+ protocol;
<span class="grey">Smith Informational [Page 46]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-47" ></span>
<span class="grey"><a href="./rfc1934">RFC 1934</a> Multilink Protocol Plus April 1996</span>
The peer can accept or reject the option.
NOTE: The MP+ option MUST NOT be included unless MP is also
negotiated.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Security Considerations</span>
Security issues are not discussed in this memo.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. References</span>
[<a id="ref-1">1</a>] K. Sklower, B. Lloyd, G. McGregor, D. Carr, "The PPP Multilink
Protocol (MP)".
[<a id="ref-2">2</a>] Simpson, W., Editor, "The Point-to-Point Protocol (PPP)", STD
51, <a href="./rfc1661">RFC 1661</a>, Daydreamer, July 1994.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Author's Address</span>
Kevin Smith
Ascend Communications
1275 Harbor Bay Parkway
Alameda, CA 94502
Phone: (510) 769-6001
FAX: (510) 814-2300
EMail: ksmith@ascend.com
Smith Informational [Page 47]
</pre>
|